<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:31:12 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>[MODSET-11] When CQL is rejected, the resulting 400 Bad Request contains no information</title>
                <link>https://folio-org.atlassian.net/browse/MODSET-11</link>
                <project id="10264" key="MODSET">mod-settings</project>
                    <description>&lt;p&gt;Submitting a query like &lt;tt&gt;key==&quot;dbinfo&quot;&lt;/tt&gt; to mod-settings results in rejection &#8212; seeingly because of the double quotes around the query term, see 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;VERTXLIB-53&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/VERTXLIB-53&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;CQL containing double quotes is rejected&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;
            VERTXLIB-53
        &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;
 &#8212; but the problem with parsing is not communicated to the client. The WSAPI request is rejected with HTTP status 400 Bad Request, but there is no meaningful additional information in the content of the response &#8212; only a restatement of the &quot;400 Bad Request&quot; formatted in HTML.&lt;/p&gt;

&lt;p&gt;To reproduce:&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;
$ curl -H &lt;span class=&quot;code-quote&quot;&gt;&apos;X-Okapi-Token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkaWt1X2FkbWluIiwidHlwZSI6ImxlZ2FjeS1hY2Nlc3MiLCJ1c2VyX2lkIjoiZDM0MTUwOWItMDRhNy01ZGZiLWJiMDEtODhhZGQxMTE3MDMyIiwiaWF0IjoxNzAwMjk4NDU5LCJ0ZW5hbnQiOiJkaWt1In0.7Ga1uUpGhIWS8pagOY7Row0w6qvzQo6r23Hz55nMo7g&apos;&lt;/span&gt; -X &lt;span class=&quot;code-quote&quot;&gt;&apos;GET&apos;&lt;/span&gt; -d &lt;span class=&quot;code-quote&quot;&gt;&apos;&apos; -H &apos;&lt;/span&gt;X-Okapi-Tenant: diku&lt;span class=&quot;code-quote&quot;&gt;&apos; &apos;&lt;/span&gt;https:&lt;span class=&quot;code-comment&quot;&gt;//folio-snapshot-okapi.dev.folio.org/ldp/config?query=key==&lt;span class=&quot;code-quote&quot;&gt;&quot;dbinfo&quot;&lt;/span&gt;&apos;
&lt;/span&gt;&amp;lt;!doctype html&amp;gt;&amp;lt;html lang=&lt;span class=&quot;code-quote&quot;&gt;&quot;en&quot;&lt;/span&gt;&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;HTTP Status 400 &#8211; Bad Request&amp;lt;/title&amp;gt;&amp;lt;style type=&lt;span class=&quot;code-quote&quot;&gt;&quot;text/css&quot;&lt;/span&gt;&amp;gt;body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;HTTP Status 400 &#8211; Bad Request&amp;lt;/h1&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="79237">MODSET-11</key>
            <summary>When CQL is rejected, the resulting 400 Bad Request contains no information</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="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="5bffed52a1b46046f530c8f7">Mike Taylor</reporter>
                                    <labels>
                    </labels>
                <created>Sat, 18 Nov 2023 09:11:05 +0000</created>
                <updated>Mon, 20 Nov 2023 17:26:21 +0000</updated>
                            <resolved>Sat, 18 Nov 2023 10:08:26 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="188111" author="5bffed52a1b46046f530c8f7" created="Sat, 18 Nov 2023 10:08:11 +0000"  >&lt;p&gt;Haha, that was total nonsense! I was sending to query to &lt;tt&gt;/ldp/config&lt;/tt&gt;, not &lt;tt&gt;/settings/entries&lt;/tt&gt;! That means the problems were in mod-ldp, not mod-settings &#8212; and mod-ldp does not even claim to support CQL!&lt;/p&gt;

&lt;p&gt;I will close this issues as invalid. Sorry to have wasted everyone&#8217;s time.&lt;/p&gt;




</comment>
                                                            <comment id="188112" author="557058:f80403de-e149-421e-8750-af45c853402f" created="Mon, 20 Nov 2023 17:26:21 +0000"  >&lt;p&gt;No worries  &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="39118">VERTXLIB-53</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="10168"><![CDATA[None]]></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_10106" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA Group</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10367"><![CDATA[TBD]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i08kqo:</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>Mon, 20 Nov 2023 17:26:21 +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>