<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:31:20 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-3861] OkapiCLI.py doesn&apos;t support DELETE request with body</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3861</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;OkapiCLI.py doesn&apos;t support DELETE request with body&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Install OkapiCLI.py from &lt;a href=&quot;https://gitlab.lrz.de/bib-public/okapiclient&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gitlab.lrz.de/bib-public/okapiclient&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;python3 /home/mellman/w/gitlab/okapiclient/OkapiCLI.py --url &lt;a href=&quot;https://tum2-nolana.folio.bib-bvb.de/okapi&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tum2-nolana.folio.bib-bvb.de/okapi&lt;/a&gt; --username admin --password password --tenant tum2 --insecure --verbose raw --rawpath &apos;inventory-upsert-hrid&apos; --method delete &#160; hrid-deletion.json&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;instance has been deleted&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Actual Results:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;with the &quot;hrid-deletion.json&quot;, than&#160; some kind of unexpected parameter message.&lt;/li&gt;
	&lt;li&gt;without that filename specification, then an empty-body error&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Additional Information:&lt;/b&gt;&lt;br/&gt;
URL: &lt;a href=&quot;https://gitlab.lrz.de/bib-public/okapiclient&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gitlab.lrz.de/bib-public/okapiclient&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some DELETE APIs require a body: &lt;a href=&quot;https://s3.amazonaws.com/foliodocs/api/mod-inventory-update/r/inventory-update.html#inventory_upsert_hrid_delete&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://s3.amazonaws.com/foliodocs/api/mod-inventory-update/r/inventory-update.html#inventory_upsert_hrid_delete&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OkapiCLI.py&apos;s mechanism, whether to expect a body on stdin, doesn&apos;t work in general, some other way should be considered, see wget --post-data, wget --post-file, curl --data, curl --data-raw, curl --data-binary&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Interested parties:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ee89462f7aa140abd82d11d&quot; class=&quot;user-hover&quot; rel=&quot;5ee89462f7aa140abd82d11d&quot; data-account-id=&quot;5ee89462f7aa140abd82d11d&quot; accountid=&quot;5ee89462f7aa140abd82d11d&quot; rel=&quot;noreferrer&quot;&gt;Julian Ladisch&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="82545">FOLIO-3861</key>
            <summary>OkapiCLI.py doesn&apos;t support DELETE request with body</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="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</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="712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5">Florian Gleixner</assignee>
                                                                <reporter accountid="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a">T. Mellman</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 24 Jul 2023 14:07:47 +0000</created>
                <updated>Thu, 10 Aug 2023 12:04:28 +0000</updated>
                            <resolved>Thu, 10 Aug 2023 12:04:28 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="196303" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Mon, 24 Jul 2023 14:42:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-project.slack.com/archives/CQ7EK52LB/p1688136545312619&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-project.slack.com/archives/CQ7EK52LB/p1688136545312619&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="196304" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Mon, 24 Jul 2023 14:49:07 +0000"  >&lt;p&gt;&lt;tt&gt;monospaced text&lt;/tt&gt;&lt;br/&gt;
==== /h/tmp/mBv78i_OkapiCLI.py OkapiCLI.py ====&lt;br/&gt;
71a72,73&lt;br/&gt;
&amp;gt; rawParser.add_argument(&apos;data&apos;, default = None, nargs = &quot;?&quot;)&lt;br/&gt;
&amp;gt; &lt;br/&gt;
115,117c117,123&lt;br/&gt;
&amp;lt;         if args.method in &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;post&amp;#39;, &amp;#39;put&amp;#39;, &amp;#39;delete&amp;#39;&amp;#93;&lt;/span&gt;:&lt;br/&gt;
&amp;lt;             input_stream = io.TextIOWrapper(sys.stdin.buffer, encoding=&apos;utf-8&apos;)&lt;br/&gt;
&amp;lt;             data = input_stream.read()&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
&amp;gt;         if args.method in &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;post&amp;#39;, &amp;#39;put&amp;#39;&amp;#93;&lt;/span&gt; or args.method == &apos;delete&apos; and args.rawpath in client.delete_with_payload:&lt;br/&gt;
&amp;gt;             if args.data:&lt;br/&gt;
&amp;gt;                 data = open (args.data, &quot;r&quot;, encoding = &quot;utf-8&quot;).read()&lt;br/&gt;
&amp;gt;             else:&lt;br/&gt;
&amp;gt;                 input_stream = io.TextIOWrapper(sys.stdin.buffer, encoding=&apos;utf-8&apos;)&lt;br/&gt;
&amp;gt;                 data = input_stream.read()&lt;br/&gt;
&amp;gt; &lt;br/&gt;
==== /h/tmp/07HOfk_ApiClient.py src/OkapiAPIClient/ApiClient.py ====&lt;br/&gt;
70a71&lt;br/&gt;
&amp;gt;     delete_with_payload = [ &quot;inventory-upsert-hrid&quot; ]&lt;br/&gt;
192c193,196&lt;br/&gt;
&amp;lt;             response = requests.delete(url=url, headers=headers, verify=verify)&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
&amp;gt;             if data:&lt;br/&gt;
&amp;gt;                 response = requests.delete(url=url, headers=headers, verify=verify, data = data)&lt;br/&gt;
&amp;gt;             else:&lt;br/&gt;
&amp;gt;                 response = requests.delete(url=url, headers=headers, verify=verify)&lt;/p&gt;</comment>
                                                            <comment id="196305" author="5af5e627525ba96b58654f12" created="Wed, 26 Jul 2023 05:55:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A3b14ead1-f8b3-4c39-8ab5-75eb02262b0a&quot; class=&quot;user-hover&quot; rel=&quot;712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a&quot; data-account-id=&quot;712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a&quot; accountid=&quot;712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a&quot; rel=&quot;noreferrer&quot;&gt;T. Mellman&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; class=&quot;user-hover&quot; rel=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; data-account-id=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; accountid=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; rel=&quot;noreferrer&quot;&gt;Florian Gleixner&lt;/a&gt; Hi! There&apos;s no summary (title) for this bug and no description. It&apos;s also not assigned to a development team. Could those fields be updated? Thank you!&lt;/p&gt;</comment>
                                                            <comment id="196306" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Thu, 27 Jul 2023 05:27:01 +0000"  >&lt;p&gt;Where do I put the summary?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ee89462f7aa140abd82d11d&quot; class=&quot;user-hover&quot; rel=&quot;5ee89462f7aa140abd82d11d&quot; data-account-id=&quot;5ee89462f7aa140abd82d11d&quot; accountid=&quot;5ee89462f7aa140abd82d11d&quot; rel=&quot;noreferrer&quot;&gt;Julian Ladisch&lt;/a&gt; recommended that I assign it to &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; class=&quot;user-hover&quot; rel=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; data-account-id=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; accountid=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; rel=&quot;noreferrer&quot;&gt;Florian Gleixner&lt;/a&gt;.&#160; Is that the developement team that you mean?&#160; How do I find his development team, and where do I put it?&lt;/p&gt;</comment>
                                                            <comment id="196307" author="5af5e627525ba96b58654f12" created="Thu, 27 Jul 2023 06:08:01 +0000"  >&lt;p&gt;Hi there! The Summary is the title of the Jira (which currently reads &quot;Standard Bug Write-up Format&quot; - just click in that area at the top of the Jira, and it wil turn into an editable field. Then just assign that default text to a more descriptive title for the Jira.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; class=&quot;user-hover&quot; rel=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; data-account-id=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; accountid=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; rel=&quot;noreferrer&quot;&gt;Florian Gleixner&lt;/a&gt; is a member of one of the dev teams or not. For now, I&apos;ll just assign the team as &quot;Other dev,&quot; and someone can reassign if it should go to a more specific team. Thank you!&lt;/p&gt;</comment>
                                                            <comment id="196308" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Thu, 27 Jul 2023 06:46:04 +0000"  >&lt;p&gt;Thank you for your support.&lt;/p&gt;

&lt;p&gt;When I click on &quot;Standard Bug Write-up Format&quot;, I get what looks like the full description dialog, but it says I don&apos;t have permissions to modify the template.&#160; Before I can even try, the screen goes dark and I&apos;m ushered into some tunnel about system and user variables.&#160; I&apos;m lost.&lt;/p&gt;

&lt;p&gt;Thank you for managing the dev teams for me.&lt;/p&gt;</comment>
                                                            <comment id="196309" author="712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5" created="Thu, 27 Jul 2023 11:38:53 +0000"  >&lt;p&gt;Can you check the latest version / commit from yesterday? Does it solve the problems?&lt;/p&gt;</comment>
                                                            <comment id="196310" author="5ee89462f7aa140abd82d11d" created="Thu, 27 Jul 2023 11:52:29 +0000"  >&lt;p&gt;The help section neither shows --data nor --file: &lt;a href=&quot;https://gitlab.lrz.de/bib-public/okapiclient#help&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gitlab.lrz.de/bib-public/okapiclient#help&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="196311" author="712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5" created="Thu, 10 Aug 2023 12:03:36 +0000"  >&lt;p&gt;It is only avalible in the raw module, and help for the raw module can be shown using:&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;
./OkapiCLI.py raw --help&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="196312" author="712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5" created="Thu, 10 Aug 2023 12:04:28 +0000"  >&lt;p&gt;Fixed in 0.0.5&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="64475" name="ApiClient.py" size="9199" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Mon, 24 Jul 2023 14:12:50 +0000"/>
                            <attachment id="64476" name="OkapiCLI.py" size="8005" author="712020:3b14ead1-f8b3-4c39-8ab5-75eb02262b0a" created="Mon, 24 Jul 2023 14:12:34 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_10119" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Affected releases</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10447"><![CDATA[Nolana (R3 2022)]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10048" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Analysis Estimate</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10086"><![CDATA[Very Small (VS) < 1day]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10049" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Analysis Estimator</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <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="10170"><![CDATA[Other dev]]></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_10045" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Potential Workaround</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;a href=&quot;https://folio-project.slack.com/archives/CQ7EK52LB/p1688136545312619&quot;&gt;https://folio-project.slack.com/archives/CQ7EK52LB/p1688136545312619&lt;/a&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i07k7k:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Jul 2023 05:55: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>