[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Katrin Fischerchanged: What|Removed |Added Resolution|--- |FIXED CC||katrin.fisc...@bsz-bw.de Status|Pushed to Master|RESOLVED --- Comment #6 from Katrin Fischer --- This won't get ported back to 16.11.x as it is an enhancement. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Kyle M Hallchanged: What|Removed |Added Status|Passed QA |Pushed to Master CC||k...@bywatersolutions.com --- Comment #5 from Kyle M Hall --- Pushed to master for 17.05, thanks Aleisha! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Jonathan Druartchanged: What|Removed |Added Attachment #58237|0 |1 is obsolete|| --- Comment #4 from Jonathan Druart --- Created attachment 58315 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58315=edit Bug 17208: Checking if classification source or filing rule already exists before adding To test: 1) Go to Admin -> Classification sources 2) Attempt to reproduce bug before applying patch. Notice the message saying the add was successful, but was not added to the table 3) Apply patch and refresh page (restart plack if necessary) 4) Add new classification source with same code as existing one. Notice you are now told that the add failed. 5) Confirm adding new classification source with unique code works 6) Add new classification filing rule with same code as existing one. Notice you are told that add failed. 7) Confirm adding new classification filing rule with unique code works Sponsored-by: Catalyst IT Followed test plan, works as expected. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart This is not the way to go, we should use an eval instead. But since we do not have RaiseError set, it will not work. This module will need to be moved to Koha::Objects to be implemented correctly. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Jonathan Druartchanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Marc Véronchanged: What|Removed |Added CC||ve...@veron.ch Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Marc Véronchanged: What|Removed |Added Attachment #57878|0 |1 is obsolete|| --- Comment #3 from Marc Véron --- Created attachment 58237 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58237=edit Bug 17208: Checking if classification source or filing rule already exists before adding To test: 1) Go to Admin -> Classification sources 2) Attempt to reproduce bug before applying patch. Notice the message saying the add was successful, but was not added to the table 3) Apply patch and refresh page (restart plack if necessary) 4) Add new classification source with same code as existing one. Notice you are now told that the add failed. 5) Confirm adding new classification source with unique code works 6) Add new classification filing rule with same code as existing one. Notice you are told that add failed. 7) Confirm adding new classification filing rule with unique code works Sponsored-by: Catalyst IT Followed test plan, works as expected. Signed-off-by: Marc Véron -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Aleisha Amohiachanged: What|Removed |Added Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Aleisha Amohiachanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |aleishaamo...@hotmail.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Aleisha Amohiachanged: What|Removed |Added Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 --- Comment #2 from Aleisha Amohia--- Created attachment 57878 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57878=edit Bug 17208: Checking if classification source or filing rule already exists before adding To test: 1) Go to Admin -> Classification sources 2) Attempt to reproduce bug before applying patch. Notice the message saying the add was successful, but was not added to the table 3) Apply patch and refresh page (restart plack if necessary) 4) Add new classification source with same code as existing one. Notice you are now told that the add failed. 5) Confirm adding new classification source with unique code works 6) Add new classification filing rule with same code as existing one. Notice you are told that add failed. 7) Confirm adding new classification filing rule with unique code works Sponsored-by: Catalyst IT -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 --- Comment #1 from Aleisha Amohia--- Hit enter too early. At the moment, you can attempt to create sources and filing rules using codes that already exist, and you receive a message saying that the new source or filing rule was created, however it isn't actually added to the database (as the codes must be unique), so it doesn't work. There should be some kind of check upon submission of the form that checks if the code already exists (like the check of a barcode before creating a new item). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 17208] Classification sources and filing rules shouldn't allow 'New' with same code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17208 Aleisha Amohiachanged: What|Removed |Added Summary|Classification sources and |Classification sources and |filing rules shouldn't |filing rules shouldn't |allow |allow 'New' with same code -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/