<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:18:18 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>[MGRENTITLE-14] [Bug] [mod-roles-keycloak] Error during enabling application to tenant </title>
                <link>https://folio-org.atlassian.net/browse/MGRENTITLE-14</link>
                <project id="10245" key="MGRENTITLE">mgr-tenant-entitlements</project>
                    <description>&lt;p&gt;While enabling an application to a tenant an error occurred (log info in attachments)&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;disable application for tenant with purge=true&lt;/li&gt;
	&lt;li&gt;enable application for the same tenant&lt;/li&gt;
&lt;/ol&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;
12:20:50 WARN  KafkaConfiguration   Failed to process event [record: ConsumerRecord(topic = folio.syscap1.mgr-tenant-entitlements.system-user, partition = 0, leaderEpoch = 0, offset = 2, CreateTime = 1701260446278, serialized key size = 15, serialized value size = 231, headers = RecordHeaders(headers = [], isReadOnly = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;), key = mod-notes-5.0.1, value = ResourceEvent(id=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, type=CREATE, tenant=syscap1, resourceName=&lt;span class=&quot;code-object&quot;&gt;System&lt;/span&gt; user, newValue=\{name=mod-notes, type=module, permissions=[configuration.entries.item.post, configuration.entries.item.delete, configuration.audit.collection.get]}, oldValue=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;))]
feign.FeignException$Conflict: [409 Conflict] during [PUT] to [http:&lt;span class=&quot;code-comment&quot;&gt;//users/93928a5c-5567-4411-a40f-48e7221d5c2d/capabilities] [UserCapabilitiesClient#assignUserCapabilities(UUID,UserCapabilitiesRequest)]: [{&lt;span class=&quot;code-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt;:[{&lt;span class=&quot;code-quote&quot;&gt;&quot;message&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;Failed to create policy&quot;&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;KeycloakApiException&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;code&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;service_error&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;parameters&quot;&lt;/span&gt;:[{&lt;span class=&quot;code-quote&quot;&gt;&quot;key&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;cause&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;value&quot;&lt;/span&gt;:&quot;[409 Conflict] during [POST] to [http://keycloak:8080/admin/r... (504 bytes)]
&lt;/span&gt;    at feign.FeignException.clientErrorStatus(FeignException.java:234) ~[feign-core-12.1.jar!/:?]
    at feign.FeignException.errorStatus(FeignException.java:203) ~[feign-core-12.1.jar!/:?]
    at feign.FeignException.errorStatus(FeignException.java:194) ~[feign-core-12.1.jar!/:?]
    at feign.FeignException.errorStatus(FeignException.java:171) ~[feign-core-12.1.jar!/:?]
    at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-12.1.jar!/:?]
    at feign.ResponseHandler.decodeError(ResponseHandler.java:136) ~[feign-core-12.1.jar!/:?]
    at feign.ResponseHandler.handleResponse(ResponseHandler.java:70) ~[feign-core-12.1.jar!/:?]
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:116) ~[feign-core-12.1.jar!/:?]
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:72) ~[feign-core-12.1.jar!/:?]
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:98) ~[feign-core-12.1.jar!/:?]
    at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory$1.proceed(FeignCachingInvocationHandlerFactory.java:66) ~[spring-cloud-openfeign-core-4.0.0.jar!/:4.0.0]
    at org.springframework.cache.interceptor.CacheInterceptor.lambda$invoke$0(CacheInterceptor.java:54) ~[spring-context-6.0.6.jar!/:6.0.6]
    at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:351) ~[spring-context-6.0.6.jar!/:6.0.6]
    at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:64) ~[spring-context-6.0.6.jar!/:6.0.6]
    at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory.lambda$create$1(FeignCachingInvocationHandlerFactory.java:53) ~[spring-cloud-openfeign-core-4.0.0.jar!/:4.0.0]
    at jdk.proxy2.$Proxy204.assignUserCapabilities(Unknown Source) ~[?:?]
    at com.ebsco.uk.service.CapabilitiesService.assignCapabilities(CapabilitiesService.java:57) ~[classes!/:1.1.0-SNAPSHOT]
    at com.ebsco.uk.service.CapabilitiesService.assignCapabilitiesByPermissions(CapabilitiesService.java:50) ~[classes!/:1.1.0-SNAPSHOT]
    at com.ebsco.uk.integration.keycloak.SystemUserService.assignCapabilities(SystemUserService.java:70) ~[classes!/:1.1.0-SNAPSHOT]
    at com.ebsco.uk.integration.keycloak.SystemUserService.createOnEvent(SystemUserService.java:57) ~[classes!/:1.1.0-SNAPSHOT]
    at com.ebsco.uk.integration.kafka.KafkaMessageListener.handleSystemUserEvent(KafkaMessageListener.java:53) ~[classes!/:1.1.0-SNAPSHOT]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
    at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:169) ~[spring-messaging-6.0.6.jar!/:6.0.6]
    at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:119) ~[spring-messaging-6.0.6.jar!/:6.0.6]
    at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:56) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:366) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.adapter.RecordMessagingMessageListenerAdapter.onMessage(RecordMessagingMessageListenerAdapter.java:92) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.adapter.RecordMessagingMessageListenerAdapter.onMessage(RecordMessagingMessageListenerAdapter.java:53) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeOnMessage(KafkaMessageListenerContainer.java:2880) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeOnMessage(KafkaMessageListenerContainer.java:2860) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.lambda$doInvokeRecordListener$56(KafkaMessageListenerContainer.java:2783) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at io.micrometer.observation.Observation.observe(Observation.java:559) ~[micrometer-observation-1.10.4.jar!/:1.10.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeRecordListener(KafkaMessageListenerContainer.java:2781) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeWithRecords(KafkaMessageListenerContainer.java:2633) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeRecordListener(KafkaMessageListenerContainer.java:2519) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeListener(KafkaMessageListenerContainer.java:2171) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeIfHaveRecords(KafkaMessageListenerContainer.java:1526) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.pollAndInvoke(KafkaMessageListenerContainer.java:1490) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:1365) ~[spring-kafka-3.0.4.jar!/:3.0.4]
    at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?]
    at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(Unknown Source) ~[?:?]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="78891">MGRENTITLE-14</key>
            <summary>[Bug] [mod-roles-keycloak] Error during enabling application to tenant </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:b819106d-3b2a-48e6-a8dd-e7ecc471a47b">Oleksii Kuzminov</assignee>
                                                                <reporter accountid="70121:26da6b78-0d8a-4d47-b80e-9541f5e4cea5">Natalia Zaitseva</reporter>
                                    <labels>
                            <label>back-end</label>
                            <label>epam-eureka</label>
                            <label>eureka-phase4</label>
                            <label>need-review</label>
                    </labels>
                <created>Sun, 31 Dec 2023 17:33:01 +0000</created>
                <updated>Wed, 3 Jan 2024 13:21:25 +0000</updated>
                            <resolved>Sun, 31 Dec 2023 17:33:17 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                    <issuelinks>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="13754">UXPROD-4605</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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="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|i08x1s:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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>