Description

Summary

When a new Amendment is saved and the "New" pane closed, the Amendment record should be displayed. Instead the License record is displayed.

Current behaviour

1. Preview a License
2. Open the Amendments accordion
3. Select "Add amendment". This displays the form for creating a new Amendment.
4. Enter the mandatory details for a new amendment. The "Save & close" button becomes active.
5. Select "Save & close". This closes the current pane. The License selected in step 1 is displayed.

Expected behaviour

At step 5 above, the expected behaviour is to display the Amendment record which was just created, not the License record.

Checklist

hide

TestRail: Results

Activity

Show:

Claudia Malzer January 15, 2020 at 9:21 AM

concerning tests:

and any ui-licenses tests that create amendments

there's amendments.js but this wasn't working before my changes

Jag Goraya January 9, 2020 at 11:11 AM

Related discussion about blocking stripes-connect behaviour.

Gill Osguthorpe December 19, 2019 at 10:52 AM

, , I've confirmed with FIlip that the behaviour should be as described in the issue so we can go ahead with this. The rules is: when a record is saved, always display the record view/preview.

md331 October 23, 2019 at 1:33 PM

IMPORTANT
Both the ui-licenses AND ui-agreements integration tests need to be updated as a result of this change.

Specifically, the ui-agreements integration tests that create linked licenses with amendments, and any ui-licenses tests that create amendments. The ui-agreements tests do not run in the normal yarn test command, check the package.json to see which ones do Licenses integration.

Something went wrong on our end

If this keeps happening, share this information with your admin, who should contact support.

Hash LVERXE Trace 88f06c90385b42f2a2a039a930340bb0

Details

Assignee

Gill Osguthorpe

Reporter

Gill Osguthorpe

Priority

TBD

Sprint

None

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
TestRail: Cases
TestRail: Runs

Flag notifications