<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:06:37 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-548] IfPermission not working with current stripes npms and black box 0.8.0</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-548</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Following the quick start guide:&lt;/p&gt;

&lt;p&gt;git clone &lt;a href=&quot;https://github.com/folio-org/stripes-sample-platform&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/stripes-sample-platform&lt;/a&gt;&lt;br/&gt;
cd stripes-sample-platform&lt;br/&gt;
sed -i &apos;s/disableAuth: true/disableAuth: false/&apos; stripes.config.js&lt;br/&gt;
yarn install&lt;br/&gt;
yarn start&lt;/p&gt;

&lt;p&gt;Log in as diku_admin, go to users, no &lt;span class=&quot;error&quot;&gt;&amp;#91;Add user&amp;#93;&lt;/span&gt; button appears&lt;br/&gt;
Select a user, no &lt;span class=&quot;error&quot;&gt;&amp;#91;Edit user&amp;#93;&lt;/span&gt; button appears.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80262">FOLIO-548</key>
            <summary>IfPermission not working with current stripes npms and black box 0.8.0</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="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="5bffed52a1b46046f530c8f7">Mike Taylor</assignee>
                                                                <reporter accountid="5bffed5e2434bf3a1a91d37a">Niels Erik Nielsen</reporter>
                                    <labels>
                            <label>sprint12</label>
                    </labels>
                <created>Thu, 6 Apr 2017 12:32:09 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:29 +0000</updated>
                            <resolved>Tue, 11 Apr 2017 12:34:33 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                    <timespent seconds="26100">7 hours, 15 minutes</timespent>
                                <comments>
                                                            <comment id="191847" author="5bffed5e2434bf3a1a91d37a" created="Thu, 6 Apr 2017 12:34:20 +0000"  >&lt;p&gt;We&apos;ll test again with the next black box. But I&apos;ve had this working with some combination of git check-outs and black box 0.8.0 (know, since I demoed that at the review Tuesday &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; ) so I suspect something&apos;s amiss in the stripes npm&apos;s &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/help_16.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>
                                                            <comment id="191848" author="5bffed52a1b46046f530c8f7" created="Thu, 6 Apr 2017 13:55:08 +0000"  >&lt;p&gt;In your browser&apos;s development tools, go to &lt;tt&gt;IfPermission.js&lt;/tt&gt;. What does it say? (It&apos;s only a short file, you can dump its whole contents in a comment.) Do &lt;em&gt;not&lt;/em&gt; show me the version in your git checkout, as it may not be the same!&lt;/p&gt;</comment>
                                                            <comment id="191849" author="5bffed5e2434bf3a1a91d37a" created="Fri, 7 Apr 2017 09:12:34 +0000"  >&lt;p&gt;It works with our ci repo  &quot;npm-folioci&quot;, so I&apos;ve switched to that instead of using the official repo specified in the quick start guide.  &lt;/p&gt;</comment>
                                                            <comment id="191850" author="5bffed52a1b46046f530c8f7" created="Fri, 7 Apr 2017 10:27:22 +0000"  >&lt;p&gt;I think the problem here is that the most recent NPM releases of the UI modules (Users, Items, Scan) have dependencies on too-old versions of stripes-components. If I am right, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-550&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-550&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Release new versions of ui-users, ui-items and ui-scan&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-550
        &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;
 will solve the problem.&lt;/p&gt;</comment>
                                                            <comment id="191851" author="5bffed52a1b46046f530c8f7" created="Fri, 7 Apr 2017 10:32:24 +0000"  >&lt;p&gt;Thinking this though, I think the underlying problem comes down to the fact that stripes-core v0.3.0 was a breaking change, and should have had a new major release number, but didn&apos;t. So the version of stripes-components that Niels-Erik is getting actually depends on the old stripes-core v0.2.0 API, but it&apos;s getting the newer API from v0.3.0ff.&lt;/p&gt;

&lt;p&gt;Conclusion (and not a new one): we need to start doing SemVer properly. The next time I make a breaking change to stripes-core, I&apos;m going to v1.x.&lt;/p&gt;</comment>
                                                            <comment id="191852" author="5bffed52a1b46046f530c8f7" created="Mon, 10 Apr 2017 18:38:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5bffed5e2434bf3a1a91d37a&quot; class=&quot;user-hover&quot; rel=&quot;5bffed5e2434bf3a1a91d37a&quot; data-account-id=&quot;5bffed5e2434bf3a1a91d37a&quot; accountid=&quot;5bffed5e2434bf3a1a91d37a&quot; rel=&quot;noreferrer&quot;&gt;Niels Erik Nielsen&lt;/a&gt;, I have made releases of all the relevant packages. Can you please try this again and let me know how it works for you?&lt;/p&gt;</comment>
                                                            <comment id="191853" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 08:21:49 +0000"  >&lt;p&gt;I have not been able to verify that it&apos;s working because there&apos;s some issue with the authtoken module in black box 0.8.3&lt;/p&gt;

&lt;p&gt;I did&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;
git clone https:&lt;span class=&quot;code-comment&quot;&gt;//github.com/folio-org/stripes-sample-platform
&lt;/span&gt;cd stripes-sample-platform
yarn install
yarn start
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Tried logging in as diku_admin, but get a 404:  &lt;tt&gt;No running module instance found for authtoken&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Not sure why, a system status for mod-auth says:   &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63967_thumb&quot; href=&quot;/rest/api/3/attachment/content/63967&quot; title=&quot;Screenshot from 2017-04-11 10-20-10.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63967&quot; file-preview-title=&quot;Screenshot from 2017-04-11 10-20-10.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63967?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63967&quot; filename=&quot;Screenshot from 2017-04-11 10-20-10.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63967&quot; data-attachment-name=&quot;Screenshot from 2017-04-11 10-20-10.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;2c0ab461-8911-4102-88bb-49d9e4de67f2&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Tried against black box 0.8.0 too but I think the UI might not be compatible with that anymore (changes to permissions etc?)&lt;/p&gt;</comment>
                                                            <comment id="191854" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 08:42:22 +0000"  >&lt;p&gt;You are correct &amp;#8211; changes in permission names mean that the present ui-users (git head and v1.0.0) is compatible only with v0.8.3 of the black box.&lt;/p&gt;

&lt;p&gt;Your permission problem is very strange &amp;#8211; I have not seen this. I will try to reproduce. In the mean time you might try bringing the VM down and up again: IIRC, it can sometimes stumble over the startup sequence, and that may be what you&apos;re seeing?&lt;/p&gt;</comment>
                                                            <comment id="191855" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 08:49:38 +0000"  >&lt;p&gt;Aha! Looking into this more solves another mystery ...&lt;/p&gt;</comment>
                                                            <comment id="191856" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 08:52:23 +0000"  >&lt;p&gt;Should we update deps in stripes-sample-platform ?&lt;/p&gt;</comment>
                                                            <comment id="191857" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 09:00:19 +0000"  >&lt;p&gt;Possibly not related, but I see that stripes-sample-platform depends on old versions of the UI modules. I have updated that, and am about to make a newer stripes-core release for it to depend on, too. This may not help with what seems to be a backend problem, but it can&apos;t hurt.&lt;/p&gt;</comment>
                                                            <comment id="191858" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 09:02:23 +0000"  >&lt;p&gt;I think &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt; had some success with fetching newer ui versions in the sample platform at least. &lt;/p&gt;</comment>
                                                            <comment id="191859" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 09:06:51 +0000"  >&lt;p&gt;I see we crossed in the post. Yes, I am doing this update &amp;#8211; not only in stripes-sample-platform but also in some of the dependent modules, whose specified dependencies are outdated.&lt;/p&gt;

&lt;p&gt;You can &lt;tt&gt;git pull&lt;/tt&gt; now to get a better version, but I am not done there yet.&lt;/p&gt;</comment>
                                                            <comment id="191860" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 10:17:03 +0000"  >&lt;p&gt;All our dependencies are ... weird.&lt;/p&gt;

&lt;p&gt;I am going to take a while to sort this out. For now, I will just release stripes-connect v0.5.0, but there are deeper waters to navigate here. I will file a separate bug.&lt;/p&gt;</comment>
                                                            <comment id="191861" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 10:21:50 +0000"  >&lt;p&gt;Oh boy. Thank you, Mike. &lt;/p&gt;</comment>
                                                            <comment id="191862" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 10:44:39 +0000"  >&lt;p&gt;stripes-core v0.5.0 is out:&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/stripes-core/tree/v0.5.0&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/stripes-core/tree/v0.5.0&lt;/a&gt;&lt;br/&gt;
Please yarn install to upgrade your stripes-core, then see if &amp;lt;IfPermission&amp;gt; works for you.&lt;/p&gt;</comment>
                                                            <comment id="191863" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 12:02:58 +0000"  >&lt;p&gt;(stripes-core v0.6.0 is also out now, so feel free to upgrade; but you don&apos;t &lt;em&gt;need&lt;/em&gt; that, most likely.)&lt;/p&gt;</comment>
                                                            <comment id="191864" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 12:12:39 +0000"  >&lt;p&gt;Yay:   &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63968_thumb&quot; href=&quot;/rest/api/3/attachment/content/63968&quot; title=&quot;Screenshot from 2017-04-11 14-06-54.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63968&quot; file-preview-title=&quot;Screenshot from 2017-04-11 14-06-54.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63968?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63968&quot; filename=&quot;Screenshot from 2017-04-11 14-06-54.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63968&quot; data-attachment-name=&quot;Screenshot from 2017-04-11 14-06-54.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;c7465042-f878-4d72-9430-0ce0580d2435&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;This was by &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;
git clone https:&lt;span class=&quot;code-comment&quot;&gt;//github.com/folio-org/stripes-sample-platform
&lt;/span&gt;cd stripes-sample-platform
yarn install
yarn start
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which pulled in 0.5.0 of stripes-core.&lt;/p&gt;

&lt;p&gt;Box 0.8.3&lt;/p&gt;

&lt;p&gt;There are no permissions listed in current user menu but that might be as expected.  &lt;/p&gt;</comment>
                                                            <comment id="191865" author="5bffed52a1b46046f530c8f7" created="Tue, 11 Apr 2017 12:17:41 +0000"  >&lt;p&gt;Looking good. So can we close this one?&lt;/p&gt;</comment>
                                                            <comment id="191866" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 12:19:32 +0000"  >&lt;p&gt;Yes. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="61107">STRIPES-310</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80264">FOLIO-550</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="63967" name="Screenshot from 2017-04-11 10-20-10.png" size="68402" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 08:21:01 +0000"/>
                            <attachment id="63968" name="Screenshot from 2017-04-11 14-06-54.png" size="159344" author="5bffed5e2434bf3a1a91d37a" created="Tue, 11 Apr 2017 12:08:19 +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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxmef:</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>Thu, 6 Apr 2017 13:55:08 +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>