<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:29:00 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>[MODUSERSKC-7] /users-keycloak/users/SOME_UUID expects wrong &quot;accept&quot; header content-type</title>
                <link>https://folio-org.atlassian.net/browse/MODUSERSKC-7</link>
                <project id="10260" key="MODUSERSKC">mod-users-keycloak</project>
                    <description>&lt;p&gt;&lt;b&gt;Summary:&lt;/b&gt; PUT requests to &lt;tt&gt;/users-keycloak/users/SOME_UUID&lt;/tt&gt;&#160;with the HTTP Request header &lt;tt&gt;accept: text/plain&lt;/tt&gt; fail.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Details:&lt;/b&gt; PUT requests to &lt;tt&gt;/users-keycloak/users/SOME_UUID&lt;/tt&gt;&#160;are rejected with &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;response code 406&lt;/a&gt; unless they contain the HTTP Request header &lt;tt&gt;accept: application/javascript&lt;/tt&gt;, even though the response body is empty. This is inconsistent with other FOLIO APIs which all accept PUT requests with the HTTP request header &lt;tt&gt;accept: text/plain&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;This prevents the UI from being able to save changes to user records.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Make a PUT request with the header &lt;tt&gt;accept: text/plain&lt;/tt&gt;:&lt;/li&gt;
&lt;/ul&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 &lt;span class=&quot;code-quote&quot;&gt;&apos;https:&lt;span class=&quot;code-comment&quot;&gt;//kong-evrk.&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;.aws.folio.org/users-keycloak/users/329a8cf5-2e6b-4f42-bebf-b12824f74660&apos;&lt;/span&gt; \
&lt;/span&gt;  -X &lt;span class=&quot;code-quote&quot;&gt;&apos;PUT&apos;&lt;/span&gt; \
  -H &lt;span class=&quot;code-quote&quot;&gt;&apos;accept: text/plain&apos;&lt;/span&gt; \
  -H &lt;span class=&quot;code-quote&quot;&gt;&apos;accept-language: en-US&apos;&lt;/span&gt; \
  -H &lt;span class=&quot;code-quote&quot;&gt;&apos;content-type: application/json&apos;&lt;/span&gt; \
  -H &lt;span class=&quot;code-quote&quot;&gt;&apos;x-okapi-tenant: diku&apos;&lt;/span&gt; \
  -H &lt;span class=&quot;code-quote&quot;&gt;&apos;x-okapi-token:  SOME_TOKEN&apos;&lt;/span&gt; \
  --data-raw &lt;span class=&quot;code-quote&quot;&gt;&apos;{&lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;mcpatron&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;329a8cf5-2e6b-4f42-bebf-b12824f74660&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;active&quot;&lt;/span&gt;:&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;type&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;patron&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;patronGroup&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;e5ece9c8-1bbe-4898-98b6-a42064f0078d&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;departments&quot;&lt;/span&gt;:[],&lt;span class=&quot;code-quote&quot;&gt;&quot;proxyFor&quot;&lt;/span&gt;:[],&lt;span class=&quot;code-quote&quot;&gt;&quot;personal&quot;&lt;/span&gt;:{&lt;span class=&quot;code-quote&quot;&gt;&quot;lastName&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;McPatron&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;firstName&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;Patron&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;preferredFirstName&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;Yoknapatawphaa&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;email&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;patron@example.com&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;preferredContactTypeId&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;002&quot;&lt;/span&gt;},&lt;span class=&quot;code-quote&quot;&gt;&quot;createdDate&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;2024-01-10T04:03:28.695+00:00&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;updatedDate&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;2024-01-10T04:03:28.695+00:00&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;metadata&quot;&lt;/span&gt;:{&lt;span class=&quot;code-quote&quot;&gt;&quot;createdDate&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;2024-01-09T22:13:01.397+00:00&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;createdByUserId&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;3fe83d88-1b7e-41de-8723-222a1807a326&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;updatedDate&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;2024-01-10T04:03:28.689+00:00&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;updatedByUserId&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;3fe83d88-1b7e-41de-8723-222a1807a326&quot;&lt;/span&gt;},&lt;span class=&quot;code-quote&quot;&gt;&quot;customFields&quot;&lt;/span&gt;:{}}&apos;&lt;/span&gt; \
-v
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Expected results:&lt;/b&gt; Request succeeds:&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;
&amp;lt; HTTP/2 204 
&amp;lt; date: Thu, 11 Jan 2024 19:53:56 GMT
&amp;lt; server: nginx/1.18.0 (Ubuntu)
&amp;lt; access-control-allow-origin: *
&amp;lt; x-kong-upstream-latency: 272
&amp;lt; x-kong-proxy-latency: 22
&amp;lt; via: kong/3.4.2 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Actual results:&lt;/b&gt; Request fails:&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;
&amp;lt; HTTP/2 406 
&amp;lt; date: Thu, 11 Jan 2024 19:52:21 GMT
&amp;lt; content-length: 0
&amp;lt; server: nginx/1.18.0 (Ubuntu)
&amp;lt; accept: application/json
&amp;lt; access-control-allow-origin: *
&amp;lt; x-kong-upstream-latency: 21
&amp;lt; x-kong-proxy-latency: 22
&amp;lt; via: kong/3.4.2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="79185">MODUSERSKC-7</key>
            <summary>/users-keycloak/users/SOME_UUID expects wrong &quot;accept&quot; header content-type</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="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="10002" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/generic.png" description="(Migrated on 4 Feb 2024 13:41 UTC)">In Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b">Oleksii Kuzminov</assignee>
                                                                <reporter accountid="615afd1cd9820f0070a09ef0">Zak Burke</reporter>
                                    <labels>
                            <label>back-end</label>
                            <label>epam-eureka</label>
                            <label>eureka-phase4</label>
                    </labels>
                <created>Thu, 11 Jan 2024 19:56:27 +0000</created>
                <updated>Fri, 2 Feb 2024 13:50:08 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="188030" author="61af2efff24150007266ea04" created="Fri, 2 Feb 2024 13:41:41 +0000"  >&lt;p&gt;Tested on &quot;evrk&quot; - works as expected &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/check.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;

&lt;p&gt;PUT requests to&#160;&lt;tt&gt;/users-keycloak/users/&amp;lt;user UUID&amp;gt; executed successfully with &quot;Accept&quot; header with following values:&lt;/tt&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&quot;&amp;#42;/&amp;#42;&quot;&lt;/li&gt;
	&lt;li&gt;&quot;text/plain&quot;&lt;/li&gt;
	&lt;li&gt;&quot;application/json&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;See screencast with an example: &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63839&quot; title=&quot;MODUSERSKC-7_put.mp4 attached to MODUSERSKC-7&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;MODUSERSKC-7_put.mp4&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;b243d57a-1cbd-438a-ac61-926d02f461cf&quot; rel=&quot;noreferrer&quot;&gt;MODUSERSKC-7_put.mp4&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; Response with 406 status returned in case of &quot;application/javascript&quot; in &quot;Accept&quot; header&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="13754">UXPROD-4605</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="63839" name="MODUSERSKC-7_put.mp4" size="4768854" author="61af2efff24150007266ea04" created="Fri, 2 Feb 2024 13:49:36 +0000"/>
                    </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="10149"><![CDATA[Eureka]]></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|i08zkd:2</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="230">Eureka Sprint 44</customfieldvalue>
    <customfieldvalue id="231">Eureka Sprint 45</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 2 Feb 2024 13:41:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>