<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:21: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>[SUP-19] Unable to delete duplicate agreement with supplementary document</title>
                <link>https://folio-org.atlassian.net/browse/SUP-19</link>
                <project id="10247" key="SUP">Support</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Log into &lt;a href=&quot;https://folio-snapshot.dev.folio.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-snapshot.dev.folio.org/&lt;/a&gt; environment as diku_admin&lt;/li&gt;
	&lt;li&gt;Create a new agreement with a supplemental document (supplemental document has name, file and url populated only)&lt;/li&gt;
	&lt;li&gt;From Actions menu, Duplicate newly created agreement (select all)&lt;/li&gt;
	&lt;li&gt;Save and Close (observe error - page unstable)&lt;/li&gt;
	&lt;li&gt;Duplicate agreement does get created&lt;/li&gt;
	&lt;li&gt;Attempt to delete duplicate agreement&lt;/li&gt;
	&lt;li&gt;Observe error regarding foreign key constraint&lt;/li&gt;
	&lt;li&gt;ERROR: update or delete on table &quot;&quot;document_attachment&quot;&quot; violates foreign key constraint &quot;&quot;sasd_to_da_fk&quot;&quot; on table &quot;&quot;subscription_agreement_supp_doc&lt;/li&gt;
	&lt;li&gt;Further attempts to edit duplicate agreement or original agreement (observe error - page unstable)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;  &lt;br/&gt;
Duplicate Agreement can be deleted&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Actual Results:&lt;/b&gt;   &lt;br/&gt;
Agreement cannot be deleted&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Additional Information:&lt;/b&gt;&lt;br/&gt;
 this is observed in Goldenrod&lt;br/&gt;
see attached animated gif &lt;/p&gt;

&lt;p&gt;URL: &lt;br/&gt;
&lt;b&gt;Interested parties:&lt;/b&gt;  &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; class=&quot;user-hover&quot; rel=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; data-account-id=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; accountid=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; rel=&quot;noreferrer&quot;&gt;Aaron Neslin&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="78962">SUP-19</key>
            <summary>Unable to delete duplicate agreement with supplementary document</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="78961">SUP-12</parent>
                                    <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</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="10001">Duplicate</resolution>
                                                        <assignee accountid="557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa">Owen Stephens</assignee>
                                                                <reporter accountid="557058:194139f2-d44f-4adb-a0ad-8824bc5112d3">Carole Godfrey</reporter>
                                    <labels>
                            <label>agreements</label>
                            <label>erm</label>
                            <label>support</label>
                    </labels>
                <created>Sat, 29 Aug 2020 23:00:53 +0000</created>
                <updated>Mon, 28 Sep 2020 14:25:45 +0000</updated>
                            <resolved>Mon, 28 Sep 2020 14:25:45 +0000</resolved>
                                                                    <component>Agreements</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="187727" author="557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa" created="Fri, 11 Sep 2020 09:36:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A194139f2-d44f-4adb-a0ad-8824bc5112d3&quot; class=&quot;user-hover&quot; rel=&quot;557058:194139f2-d44f-4adb-a0ad-8824bc5112d3&quot; data-account-id=&quot;557058:194139f2-d44f-4adb-a0ad-8824bc5112d3&quot; accountid=&quot;557058:194139f2-d44f-4adb-a0ad-8824bc5112d3&quot; rel=&quot;noreferrer&quot;&gt;Carole Godfrey&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; class=&quot;user-hover&quot; rel=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; data-account-id=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; accountid=&quot;70121:7efe5b41-ba2d-4b89-ad00-05f4154505a8&quot; rel=&quot;noreferrer&quot;&gt;Aaron Neslin&lt;/a&gt; please note that I think the bug is more than simply not being able to delete the duplicate agreement. The issue (I believe at this time - but please use 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;ERM-1114&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/ERM-1114&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Duplicating an Agreement with Supplementary Documents does not duplicate the documents&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;
            ERM-1114
        &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;
 to track our work on this, in case my initial analysis is incorrect) is that the duplicated Agreement and the original agreement are both using the same Supplementary Document record. This means not only will deletion not work (you can&apos;t delete the agreement because it tries to delete the supplementary document which is being used by another agreement) but that edits to the supplementary document in one agreement are affecting the supplementary document on both agreements (because there is only one supplementary document - you are editing the same doc from two places).&lt;/p&gt;

&lt;p&gt;Until this issue is resolved I&apos;d recommend that when duplicating Agreements users should ensure they &lt;b&gt;do not&lt;/b&gt; check the &quot;Supplementary Information&quot; option in the the Duplicate Agreement dialogue&lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63794_thumb&quot; href=&quot;/rest/api/3/attachment/content/63794&quot; title=&quot;Screen Shot 2020-09-11 at 10.34.36.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63794&quot; file-preview-title=&quot;Screen Shot 2020-09-11 at 10.34.36.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63794?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63794&quot; filename=&quot;Screen Shot 2020-09-11 at 10.34.36.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63794&quot; data-attachment-name=&quot;Screen Shot 2020-09-11 at 10.34.36.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;7e1d0244-ffbb-49b5-87fc-f4a03bbbbf74&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;</comment>
                                                            <comment id="187728" author="712020:63713c36-3c65-4968-b5f4-586840c71ffd" created="Mon, 28 Sep 2020 14:25:45 +0000"  >&lt;p&gt;Actually - 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;ERM-1114&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/ERM-1114&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Duplicating an Agreement with Supplementary Documents does not duplicate the documents&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;
            ERM-1114
        &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;
&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="41615">ERM-1114</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="63791" name="2020-08-29 19.07.45.gif" size="3718882" author="557058:194139f2-d44f-4adb-a0ad-8824bc5112d3" created="Sat, 29 Aug 2020 23:09:36 +0000"/>
                            <attachment id="63792" name="Screen Shot 2020-08-29 at 6.50.43 PM.png" size="693590" author="557058:194139f2-d44f-4adb-a0ad-8824bc5112d3" created="Sat, 29 Aug 2020 23:02:50 +0000"/>
                            <attachment id="63793" name="Screen Shot 2020-08-29 at 6.51.43 PM.png" size="433983" author="557058:194139f2-d44f-4adb-a0ad-8824bc5112d3" created="Sat, 29 Aug 2020 22:53:40 +0000"/>
                            <attachment id="63794" name="Screen Shot 2020-09-11 at 10.34.36.png" size="41951" author="557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa" created="Fri, 11 Sep 2020 09:36:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10107" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Affected Institution</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10389"><![CDATA[5 Colleges]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <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="10141"><![CDATA[Bienenvolk]]></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)">Epic to link all support issues located in Dev projects</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01m3v:</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>Fri, 11 Sep 2020 09:36:30 +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>