[Koha-bugs] [Bug 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Mason Jameschanged: What|Removed |Added CC||m...@kohaaloha.com --- Comment #19 from Mason James --- Pushed to 16.05.x, for 16.05.08 release -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Julian Mauricechanged: What|Removed |Added CC||julian.maur...@biblibre.com --- Comment #18 from Julian Maurice --- Pushed to 3.22.x for 3.22.15 -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Katrin Fischerchanged: What|Removed |Added Status|Pushed to Master|Pushed to Stable CC||katrin.fisc...@bsz-bw.de --- Comment #17 from Katrin Fischer --- These patches have been pushed to 16.11.x and will be in 16.11.02. . -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Kyle M Hallchanged: What|Removed |Added Status|Passed QA |Pushed to Master CC||k...@bywatersolutions.com --- Comment #16 from Kyle M Hall --- Pushed to master for 17.05, thanks Aleisha, Mark! -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #15 from Jonathan Druart--- Created attachment 58445 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58445=edit Bug 15711: Follow up batch_id not used Changed batch_id to image_id in the template, as the multiparam would catch the array case. TEST PLAN - 1) attempt to delete a selected item, but get a warning. 2) apply this follow up 3) attempt to delete a selected item, it deletes. 4) run koha qa test tools Signed-off-by: Mark Tompsett Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Jonathan Druartchanged: What|Removed |Added Attachment #58189|0 |1 is obsolete|| Attachment #58190|0 |1 is obsolete|| --- Comment #14 from Jonathan Druart --- Created attachment 58444 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58444=edit Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT Signed-off-by: Mark Tompsett Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Owen Leonardchanged: What|Removed |Added Attachment #57945|0 |1 is obsolete|| --- Comment #13 from Owen Leonard --- Created attachment 58190 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58190=edit [SIGNED-OFF] Bug 15711: Follow up batch_id not used Changed batch_id to image_id in the template, as the multiparam would catch the array case. TEST PLAN - 1) attempt to delete a selected item, but get a warning. 2) apply this follow up 3) attempt to delete a selected item, it deletes. 4) run koha qa test tools Signed-off-by: Mark Tompsett Signed-off-by: Owen Leonard -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Owen Leonardchanged: What|Removed |Added 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Owen Leonardchanged: What|Removed |Added Attachment #57944|0 |1 is obsolete|| --- Comment #12 from Owen Leonard --- Created attachment 58189 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58189=edit [SIGNED-OFF] Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT Signed-off-by: Mark Tompsett Signed-off-by: Owen Leonard -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 M. Tompsettchanged: What|Removed |Added CC||mtomp...@hotmail.com --- Comment #11 from M. Tompsett --- Given that I wrote the follow up, I think another sign off is in order. Additionally, encountered valid_template error unrelated to any of the changes made. -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 M. Tompsettchanged: What|Removed |Added Attachment #57877|0 |1 is obsolete|| --- Comment #9 from M. Tompsett --- Created attachment 57944 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57944=edit [SIGNED-OFF] Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Mark Tompsett -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #10 from M. Tompsett--- Created attachment 57945 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57945=edit [SIGNED-OFF] Bug 15711: Follow up batch_id not used Changed batch_id to image_id in the template, as the multiparam would catch the array case. TEST PLAN - 1) attempt to delete a selected item, but get a warning. 2) apply this follow up 3) attempt to delete a selected item, it deletes. 4) run koha qa test tools Signed-off-by: Mark Tompsett -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Aleisha Amohiachanged: What|Removed |Added Attachment #54879|0 |1 is obsolete|| --- Comment #8 from Aleisha Amohia --- Created attachment 57877 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57877=edit Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Aleisha Amohiachanged: What|Removed |Added Status|Failed QA |Needs Signoff -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #7 from Jonathan Druart--- (In reply to Jonathan Druart from comment #6) > I still get the same behavior. 6 function DeleteConfirm() { 7 var results = selected_images("delete"); 8 if (results.images != 0) { It seems that selected_images returns -1, and so the if is evaluated true (results.images is undefined which is != 0) -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #6 from Jonathan Druart--- I still get the same behavior. -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #5 from Aleisha Amohia--- (In reply to Jonathan Druart from comment #4) > Aleisha, I get the exact same behavior with and without the patch: > I get the first "Please select images to delete.", then "Are you sure you > want to delete image(s): undefined?" Hi Jonathan, are you sure the patch applied correctly? I just applied and tested it again and it worked fine for me. -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Status|Signed Off |Failed QA --- Comment #4 from Jonathan Druart --- Aleisha, I get the exact same behavior with and without the patch: I get the first "Please select images to delete.", then "Are you sure you want to delete image(s): undefined?" -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Owen Leonardchanged: What|Removed |Added Attachment #54801|0 |1 is obsolete|| --- Comment #3 from Owen Leonard --- Created attachment 54879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54879=edit [SIGNED-OFF] Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Owen Leonardchanged: What|Removed |Added 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Aleisha Amohiachanged: What|Removed |Added Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 --- Comment #2 from Aleisha Amohia--- Created attachment 54801 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54801=edit Bug 15711: Fixing the 'Delete selected' button on patroncard images To test: 1) Go to Tools -> Patron Card Creator -> Manage images 2) Upload an image if you haven't already 3) Click Delete selected without selecting any images 4) Notice broken behaviour as described in Description 5) Apply patch, refresh page 6) Click Delete selected without selecting any images 7) Notice alert. Click OK 8) Select one image or more, click Delete selected 9) Notice confirm delete message. Sponsored-by: Catalyst IT -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Aleisha Amohiachanged: What|Removed |Added Change sponsored?|--- |Sponsored Assignee|cnighswon...@foundations.ed |aleishaamo...@hotmail.com |u | -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Marc Véronchanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=16747 -- 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 15711] Deleting patroncard images has unexpected behaviour and is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15711 Marc Véronchanged: What|Removed |Added Version|unspecified |master CC||ve...@veron.ch Severity|enhancement |minor --- Comment #1 from Marc Véron --- Confirmed. I could delete an image using the button "Delete" in the same row. Selecting the image and using the button "Delete selected" results the warning as mentioned by 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/