Bug 29901

Summary: Editing purchase suggestions create a new suggestion
Product: Koha Reporter: Noémie Labine <noemie.labine>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 20.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Noémie Labine 2022-01-18 16:43:49 UTC
Hi,

When a purchase suggestion is created from the OPAC and then edited, the first suggestion is not edited and a new suggestion is created.

To recreate :

1. Create a purchase suggestion from the OPAC
2. In the staff interface, edit the suggestion. For exemple, edit the copyright date field and save the change
3. Refresh the OPAC purchase suggestions page
4. Refresh the staff interface purchase suggestions page

Results : The first suggestion with the first copyright date is still there and a new suggestion is created with the new copyright date and the same other informations (title, author, etc.)

Note : I also tested with the author field and the result is the same, it's not specific to the copyright date field.


I also tested on a 21.05 demo site and I have the same problem.

Thank you !
Comment 1 Katrin Fischer 2022-06-25 20:27:56 UTC
Hi Noemie,

I have tested this on the current development version and 20.11 and I cannot replicate the error. 20.11 is the version that was just EOL (no longer receiving updates)

Do you still see the problem? If yes, what is your exact Koha version?