<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:26:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3208] UI modules do not always supply ISO-8601 dates in API requests</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3208</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt; UI modules do not supply ISO-8601 dates if the tenant-locale is &lt;tt&gt;ar&lt;/tt&gt; (Arabic).&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Details:&lt;/b&gt; As noted on Slack, &lt;a href=&quot;https://folio-project.slack.com/archives/C210RP0T1/p1623837860121100&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;UI apps supply Eastern Arabic numerals in API requests when the tenant API is set to &lt;tt&gt;ar&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Log into folio-snapshot as a user with permission to (a) check out items and (b) use developer tools to change the session locale&lt;/li&gt;
	&lt;li&gt;Visit Settings &amp;gt; Developer &amp;gt; Session locale and change the session locale to Arabic&lt;/li&gt;
	&lt;li&gt;Visit Check out and attempt to charge any item to any active user&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt; Successful check out&lt;br/&gt;
 &lt;b&gt;Actual Results:&lt;/b&gt; Failed checkout due to a 500 from &lt;tt&gt;circulation/check-out-by-barcode&lt;/tt&gt; because of incorrect data in the &lt;tt&gt;loanDate&lt;/tt&gt; field of the POST body:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
POST /circulation/check-out-by-barcode
{
  &lt;span class=&quot;code-quote&quot;&gt;&quot;itemBarcode&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;b612&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;userBarcode&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;789&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;servicePointId&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;7c5abc9f-f3d7-4856-b8d7-6712462ca007&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;loanDate&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;&#1634;&#1632;&#1634;&#1633;-&#1632;&#1638;-&#1633;&#1638;T&#1633;&#1635;:&#1635;&#1632;:&#1634;&#1638;Z&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;02b850d2-9a7b-4ece-b352-43d8a23b90c1&quot;&lt;/span&gt;
}

Invalid format: &lt;span class=&quot;code-quote&quot;&gt;&quot;&#217;&#162;&#217;&#160;&#217;&#162;&#217;&#161;-&#217;&#160;&#217;&#166;-&#217;&#161;&#217;&#166;T&#217;&#161;&#217;&#163;:&#217;&#163;&#217;&#160;:&#217;&#162;&#217;&#166;Z&quot;&lt;/span&gt;
java.lang.IllegalArgumentException: Invalid format: &lt;span class=&quot;code-quote&quot;&gt;&quot;&#217;&#162;&#217;&#160;&#217;&#162;&#217;&#161;-&#217;&#160;&#217;&#166;-&#217;&#161;&#217;&#166;T&#217;&#161;&#217;&#163;:&#217;&#163;&#217;&#160;:&#217;&#162;&#217;&#166;Z&quot;&lt;/span&gt;
	at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:945)
	at org.joda.time.DateTime.parse(DateTime.java:160)
	at org.joda.time.DateTime.parse(DateTime.java:149)
	at org.folio.circulation.support.json.JsonPropertyFetcher.getDateTimeProperty(JsonPropertyFetcher.java:92)
	at org.folio.circulation.support.json.JsonPropertyFetcher.getDateTimeProperty(JsonPropertyFetcher.java:85)
	at org.folio.circulation.domain.Loan.getLoanDate(Loan.java:247)
	at org.folio.circulation.resources.CheckOutByBarcodeResource.checkOut(CheckOutByBarcodeResource.java:215)
	at org.folio.circulation.resources.CheckOutByBarcodeResource.lambda$checkOut$12(CheckOutByBarcodeResource.java:133)
	at org.folio.circulation.support.results.Result.after(Result.java:252)
	at org.folio.circulation.resources.CheckOutByBarcodeResource.lambda$checkOut$13(CheckOutByBarcodeResource.java:133)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It isn&apos;t clear if this is a problem with how&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;&lt;tt&gt;moment&lt;/tt&gt; is configured in &lt;tt&gt;src/loginServices&lt;/tt&gt;, in which case it&apos;s an STCOR bug&lt;/li&gt;
	&lt;li&gt;timestamps are created in individual apps, e.g. &lt;tt&gt;loanDate: moment().utc().format()&lt;/tt&gt;, in which case it&apos;s a per-app bug and we need to file separate tickets for every instance of &lt;tt&gt;moment()...format()&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;both&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;CC: &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; class=&quot;user-hover&quot; rel=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; data-account-id=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; accountid=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; rel=&quot;noreferrer&quot;&gt;Owen Stephens&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="82201">FOLIO-3208</key>
            <summary>UI modules do not always supply ISO-8601 dates in API requests</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10000" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p1.svg">P1</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="615afd1cd9820f0070a09ef0">Zak Burke</assignee>
                                                                <reporter accountid="615afd1cd9820f0070a09ef0">Zak Burke</reporter>
                                    <labels>
                            <label>i18n</label>
                    </labels>
                <created>Wed, 16 Jun 2021 14:10:25 +0000</created>
                <updated>Wed, 21 Jul 2021 02:45:18 +0000</updated>
                            <resolved>Wed, 21 Jul 2021 02:45:18 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="197784" author="615afd1cd9820f0070a09ef0" created="Wed, 21 Jul 2021 02:45:18 +0000"  >&lt;p&gt;Lots of work farmed out into separate projects here. Of note, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;STCOM-860&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/STCOM-860&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Datepicker should always return Arabic digits given props.backendDateStandard&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            STCOM-860
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICHKIN-272&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKIN-272&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;return dates must be ISO-8601 formatted&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            UICHKIN-272
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
, and 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICHKOUT-732&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKOUT-732&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;loan-date must be ISO-8601 formatted&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            UICHKOUT-732
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 were legit bugs causing non-Arabic/non-Latn numerals to be present in API requests. 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;STCOR-555&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/STCOR-555&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;export available numbering systems&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            STCOR-555
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UITEN-181&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UITEN-181&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Set numbering system independent of locale&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            UITEN-181
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
, and 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UID-89&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UID-89&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;allow users to set numbering system independently of locale&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            UID-89
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 are all just aimed at allowing folks to separate the numeral display (e.g. 0-9) from the locale since some folks using Arabic may not the Arabic-Hindi numerals that are a default for that locale.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="62148">STCOR-555</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68759">UICHKIN-272</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65366">UICHKOUT-732</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71286">UITEN-181</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="55222">STCOM-860</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="77054">UID-89</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10171"><![CDATA[Prokopovych]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx2cf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10046" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Release</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10046"><![CDATA[R3 2021]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1056">Prokopovych - Sprint 117</customfieldvalue>
    <customfieldvalue id="898">Prokopovych - Sprint 119</customfieldvalue>
    <customfieldvalue id="791">Prokopovych - Sprint 118</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>