Orders - strange behaviour when creating orders (Chalmers Fameflower dryrun)
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
relates to
Checklist
hideTestRail: Results
Activity
Marie Widigson October 7, 2020 at 9:36 AM
Have not experienced this lately.

Theodor Tolstoy (One-Group.se) September 18, 2020 at 2:19 PM
Is this also to be considered done?
Marie Widigson May 13, 2020 at 11:58 AM
Happy to write that I've now been able to create several orders and also editing POLs (CHAL 301) without encountering the saving/validation issues!
It started working after having added all visible permissions on top of the old "folio_admin" permission set (edited and saved the user, logged out and in again). This made me believe that there could be a permission issue. But then I created a new user with only "folio_admin" and have not yet seen the Are you sure-modal.
Marie Widigson May 13, 2020 at 9:28 AM
Hi,
I just want to confirm that, for me, it's not intermittent but happening for all orders that I'm trying to create. When closing the full pane with the x in the upper left corner, we get the "Are you sure"- modal and have to choose "Close without saving". According to console, there is a validation error.
As it is making the saving of a new order very confusing it's a severe issue for acquisition staff.
Changes seems to be saved anyway, but I'm wondering if there may be consequences shown later in the handling of the order due to the validation error?
Please find another recording of the same issue, made today. https://chalmersuniversity.box.com/s/s6qvcfraey4wb2ofhlr3krtsp0s1flny
The har-file from the recorded session (I had some trouble with the file extension, but hope that you can use it anyway). https://chalmersuniversity.box.com/s/sbboeq54dgenopxsda1xzru5w8iwzsvz
A the list of permissions I have. https://chalmersuniversity.box.com/s/v1zw6k6l1oajpw9txub7y5hz7xeohz4f
Please let me know if you need anything else.
Marie Widigson May 11, 2020 at 5:54 PM
Please see video about what's happening. https://chalmersuniversity.box.com/s/w8a9wxe27s1o2mh4souyzpb5te3j3fkf
We are currently testing Fameflower with our own data in https://chalmers-dryrun.folio.ebsco.com/
Orders returns a dialog asking me to Close without saving or Keep editing when closing full pane.
1. Orders tab, click New
2. Choose a template (for example HBadlibris)
3. Click Save & close
4. Close window using the x in upper left corner.
5. I get
Are you sure. There are unsaved changes.
Keep editing results in validation error
Keep editing, then click Save & close
PO number-field is now highlighed in red and says Order number is not valid
{errors: [{message: "PO Number already exists", code: "poNumberNotUnique", parameters: []}],…}
errors: [{message: "PO Number already exists", code: "poNumberNotUnique", parameters: []}]
total_records: 1
Close without saving seems to save the record but according to Network console the order has been cancelled?
reasonsForClosure: [{id: "fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c", reason: "Cancelled", source: "System"},…]
totalRecords: 18
It is however among the pending orders and I seem to be able to add a POL.