<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:10:50 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-1100] Move Due Date Logic from UICHKOUT-25 and UICHKOUT-66 to the Server</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1100</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;As I understand it, we have implemented the logic for calculating due date based on loan policy in the UI.  We need to move that to the back end so that the logic can be used in other systems such as self check machines which will integrate with FOLIO via API.&lt;/p&gt;

&lt;p&gt;See 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICHKOUT-25&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKOUT-25&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Get Rolling Loan Period from Loan Policy&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UICHKOUT-25
        &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-66&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKOUT-66&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Get Fixed Loan Period from Loan Policy&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UICHKOUT-66
        &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;
 for details on the logic.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80625">FOLIO-1100</key>
            <summary>Move Due Date Logic from UICHKOUT-25 and UICHKOUT-66 to the Server</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</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="63e2a2771b13d42998e4e706">Marc Johnson</assignee>
                                                                <reporter accountid="5af5ed55244bc90a106063c7">Cate Boerema</reporter>
                                    <labels>
                            <label>core</label>
                            <label>sprint33</label>
                            <label>sprint34</label>
                            <label>sprint35</label>
                            <label>sprint36</label>
                            <label>sprint37</label>
                            <label>sprint38</label>
                            <label>sprint39</label>
                            <label>sprint40</label>
                            <label>sprint41</label>
                            <label>sprint42</label>
                    </labels>
                <created>Fri, 2 Mar 2018 13:08:49 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:11 +0000</updated>
                            <resolved>Mon, 9 Jul 2018 15:53:37 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="189796" author="5af5ed55244bc90a106063c7" created="Fri, 2 Mar 2018 13:09:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt;, I created this based on our conversation but I didn&apos;t know which project it should go in.  I think it&apos;s a pretty high priority.&lt;/p&gt;</comment>
                                                            <comment id="189799" author="557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0" created="Mon, 5 Mar 2018 15:02:50 +0000"  >&lt;p&gt;Hey everyone here are the current API calls we use in order to perform a checkout:&lt;/p&gt;

&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;No.&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Name&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;API endpoint&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;1.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetchItemByBarcode&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;GET inventory/items?query=(barcode==BARCODE)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetch item by barcode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;checkForLoan&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;GET circulation/loans?query=(itemId==ITEM_ID and status.name&amp;lt;&amp;gt;&quot;Closed&quot;)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;check if loan already exists for the given item id&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;3.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetchLoanPolicyId&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;GET circulation/loan-rules/apply&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetch loan policy id by: shelving_location_id, item_type_id, loan_type_id, patron_type_id&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;4.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetchLoanPolicy&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;GET loan-policy-storage/loan-policies?query=(id==LOAN_POLICY_ID)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetch loan policy by loan policy id&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;5.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetchFixedDueDateSchedules&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;GET fixed-due-date-schedule-storage/fixed-due-date-schedules?query=(id==FIXED_DUE_DATE_SCHEDULE_ID)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;fetch fixed due date schedule for given schedule id&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;6.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;validateFixedDueSchedule&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No call&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Validate fixedDueDateSchedule on the client&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;7.&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;postLoan&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;POST circulation/loans&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;creates new loan&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</comment>
                                                            <comment id="189802" author="63e2a2771b13d42998e4e706" created="Thu, 29 Mar 2018 12:50:29 +0000"  >&lt;p&gt;I&apos;ve tried to consolidate the list of validation checks that we want the backend to perform upon checkout, to try to reflect my current understanding of the scope for 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;CIRC-74&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/CIRC-74&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Create a loan using item and patron barcodes&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            CIRC-74
        &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;/p&gt;

&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Check&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Exists in Front End&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Exists in Backend&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Item exists&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Holding exists&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;otherwise it is not possible to lookup loan rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Item is not already checked out&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No other checked out loan&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Proxy relationship needs to be valid&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;only if proxy is involved&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;User must be requesting user&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;if there is an outstanding fulfillable request for item&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Loan must have a status of Open or Closed&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Yes&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;User needs to be active and not expired&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Proxy needs to be active and not expired&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;No&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;only if proxy is involved&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;The only logic that I think we are moving is the due date calculation for check-out (and renewal, in 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-1101&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-1101&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Move Renewal Due Date Logic to the Server&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10307?size=medium&quot; /&gt;
            FOLIO-1101
        &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;
), is that correct? &lt;/p&gt;

&lt;p&gt;And this is either based upon the fixed due date schedule (
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICHKOUT-66&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKOUT-66&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Get Fixed Loan Period from Loan Policy&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UICHKOUT-66
        &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;
) or the loan period (
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICHKOUT-25&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICHKOUT-25&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Get Rolling Loan Period from Loan Policy&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UICHKOUT-25
        &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;/p&gt;

&lt;p&gt;Does that cover all of the existing checks that we want to consolidate, as part of 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;CIRC-74&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/CIRC-74&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Create a loan using item and patron barcodes&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            CIRC-74
        &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;/p&gt;</comment>
                                                            <comment id="189805" author="63e2a2771b13d42998e4e706" created="Wed, 11 Apr 2018 15:47:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5ed55244bc90a106063c7&quot; class=&quot;user-hover&quot; rel=&quot;5af5ed55244bc90a106063c7&quot; data-account-id=&quot;5af5ed55244bc90a106063c7&quot; accountid=&quot;5af5ed55244bc90a106063c7&quot; rel=&quot;noreferrer&quot;&gt;Cate Boerema&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;At the moment the UI applies defaults if the loans policy cannot be fully understood (see below for the defaults). &lt;/p&gt;

&lt;p&gt;If the loan policy is not either rolling or fixed, the due date will be 14 days in the future.&lt;/p&gt;

&lt;p&gt;If there is no duration for a rolling period, the duration is set to 10 (for any interval).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; class=&quot;user-hover&quot; rel=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; data-account-id=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; accountid=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; rel=&quot;noreferrer&quot;&gt;Michal Kuklis&lt;/a&gt; This is how I&apos;m interpreting &lt;a href=&quot;https://github.com/folio-org/ui-checkout/blob/master/loanUtil.js&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/ui-checkout/blob/master/loanUtil.js&lt;/a&gt; please let me know if this does not match your understanding.&lt;/p&gt;</comment>
                                                            <comment id="189807" author="5af5ed55244bc90a106063c7" created="Wed, 11 Apr 2018 16:05:40 +0000"  >&lt;blockquote&gt;&lt;p&gt;If the loan policy is not either rolling or fixed, the due date will be 14 days in the future.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We have decided to remove the &quot;indefinite&quot; loan profile for now (see 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-1178&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-1178&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Loan Policy = Indefinite (Discussion)&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10307?size=medium&quot; /&gt;
            FOLIO-1178
        &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;
).  I will write up a user story for that so we no longer have to worry about this scenario.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If there is no duration for a rolling period, the duration is set to 10 (for any interval).&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;According to UIS-13 and the &lt;a href=&quot;https://docs.google.com/spreadsheets/d/1f8kX2mGub3ARPml4x3Ejaq1UsBeGP3xxLWbVk_DTgqg/edit#gid=0&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;loan policy metadata spreadsheet&lt;/a&gt;, loan duration is required for rolling loans.  Can someone file a bug to get that fixed?&lt;/p&gt;</comment>
                                                            <comment id="189809" author="63e2a2771b13d42998e4e706" created="Wed, 11 Apr 2018 16:18:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5ed55244bc90a106063c7&quot; class=&quot;user-hover&quot; rel=&quot;5af5ed55244bc90a106063c7&quot; data-account-id=&quot;5af5ed55244bc90a106063c7&quot; accountid=&quot;5af5ed55244bc90a106063c7&quot; rel=&quot;noreferrer&quot;&gt;Cate Boerema&lt;/a&gt; Thanks for the quick answer. Apologies, I may have caused some confusion.&lt;/p&gt;

&lt;p&gt;I wasn&apos;t suggesting there was a bug with loan policies (and I&apos;m not aware of one, I think the code in UI Check out is just being defensive).&lt;/p&gt;

&lt;p&gt;Based upon your answers, the expected behaviour (and these scenarios should not occur, due to validation), that if a loans policy cannot be properly understood (e.g. not rolling or fixed, or a rolling period with no interval or unknown duration) then an error should be reported?&lt;/p&gt;

&lt;p&gt;Would situations like a duration of zero also cause an error?&lt;/p&gt;</comment>
                                                            <comment id="189811" author="557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0" created="Wed, 11 Apr 2018 16:39:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63e2a2771b13d42998e4e706&quot; class=&quot;user-hover&quot; rel=&quot;63e2a2771b13d42998e4e706&quot; data-account-id=&quot;63e2a2771b13d42998e4e706&quot; accountid=&quot;63e2a2771b13d42998e4e706&quot; rel=&quot;noreferrer&quot;&gt;Marc Johnson&lt;/a&gt; that 14 day rule is old (before we had policies in place). Iif we can get rid of the Indefinite loan profile in &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-1178&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/FOLIO-1178&lt;/a&gt; then I think we can assume that loan profile will be always set to either Fixed or Rolling. &lt;/p&gt;</comment>
                                                            <comment id="189812" author="5af5ed55244bc90a106063c7" created="Thu, 12 Apr 2018 08:30:51 +0000"  >&lt;p&gt;Filed a story to get rid of Indefinite: 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UICIRC-55&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UICIRC-55&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Loan Policy: Remove &amp;quot;Indefinite&amp;quot; Loan Profile&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UICIRC-55
        &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;/p&gt;</comment>
                                                            <comment id="189814" author="5af5ed55244bc90a106063c7" created="Thu, 12 Apr 2018 08:35:36 +0000"  >&lt;blockquote&gt;&lt;p&gt;Would situations like a duration of zero also cause an error?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Not sure why users would ever want to set up a policy with a loan period of zero, so I think it&apos;s a real edge case.  I seem to recall there was a technical reason why it was implemented the way it was (where there is a number populated by default instead of a blank field with required validation).  Anyway, I don&apos;t think this would cause an error, necessarily...  &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; class=&quot;user-hover&quot; rel=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; data-account-id=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; accountid=&quot;557058:ff6a9612-bb35-41b2-88a8-a5b66d0a41a0&quot; rel=&quot;noreferrer&quot;&gt;Michal Kuklis&lt;/a&gt;, what do you think?&lt;/p&gt;</comment>
                                                            <comment id="189816" author="63e2a2771b13d42998e4e706" created="Wed, 27 Jun 2018 16:41:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5ed55244bc90a106063c7&quot; class=&quot;user-hover&quot; rel=&quot;5af5ed55244bc90a106063c7&quot; data-account-id=&quot;5af5ed55244bc90a106063c7&quot; accountid=&quot;5af5ed55244bc90a106063c7&quot; rel=&quot;noreferrer&quot;&gt;Cate Boerema&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt; Can this be closed now, as we have the check out API in place and the UI is using it? And any new policies we want to apply can be represented in separate issues?&lt;/p&gt;</comment>
                                                            <comment id="189818" author="63e2a2771b13d42998e4e706" created="Mon, 9 Jul 2018 15:53:37 +0000"  >&lt;p&gt;Closing as I believe all of the work needed is complete&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="65109">UICHKOUT-407</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="47157">CIRC-74</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10001">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                        <issuelink>
            <issuekey id="80627">FOLIO-1101</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="65109">UICHKOUT-407</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47216">CIRC-110</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58495">UICIRC-55</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65153">UICHKOUT-428</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="65079">UICHKOUT-25</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65130">UICHKOUT-66</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10271">UXPROD-273</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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzyc3z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10108" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Tester Assignee</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>557058:e5a7d8ca-61a5-45e4-bae3-7dfdf81d2fe4</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Mar 2018 15:02:50 +0000</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>