<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Fri Feb 09 00:18:04 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>[MODCAT-108] It&apos;s not possible to see authority record for subject starting from a Browse function</title>
                <link>https://folio-org.atlassian.net/browse/MODCAT-108</link>
                <project id="10175" key="MODCAT">mod-marccat</project>
                    <description>&lt;p&gt;In MARCcat browsing &quot;Subject: All: &quot;Atti persecutori&quot;, the system will display the  heading with one authority record, ten bibliographic records and two cross reference. Clicking on that heading to see the authority and bibliographic record in the third panel, the system doesn&apos;t display the authority record (I see message &quot;Non associated Authority record&quot;), but only the bibliographic records. &lt;/p&gt;

&lt;p&gt;It seems that it the index SK used to find authority record for subject is not working. &lt;/p&gt;

&lt;p&gt;Follow the SQL produced by the BE during the search:&lt;/p&gt;

&lt;p&gt;CCL =&amp;gt; &quot;SK 95691&quot; became &quot;select res.aut_nbr from (select distinct smtc.aut_nbr from ((select distinct aut.aut_nbr from aut where (aut.hdg_nbr IN 95691 AND aut.hdg_typ_cde=&apos;SH&apos;))) smtc order by smtc.aut_nbr  desc ) res limit 30 offset 0&quot;&lt;br/&gt;
  org.postgresql.util.PSQLException: ERROR: syntax error at or near &quot;95691&quot;&lt;br/&gt;
   Position: 122&lt;/p&gt;

&lt;p&gt;To find the wrong query on DB do the following select in table S_BIB1_SMNTC:&lt;/p&gt;

&lt;p&gt;select sql_whr from S_BIB1_SMNTC where ATRBT_USE_NBR = 21 and qry_nbr = 427&lt;/p&gt;</description>
                <environment></environment>
        <key id="72265">MODCAT-108</key>
            <summary>It&apos;s not possible to see authority record for subject starting from a Browse function</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                            <parent id="10560">UXPROD-786</parent>
                                    <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="5bcdb6f9bae77f4b760f3d0b">Mirko Fonzo</assignee>
                                                                <reporter accountid="5b44fc09bc005f2c0cb7338f">Annalisa Di Sabato</reporter>
                                    <labels>
                            <label>Authority_record</label>
                            <label>browse_heading</label>
                            <label>marccat</label>
                    </labels>
                <created>Tue, 21 May 2019 12:09:30 +0000</created>
                <updated>Sun, 14 Jun 2020 10:17:42 +0000</updated>
                            <resolved>Fri, 24 May 2019 10:15:17 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="174357" author="5bcdb6f9bae77f4b760f3d0b" created="Tue, 21 May 2019 16:34:33 +0000"  >&lt;p&gt;The problem depends on wrong settings into the Semantic Table S_BIB1_SMNTC for some records. SQL Where Conditions such as &quot;aut.hdg_nbr IN 95691&quot; are accepted by Oracle but not by Postgres, which requires brackets even if just one element is specified. So, the condition should be &quot;aut.hdg_nbr IN (95691)&quot;.&lt;br/&gt;
I&apos;ve detected 53 different entry points into the Semantic Table affected by the same issue. I&apos;ve fixed them on database folio_marccat_test1.&lt;br/&gt;
I&apos;ve also added the fixing into the database patch currently under development.&lt;/p&gt;</comment>
                                                            <comment id="174359" author="5b44fc09bc005f2c0cb7338f" created="Fri, 24 May 2019 10:15:04 +0000"  >&lt;p&gt;Verified in MARCcat. It&apos;s solved.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="10953">UXPROD-1456</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="59024" name="screenshot-1.png" size="105089" author="5b44fc09bc005f2c0cb7338f" created="Tue, 21 May 2019 12:11:28 +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="10138"><![CDATA[@cult]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">MARCcat: MARC Bibliographic records</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzr2v:</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>Tue, 21 May 2019 16:34:33 +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>