[Bug 14544] New: Move the list related code to Koha::Virtualshelves
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Bug ID: 14544 Summary: Move the list related code to Koha::Virtualshelves Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Lists Assignee: jonathan.druart@bugs.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl There are some bugs in the list module which are not fixable easily, because of the (very) ugly C4::VirtualShelves::Page package. This module is completely stuck and there is no other way to rewrite it completely to make it move again. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41034 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41034&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41035 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41035&action=edit Bug 14544: Get rid of GetShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41036 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41036&action=edit Bug 14544: Get rid of AddShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41037 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41037&action=edit Bug 14544: Get rid of DelShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41038 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41038&action=edit Bug 14544: Get rid of ModShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41039 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41039&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41040 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41040&action=edit Bug 14544: Get rid of GetAllShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #8 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41041 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41041&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41042 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41042&action=edit Bug 14544: WIP - Get rid of GetShelves This does not work. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |In Discussion --- Comment #10 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- http://lists.koha-community.org/pipermail/koha-devel/2015-July/041641.html -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |13019 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13019 [Bug 13019] Add base classes on which to build Koha objects -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com --- Comment #11 from Kyle M Hall <kyle@bywatersolutions.com> --- Based on my initial skimming of the patches, I think this looks great! The only very minor nitpicky suggestion would be the naming of the clases. You could rename Koha::Virtualshelf to Koha::List and Koha::Virtualshelfshares to Koha::List::Sharess or something along those lines so that we can start down the road to having our internal nomenclature match our external nomenclature. What do you think of that Jonathan? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I really like the idea of not naming them virtualshelves - but we have quite some lists now in the interface. Only problem might be that we also have patron lists and possible other types of lists? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Kyle M Hall from comment #11)
Based on my initial skimming of the patches, I think this looks great!
The only very minor nitpicky suggestion would be the naming of the clases. You could rename Koha::Virtualshelf to Koha::List and Koha::Virtualshelfshares to Koha::List::Sharess or something along those lines so that we can start down the road to having our internal nomenclature match our external nomenclature.
What do you think of that Jonathan?
It seems that a consensus on the name is not reach :) And I really don't want to rewrite the job already done or wait to find a name... I am sure it will be quite easy to rename everything (tables and classes) when this change will be done. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41034|0 |1 is obsolete| | --- Comment #14 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41403 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41403&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41035|0 |1 is obsolete| | --- Comment #15 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41404 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41404&action=edit Bug 14544: Get rid of GetShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41036|0 |1 is obsolete| | --- Comment #16 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41405 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41405&action=edit Bug 14544: Get rid of AddShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41037|0 |1 is obsolete| | --- Comment #17 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41406 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41406&action=edit Bug 14544: Get rid of DelShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41038|0 |1 is obsolete| | --- Comment #18 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41407 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41407&action=edit Bug 14544: Get rid of ModShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41039|0 |1 is obsolete| | --- Comment #19 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41408 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41408&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41040|0 |1 is obsolete| | --- Comment #20 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41409 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41409&action=edit Bug 14544: Get rid of GetAllShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41041|0 |1 is obsolete| | --- Comment #21 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41410 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41410&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #22 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41411 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41411&action=edit Bug 14544: Make the intranet side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #23 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41412 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41412&action=edit Bug 14544: Get rid of GetBibliosShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41042|Bug 14544: WIP - Get rid of |[DO NOT APPLY] Bug 14544: description|GetShelves |WIP - Get rid of GetShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=6279 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41042|0 |1 is obsolete| | Attachment #41403|0 |1 is obsolete| | Attachment #41404|0 |1 is obsolete| | Attachment #41405|0 |1 is obsolete| | Attachment #41406|0 |1 is obsolete| | Attachment #41407|0 |1 is obsolete| | Attachment #41408|0 |1 is obsolete| | Attachment #41409|0 |1 is obsolete| | Attachment #41410|0 |1 is obsolete| | Attachment #41411|0 |1 is obsolete| | Attachment #41412|0 |1 is obsolete| | --- Comment #24 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41584 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41584&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #25 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41585 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41585&action=edit Bug 14544: Get rid of GetShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #26 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41586 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41586&action=edit Bug 14544: Get rid of AddShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #27 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41587 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41587&action=edit Bug 14544: Get rid of DelShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #28 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41588 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41588&action=edit Bug 14544: Get rid of ModShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #29 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41589 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41589&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #30 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41590 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41590&action=edit Bug 14544: Get rid of GetAllShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #31 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41591 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41591&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #32 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41592 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41592&action=edit Bug 14544: Make the intranet side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #33 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41593 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41593&action=edit Bug 14544: Get rid of GetBibliosShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #34 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41594 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41594&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #35 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41595 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41595&action=edit Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #36 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41596 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41596&action=edit Bug 14544: Get rid of ShelfPossibleAction -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #37 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41597 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41597&action=edit Bug 14544: Get rid of GetShelfContent -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #38 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41598 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41598&action=edit Bug 14544: Get rid of GetSomeShelfNames -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #39 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41599 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41599&action=edit Bug 14544: Move HandleDelBorrower to C4::Members -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #40 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41600 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41600&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #41 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41601 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41601&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14517 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #42 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Patch "Make the intranet side independent of Page.pm" needs rebase since Bug 14517 is pushed. Nice job btw -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41584|0 |1 is obsolete| | --- Comment #43 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41716 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41716&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41585|0 |1 is obsolete| | --- Comment #44 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41717 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41717&action=edit Bug 14544: Get rid of GetShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41586|0 |1 is obsolete| | --- Comment #45 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41718 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41718&action=edit Bug 14544: Get rid of AddShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41587|0 |1 is obsolete| | --- Comment #46 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41719 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41719&action=edit Bug 14544: Get rid of DelShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41588|0 |1 is obsolete| | --- Comment #47 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41720 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41720&action=edit Bug 14544: Get rid of ModShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41589|0 |1 is obsolete| | --- Comment #48 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41721 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41721&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41590|0 |1 is obsolete| | --- Comment #49 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41722 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41722&action=edit Bug 14544: Get rid of GetAllShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41591|0 |1 is obsolete| | --- Comment #50 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41723 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41723&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41592|0 |1 is obsolete| | --- Comment #51 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41724 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41724&action=edit Bug 14544: Make the intranet side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41593|0 |1 is obsolete| | --- Comment #52 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41725 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41725&action=edit Bug 14544: Get rid of GetBibliosShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41594|0 |1 is obsolete| | --- Comment #53 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41726 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41726&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41595|0 |1 is obsolete| | --- Comment #54 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41727 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41727&action=edit Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41596|0 |1 is obsolete| | --- Comment #55 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41728 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41728&action=edit Bug 14544: Get rid of ShelfPossibleAction -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41597|0 |1 is obsolete| | --- Comment #56 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41729 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41729&action=edit Bug 14544: Get rid of GetShelfContent -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41598|0 |1 is obsolete| | --- Comment #57 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41730 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41730&action=edit Bug 14544: Get rid of GetSomeShelfNames -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41599|0 |1 is obsolete| | --- Comment #58 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41731 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41731&action=edit Bug 14544: Move HandleDelBorrower to C4::Members -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41600|0 |1 is obsolete| | --- Comment #59 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41732 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41732&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41601|0 |1 is obsolete| | --- Comment #60 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41733 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41733&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff --- Comment #61 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Last patchset fixes conflicts with bug 14517 and bug 14529. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #62 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- There is a little error in opac/opac-addbybiblionumber.pl : Line 120 : $shelf-> This brakes the addition of records in a list. Other point : I see in opac/opac-addbybiblionumber.pl : } else { # TODO } Why not using $errcode ? like in virtualshelves/addbybiblionumber.pl ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #63 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41766 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41766&action=edit Bug 14544: (follow-up) Get rid of ShelfPossibleAction -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #64 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Fridolin SOMERS from comment #62)
There is a little error in opac/opac-addbybiblionumber.pl : Line 120 : $shelf-> This brakes the addition of records in a list.
Oops, fixed!
Other point : I see in opac/opac-addbybiblionumber.pl : } else { # TODO } Why not using $errcode ? like in virtualshelves/addbybiblionumber.pl ?
Because it didn't before the changes, and I would like to submit another patchset to fix the 2 addbybiblionumber scripts. Not in the scope of this bug report. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #65 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- (In reply to Jonathan Druart from comment #64)
(In reply to Fridolin SOMERS from comment #62)
There is a little error in opac/opac-addbybiblionumber.pl : Line 120 : $shelf-> This brakes the addition of records in a list.
Oops, fixed!
It works fine, i continue testing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #66 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Small bugs in : koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt 1/ Line 20, the closing span tag is missing : <span>anyone else to add entries. 2/ In [% BLOCK list_permissions %] the permissions vars must be called from "shelf" : [% IF allow_add %] must be [% IF shelf.allow_add %] Idem for allow_delete_own and allow_delete_other 3/ In breadcrumbs, a <li></li> tag has been removed. It was : <li><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your lists</a></li> Direct text is not correct inside a <ul></ul>. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #67 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41909 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41909&action=edit Bug 14544: Fix several minor fixes at the OPAC follow-up for Bug 14544: Remove wrong tips about permissions and Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41909|0 |1 is obsolete| | --- Comment #68 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41910 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41910&action=edit Bug 14544: Fix several minor bugs at the OPAC follow-up for Bug 14544: Remove wrong tips about permissions and Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #69 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- (In reply to Jonathan Druart from comment #68)
Created attachment 41910 [details] [review] Bug 14544: Fix several minor bugs at the OPAC
In breadcrumbs, › must also be inside a <li>. Like in ISBD view : <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> <li><a href="#">ISBD view</a></li> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #70 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- 4/ I've noticed that when editing a list, the HTML warnings show there are 2 useless ending div tags. I think the correction is : diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 245a8dd..e5c40db 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -705,13 +705,13 @@ <p>No private lists.</p> [% END %] [% END %] + </div> + </div> [% ELSIF NOT loggedinusernumber %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] <div class="alert alert-info"><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new lists.</div> [% END %] [% END # IF loggedinusername %] - </div> - </div> </div> <!-- / #usershelves --> </div> <!-- / .span10/12 --> </div> <!-- / .row-fluid --> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41910|0 |1 is obsolete| | --- Comment #71 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41913 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41913&action=edit Bug 14544: Fix several minor bugs at the OPAC follow-up for Bug 14544: Remove wrong tips about permissions and Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41913|0 |1 is obsolete| | --- Comment #72 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41914 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41914&action=edit Bug 14544: Fix several minor bugs at the OPAC follow-up for Bug 14544: Remove wrong tips about permissions and Bug 14544: Make the OPAC side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14528 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #73 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41915 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41915&action=edit Bug 14544: Do not use shelf as a variable loop Otherwise the shelf variable send from the pl script is overwrite -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41915|0 |1 is obsolete| | --- Comment #74 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41917 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41917&action=edit Bug 14544: Do not use shelf as a variable loop Otherwise the shelf variable send from the pl script is overwrite -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #75 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41918 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41918&action=edit Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #76 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41919 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41919&action=edit Bug 14544: Cosmetic: › should be a class divider -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #77 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41924 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41924&action=edit Bug 14544: Fix regression: checkboxes'values are empty They should be filled with the biblionumber -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #78 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41927 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41927&action=edit Bug 14544: Pass the itemtype description and notforloan to the template Before it was returned by GetShelfContents and the join on itemtype. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #79 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41931 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41931&action=edit Bug 14544: Allow a user to delete his own contents -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #80 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41932 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41932&action=edit Bug 14544: Remove warnings in tests -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #81 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- New day, new bug :D The creation of a new list after selecting some records fails : It is because after creating Koha::Virtualshelf->new, one must call store() so that it impacts database, used by AddBibliosToShelf(). diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl index 10420fe..9181efd 100755 --- a/opac/opac-addbybiblionumber.pl +++ b/opac/opac-addbybiblionumber.pl @@ -106,7 +106,8 @@ sub HandleNewVirtualShelf { $errcode = 1; return; } - AddBibliosToShelf($shelfnumber, @biblionumber); + $shelf->store(); + AddBibliosToShelf($shelf->shelfnumber, @biblionumber); #Reload the page where you came from print $query->header; print "<html><meta http-equiv=\"refresh\" content=\"0\" /><body onload=\"window.opener.location.reload(true);self.close();\"></body></html>"; Idem on staff interface. You may also allow AddBibliosToShelf() to get a shelf object or a shelnumber as first argument. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #82 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Typo in "Bug 14544: Fix several minor bugs at the OPAC" : [% IF op != 'list' %] <li><a href="/cgi-bin/koha/cgi-bin/koha/opac-shelves.pl">Lists</a></li> [% ELSE %] /cgi-bin/koha twice -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #83 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- 3/ Share some lists with other users Note that it is managed by syspref OpacAllowSharingPrivateLists -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41716|0 |1 is obsolete| | Attachment #41717|0 |1 is obsolete| | Attachment #41718|0 |1 is obsolete| | Attachment #41719|0 |1 is obsolete| | Attachment #41720|0 |1 is obsolete| | Attachment #41721|0 |1 is obsolete| | Attachment #41722|0 |1 is obsolete| | Attachment #41723|0 |1 is obsolete| | Attachment #41724|0 |1 is obsolete| | Attachment #41725|0 |1 is obsolete| | Attachment #41726|0 |1 is obsolete| | Attachment #41727|0 |1 is obsolete| | Attachment #41728|0 |1 is obsolete| | Attachment #41729|0 |1 is obsolete| | Attachment #41730|0 |1 is obsolete| | Attachment #41731|0 |1 is obsolete| | Attachment #41732|0 |1 is obsolete| | Attachment #41733|0 |1 is obsolete| | Attachment #41766|0 |1 is obsolete| | Attachment #41914|0 |1 is obsolete| | Attachment #41917|0 |1 is obsolete| | Attachment #41918|0 |1 is obsolete| | Attachment #41919|0 |1 is obsolete| | Attachment #41924|0 |1 is obsolete| | Attachment #41927|0 |1 is obsolete| | Attachment #41931|0 |1 is obsolete| | Attachment #41932|0 |1 is obsolete| | --- Comment #84 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41953 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41953&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #85 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41954 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41954&action=edit Bug 14544: Get rid of GetShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #86 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41955 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41955&action=edit Bug 14544: Get rid of AddShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #87 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41956 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41956&action=edit Bug 14544: Get rid of DelShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #88 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41957 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41957&action=edit Bug 14544: Get rid of ModShelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #89 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41958 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41958&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #90 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41959 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41959&action=edit Bug 14544: Get rid of GetAllShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #91 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41960 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41960&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf Bug 14544: Allow a user to delete his own contents -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #92 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41961 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41961&action=edit Bug 14544: Make the intranet side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #93 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41962 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41962&action=edit Bug 14544: Get rid of GetBibliosShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #94 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41963 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41963&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #95 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41964 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41964&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #96 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41965 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41965&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #97 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41966 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41966&action=edit Bug 14544: Get rid of GetShelfContent -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #98 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41967 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41967&action=edit Bug 14544: Get rid of GetSomeShelfNames -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #99 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41968 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41968&action=edit Bug 14544: Move HandleDelBorrower to C4::Members -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #100 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41969 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41969&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #101 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41970 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41970&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41961|0 |1 is obsolete| | --- Comment #102 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41973 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41973&action=edit Bug 14544: Make the intranet side independent of Page.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41962|0 |1 is obsolete| | --- Comment #103 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41974 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41974&action=edit Bug 14544: Get rid of GetBibliosShelves -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41963|0 |1 is obsolete| | --- Comment #104 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41975 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41975&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41964|0 |1 is obsolete| | --- Comment #105 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41976 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41976&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41965|0 |1 is obsolete| | --- Comment #106 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41977 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41977&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41966|0 |1 is obsolete| | --- Comment #107 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41978 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41978&action=edit Bug 14544: Get rid of GetShelfContent -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41967|0 |1 is obsolete| | --- Comment #108 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41979 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41979&action=edit Bug 14544: Get rid of GetSomeShelfNames -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41968|0 |1 is obsolete| | --- Comment #109 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41980 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41980&action=edit Bug 14544: Move HandleDelBorrower to C4::Members -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41969|0 |1 is obsolete| | --- Comment #110 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41981 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41981&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41970|0 |1 is obsolete| | --- Comment #111 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41982 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41982&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #112 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41983 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41983&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41983|0 |1 is obsolete| | --- Comment #113 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41986 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41986&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #114 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 41988 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41988&action=edit Bug 14544: DB Changes: Set a default value for sortfield -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #115 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- A behaviour I'm not sure it is the scope of this bug : - Log-in with a user A at intranet - Create a public list - Add some records - Allow anyone else to add entries and anyone to remove his own contributed entries, do not allow any user to remove any entries - Log-in with a user B at OPAC - View the list - You see links "Remove from this list" on every record, even if they where added by another user => It would be better to show this link only in records you can remove - When clicked and alert accepted, you get the message "No biblio has been removed." (records are not removed) => You should get a message of "unauthorized_on_remove_biblios" - Select some records - Click on "Remove from list" - You get no message (records are not removed) => Not sure what to do here because you may be allowed on some selected records -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #116 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- It's the expected behavior, at least the one before this patch. But I completely agree, it could be improved. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.tajoli@cineca.it Patch complexity|--- |Large patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|z.tajoli@cineca.it | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #117 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42192 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42192&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #118 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Alex Arnaud from comment #117)
Created attachment 42192 [details] [review] Bug 14544 - Handle database error when creating a shelf with DB admin account
I think this is not useful, the DB admin account should not be used for anything else than create a first superlibrarian user. -- You are receiving this mail because: You are watching all bug changes.
I think this is not useful, the DB admin account should not be used for anything else than create a first superlibrarian user. It was the behavior before this patches. And, isn't it better to have a message
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex.arnaud@biblibre.com --- Comment #119 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Jonathan Druart from comment #118) that says we can't created a shelf using db admin account instead of a MySql/DBIX error ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #120 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- We cannot track all the places this check should be done. It's a waste of time. But I am not against your patch, except that the Exception shouldn't be VirtualShelves specific (should be Koha::Exceptions::UseDbAdminAccount IMO). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41953|0 |1 is obsolete| | --- Comment #121 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42199 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42199&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41954|0 |1 is obsolete| | --- Comment #122 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42200 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42200&action=edit Bug 14544: Get rid of GetShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41955|0 |1 is obsolete| | --- Comment #123 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42201 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42201&action=edit Bug 14544: Get rid of AddShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41956|0 |1 is obsolete| | --- Comment #124 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42202 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42202&action=edit Bug 14544: Get rid of DelShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41957|0 |1 is obsolete| | --- Comment #125 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42203 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42203&action=edit Bug 14544: Get rid of ModShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41958|0 |1 is obsolete| | --- Comment #126 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42204 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42204&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41959|0 |1 is obsolete| | --- Comment #127 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42205 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42205&action=edit Bug 14544: Get rid of GetAllShelves Signed-off-by: Koha Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41960|0 |1 is obsolete| | --- Comment #128 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42206 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42206&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf Bug 14544: Allow a user to delete his own contents Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41973|0 |1 is obsolete| | --- Comment #129 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42207 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42207&action=edit Bug 14544: Make the intranet side independent of Page.pm Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41974|0 |1 is obsolete| | --- Comment #130 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42208 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42208&action=edit Bug 14544: Get rid of GetBibliosShelves Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41975|0 |1 is obsolete| | --- Comment #131 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42209 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42209&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41976|0 |1 is obsolete| | --- Comment #132 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42210 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42210&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41977|0 |1 is obsolete| | --- Comment #133 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42211 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42211&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41978|0 |1 is obsolete| | --- Comment #134 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42212 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42212&action=edit Bug 14544: Get rid of GetShelfContent Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41979|0 |1 is obsolete| | --- Comment #135 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42213 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42213&action=edit Bug 14544: Get rid of GetSomeShelfNames Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41980|0 |1 is obsolete| | --- Comment #136 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42214 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42214&action=edit Bug 14544: Move HandleDelBorrower to C4::Members Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41981|0 |1 is obsolete| | --- Comment #137 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42215 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42215&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41982|0 |1 is obsolete| | --- Comment #138 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42216 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42216&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41986|0 |1 is obsolete| | --- Comment #139 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42217 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42217&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41988|0 |1 is obsolete| | --- Comment #140 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42218 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42218&action=edit Bug 14544: DB Changes: Set a default value for sortfield Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42192|0 |1 is obsolete| | --- Comment #141 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 42219 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42219&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #142 from Alex Arnaud <alex.arnaud@biblibre.com> --- Didn't see any *new* bugs/issues so i signed off all the patches (except mine). But Why don't use this BZ to fix existing problems on virtualshelves system (Like the one shown by Fridolin)? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #143 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Alex Arnaud from comment #142)
Didn't see any *new* bugs/issues so i signed off all the patches (except mine).
But Why don't use this BZ to fix existing problems on virtualshelves system (Like the one shown by Fridolin)?
Because it's a huge change enough :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42219|0 |1 is obsolete| | --- Comment #144 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 42638 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42638&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> I don't think this is useful, it will be a mess if we have to check this case everywhere. But it works! I let the cut to the QAer or RM. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #145 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- I am planning to look at this patch set tomorrow, but I still have: Applying: Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page fatal: sha1 information is lacking or useless (catalogue/detail.pl). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42199|0 |1 is obsolete| | --- Comment #146 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43223 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43223&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42200|0 |1 is obsolete| | --- Comment #147 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43224 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43224&action=edit Bug 14544: Get rid of GetShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42201|0 |1 is obsolete| | --- Comment #148 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43225 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43225&action=edit Bug 14544: Get rid of AddShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42202|0 |1 is obsolete| | --- Comment #149 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43226 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43226&action=edit Bug 14544: Get rid of DelShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42203|0 |1 is obsolete| | --- Comment #150 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43227 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43227&action=edit Bug 14544: Get rid of ModShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42204|0 |1 is obsolete| | --- Comment #151 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43228 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43228&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42205|0 |1 is obsolete| | --- Comment #152 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43229 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43229&action=edit Bug 14544: Get rid of GetAllShelves Signed-off-by: Koha Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42206|0 |1 is obsolete| | --- Comment #153 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43230 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43230&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf Bug 14544: Allow a user to delete his own contents Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42207|0 |1 is obsolete| | --- Comment #154 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43231 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43231&action=edit Bug 14544: Make the intranet side independent of Page.pm Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42208|0 |1 is obsolete| | --- Comment #155 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43232 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43232&action=edit Bug 14544: Get rid of GetBibliosShelves Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42209|0 |1 is obsolete| | --- Comment #156 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43233 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43233&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42210|0 |1 is obsolete| | --- Comment #157 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43234 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43234&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42211|0 |1 is obsolete| | --- Comment #158 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43235 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43235&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42212|0 |1 is obsolete| | --- Comment #159 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43236 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43236&action=edit Bug 14544: Get rid of GetShelfContent Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42213|0 |1 is obsolete| | --- Comment #160 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43237 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43237&action=edit Bug 14544: Get rid of GetSomeShelfNames Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42214|0 |1 is obsolete| | --- Comment #161 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43238 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43238&action=edit Bug 14544: Move HandleDelBorrower to C4::Members Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42215|0 |1 is obsolete| | --- Comment #162 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43239 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43239&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42216|0 |1 is obsolete| | --- Comment #163 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43240 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43240&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42217|0 |1 is obsolete| | --- Comment #164 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43241 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43241&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42218|0 |1 is obsolete| | --- Comment #165 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43242 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43242&action=edit Bug 14544: DB Changes: Set a default value for sortfield Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42638|0 |1 is obsolete| | --- Comment #166 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43243 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43243&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> I don't think this is useful, it will be a mess if we have to check this case everywhere. But it works! I let the cut to the QAer or RM. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #167 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #145)
I am planning to look at this patch set tomorrow, but I still have:
Applying: Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page fatal: sha1 information is lacking or useless (catalogue/detail.pl). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
Patches rebased against master. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #168 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #167)
(In reply to Marcel de Rooy from comment #145)
I am planning to look at this patch set tomorrow, but I still have:
Applying: Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page fatal: sha1 information is lacking or useless (catalogue/detail.pl). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
Patches rebased against master.
Thanks. Applies now. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #169 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- QA: Looking at this now. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |m.de.rooy@rijksmuseum.nl |y.org | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #170 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43296 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43296&action=edit Bug 14544: [QA Follow-up] Fix warning about transaction When running Virtualshelves.t, you have this warning: DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1339. By moving the DBI lines after creating the TestBuilder object, the warning will be gone. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=13995 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #171 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- QA Comment: Great job !!! Lot of work involved. Still have some points for consideration: OPAC -- View contents of a list -- Send shelf - Crash Can't call method "can_be_viewed" on an undefined value at /home/koha/testclone/opac/opac-sendshelf.pl line 55. *BLOCKER* OPAC - View contents of a list - Sort by callnumber - Bang DBIx::Class::ResultSet::next(): Unknown column 'itemcallnumber' in 'order clause' at /home/koha/testclone/opac/opac-shelves.pl line 236 *BLOCKER* OPAC - Lists- Open a shared list where you do not have permission to remove items of someone else. Try to remove such an item. No success, but no warning too! IIRC There was a warning in the past about some items not deleted.. Now try to remove a item you added yourself to that list while having permission to remove your own entries. This does not work ! No items are deleted, no message. I am inclined to see this last point as a *BLOCKER* too. OPAC - View list - Delete your own item while the perms are ADD or DDD. Should not be possible. But the owner is able to now. This is change of behavior and not consistent with the wording of those permissions "Do not allow anyone to remove his own contributed entries" (including your own!). I would view it as a sort of Readonly list where you cannot accidentally delete your own items. (Note however that adding is still possible.) I am inclined to see this last point as a *BLOCKER* too (but I may not be completely neutral here :) + # FIXME + # This does not make sense, but it's has been backported from DelFromShelf. + # Why shouldn't we allow to remove his own contribution if allow_delete_other is on? Code Exceptions.pm module comes in now with a dependency Exception::Class. The description => "poeut" still needs some attention apparently :) Not sure what it means btw.. Although this looks good to me on itself, this dev should probably better have gone on its own report. Note there is another report too (13995). It kind of creeps in now. OPAC - Share a list - Enter email address - Return to your lists: This list does not exist ?? op=view && category=1. Adjust the URL? OPAC - I shared a list with AAD perms. The other user could add a few entries. After that removed the share. Now come back as owner of the list and try to remove one item of yourself and one of the other user. You will get the message: The item has been removed from the list. This is not completely true: You could only remove one item; the other is not permitted. OPAC - Create a new list - Starts with permissions D D D - Would it not be better to default to D A D ? Note that if I create a list with save to new list, it does default to DAD. So this is a minor inconsistency.. OPAC - View a list: For a list with ADD or DDD perms, the button Remove could be hidden or disabled? Might be the case now too btw. OPAC Detail - List(s) this item appears in: [nothing filled while expected] I click from view a (private) list on one entry. So go to opac detail. Should I expect that list to be mentioned now? It is not. Staff - View public lists [Related to another report] With the delete public lists permission I can delete the public list of another user. OK The staff user probably has a good reason to do so. Just noting that it would perhaps be more friendly to switch it to Private instead of a rigourous Delete? Code in opac-addbybiblionumber.pl: HandleSelectedShelf: Empty TODO in an else branch. Noting for the record. Code t/db_dependent/Utils/Datatables_Virtualshelves.t and C4/Utils/DataTables/VirtualShelves.pm This is only justified/used by svc/virtualshelves/search Isn't this the time to move this svc script to Koha::Virtualshelves too ? Or at least on another report ? Database design: Do we still need (or use) virtualshelfcontents.flags ? Could a dbrev remove it now? An observation (which could be considered as outside the scope): Add an item to the list with a barcode (in staff) is somewhat strange. You cannot add items, only biblios. This is current situation already. Just for completeness :) Moving the status to FQA now to reflect the need for some adjustments/clarifications. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #172 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #171)
QA Comment: Great job !!! Lot of work involved.
Thanks a lot for Qaing this! Very useful feedback :)
Still have some points for consideration:
OPAC -- View contents of a list -- Send shelf - Crash Can't call method "can_be_viewed" on an undefined value at /home/koha/testclone/opac/opac-sendshelf.pl line 55. *BLOCKER*
Fixed! The shelfnumber param was not passed. I have also add a test in the pl file to avoid this crash when viewing an non-existing shelf (now display 'not authorized', which is the current behavior).
OPAC - View contents of a list - Sort by callnumber - Bang DBIx::Class::ResultSet::next(): Unknown column 'itemcallnumber' in 'order clause' at /home/koha/testclone/opac/opac-shelves.pl line 236 *BLOCKER*
Fixed! But... This is a bad one. In opac-shelves.pl and shelves.pl, the join was only done on biblio. But itemcallnumber is in the items table. I had to add the biblio<=>biblioitems<=>items relationship to the Schema and a PK on virtualshelfcontents table (DBIx::Class::Storage::DBIHacks::_adjust_select_args_for_complex_prefetch(): Unable to perform complex limited prefetch off Virtualshelfcontent without declared primary key). Fixed in a separate patch. Note that bug 14819 is stuck in the NSO status but also adds the relationships.
OPAC - Lists- Open a shared list where you do not have permission to remove items of someone else. Try to remove such an item. No success, but no warning too! IIRC There was a warning in the past about some items not deleted.. Now try to remove a item you added yourself to that list while having permission to remove your own entries. This does not work ! No items are deleted, no message. I am inclined to see this last point as a *BLOCKER* too.
Fixed! The "op" was "view" instead of "remove_biblios" on the submit button. Note that the individual links work (and intranet is ok).
OPAC - View list - Delete your own item while the perms are ADD or DDD. Should not be possible. But the owner is able to now. This is change of behavior and not consistent with the wording of those permissions "Do not allow anyone to remove his own contributed entries" (including your own!). I would view it as a sort of Readonly list where you cannot accidentally delete your own items. (Note however that adding is still possible.) I am inclined to see this last point as a *BLOCKER* too (but I may not be completely neutral here :) + # FIXME + # This does not make sense, but it's has been backported from DelFromShelf. + # Why shouldn't we allow to remove his own contribution if allow_delete_other is on?
Well, not fixed. I have asked on #koha and Nicole agreed (http://irc.koha-community.org/koha/2015-08-18#i_1716925). So I am not sure what to do here.
Code Exceptions.pm module comes in now with a dependency Exception::Class. The description => "poeut" still needs some attention apparently :) Not sure what it means btw.. Although this looks good to me on itself, this dev should probably better have gone on its own report. Note there is another report too (13995). It kind of creeps in now.
poeut is a typo for pouet which does not mean anything :) The exceptions implementation can be modified easily later (the question was: should we put all exceptions in 1 file, all exceptions of a given module in 1 file or 1 exception per file).
OPAC - Share a list - Enter email address - Return to your lists: This list does not exist ?? op=view && category=1. Adjust the URL?
Fixed! Yes, the op is 'list', not 'view".
OPAC - I shared a list with AAD perms. The other user could add a few entries. After that removed the share. Now come back as owner of the list and try to remove one item of yourself and one of the other user. You will get the message: The item has been removed from the list. This is not completely true: You could only remove one item; the other is not permitted.
This is a specific case and I would prefer to manage it in a separate bug report. I am not sure this work on master :)
OPAC - Create a new list - Starts with permissions D D D - Would it not be better to default to D A D ? Note that if I create a list with save to new list, it does default to DAD. So this is a minor inconsistency..
Yes, and it's a regression. Fixed on both interface (I have c/p OPAC code for the intranet).
OPAC - View a list: For a list with ADD or DDD perms, the button Remove could be hidden or disabled? Might be the case now too btw.
Not easily, and there is no regression here: it's how it works currently. The problem is that the queries done in remove_biblios should be executed for each biblio in the list. Maybe not a big deal, to investigate...
OPAC Detail - List(s) this item appears in: [nothing filled while expected] I click from view a (private) list on one entry. So go to opac detail. Should I expect that list to be mentioned now? It is not.
Fixed! In the template shelves->count should be check, not only the shelves variable (which is always defined).
Staff - View public lists [Related to another report] With the delete public lists permission I can delete the public list of another user. OK The staff user probably has a good reason to do so. Just noting that it would perhaps be more friendly to switch it to Private instead of a rigourous Delete?
Todo later yes.
Code in opac-addbybiblionumber.pl: HandleSelectedShelf: Empty TODO in an else branch. Noting for the record.
Yes, I preferred to add the TODO marked than nothing, but no regression here.
Code t/db_dependent/Utils/Datatables_Virtualshelves.t and C4/Utils/DataTables/VirtualShelves.pm This is only justified/used by svc/virtualshelves/search Isn't this the time to move this svc script to Koha::Virtualshelves too ? Or at least on another report ?
Not ready yet. The rewrite should use the REST api.
Database design: Do we still need (or use) virtualshelfcontents.flags ? Could a dbrev remove it now?
To investigate, but yes, I am not sure to have found any usefulness to this column.
An observation (which could be considered as outside the scope): Add an item to the list with a barcode (in staff) is somewhat strange. You cannot add items, only biblios. This is current situation already. Just for completeness :)
Changing the wording could maybe fix the ambiguity. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #173 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43334 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43334&action=edit Bug 14544: Add missing biblio <=> biblioitems <=> items relationships to the schema -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #174 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43335 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43335&action=edit Bug 14544: QA fixes - some minor bug fixes See comment 171 and 172 for more details. This patch mainly fixes typo or silly error in templates. It also uses the relationships added by previous patch to join the biblioitems and items tables (changes in opac-shelves.pl and shelves.pl). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #175 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> ---
From IRC http://irc.koha-community.org/koha/2015-08-18 === 11:24 Joubu: nengard: Don't you think the following does not make sense? : "The owner of a list is always allowed to add entries, but needs permission to remove." 11:25 nengard that makes no sense at all ===
Well, i do not agree that it make no sense at all.. Although this is not the most important issue on lists, but just a detail, such a short conversation on irc is not the decisive factor for me to justify changing current behavior. Also note that the question is formulated rather suggestive. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #176 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #175)
From IRC http://irc.koha-community.org/koha/2015-08-18 === 11:24 Joubu: nengard: Don't you think the following does not make sense? : "The owner of a list is always allowed to add entries, but needs permission to remove." 11:25 nengard that makes no sense at all ===
Well, i do not agree that it make no sense at all.. Although this is not the most important issue on lists, but just a detail, such a short conversation on irc is not the decisive factor for me to justify changing current behavior. Also note that the question is formulated rather suggestive.
I don't have a strong opinion on it. I have to admit I did not see the "readonly list" feature, and it could make sense. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #177 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43403 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43403&action=edit Bug 14544: allow_delete_own == 0 could represent a read-only list This patch reintroduces the previous behavior. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #178 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Marcel, The last patch reintroduces the read-only list feature/bug :) If we decide later to remove it, we would be able to do it reverting this patch! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #179 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- I plan to look at this again Friday. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43403|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43223|0 |1 is obsolete| | --- Comment #180 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43456 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43456&action=edit Bug 14544: Add Koha::Virtualshelf and Koha::Virtualshelves The 2 modules C4::VirtualShelves and C4::VirtualShelves::Page are really badly coded and buggy. It became complicated to fix and enhance them. This rewrite will make the code more robust and the list feature will be easier to change. Some new modules are added to the Koha namespace (Koha::Virtualshelf, Koha::Virtualshelves, Koha::Virtualshelfshare[s] and Koha::Virtualshelfcontent[s]) to take advantage of Dbix::Class. The patchset fixes some bugs: 1/ Bug 6279 - Can't delete lists from the second page of lists in the OPAC 2/ The owner of a list should not need any permission to remove content from his lists. 3/ No feedback messages when actions are done Test plan: A) Intranet and OPAC 1/ Create more than 20 private and public lists with different users 2/ Edit some and confirm that the changes are taken into account 3/ Share some lists with other users 4/ Add / remove contents Be sure you have some lists with more than 20 items (to test the pagination) 5/ Play with permissions and confirm it works as expected. For private lists: They should not be viewed by anyone else, if they are not shared If they are shared (OPAC only): a. "Allow anyone else to add entries" Should allow the user with whom the list is shared to add entries. b. "Allow anyone to remove his own contributed entries." Should allow the user with whom the list is shared to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow the user with whom the list is shared to remove any entries. For public lists: They should be viewed by anyone else. a. "Allow anyone else to add entries" Should allow any user to add entries. b. "Allow anyone to remove his own contributed entries." Should allow any user to remove his own entries. c. "Allow anyone to remove other contributed entries." Should allow any user to remove any entries. 6/ Download and sent lists. 7/ Confirm that the "Add to" feature works as expected. 8/ Confirm that the "Add an item to" works as expected. 9/ Delete some lists. 10/ Print some lists and subscribe to the RSS feed (OPAC only) (with more than 20 items). 11/ Use the remove "Remove share" links. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43224|0 |1 is obsolete| | --- Comment #181 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43457 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43457&action=edit Bug 14544: Get rid of GetShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43225|0 |1 is obsolete| | --- Comment #182 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43458 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43458&action=edit Bug 14544: Get rid of AddShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43226|0 |1 is obsolete| | --- Comment #183 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43459 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43459&action=edit Bug 14544: Get rid of DelShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43227|0 |1 is obsolete| | --- Comment #184 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43460 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43460&action=edit Bug 14544: Get rid of ModShelf Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43228|0 |1 is obsolete| | --- Comment #185 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43461 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43461&action=edit Bug 14544: Move share routines to Koha::Virtualshelfshare and Koha::Virtualshelfshares Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43229|0 |1 is obsolete| | --- Comment #186 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43462 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43462&action=edit Bug 14544: Get rid of GetAllShelves Signed-off-by: Koha Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43230|0 |1 is obsolete| | --- Comment #187 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43463 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43463&action=edit Bug 14544: Koha::Virtualshelfcontent[s] Get rid of AddToShelf and DelFromShelf Bug 14544: Allow a user to delete his own contents Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43231|0 |1 is obsolete| | --- Comment #188 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43464 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43464&action=edit Bug 14544: Make the intranet side independent of Page.pm Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43232|0 |1 is obsolete| | --- Comment #189 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43465 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43465&action=edit Bug 14544: Get rid of GetBibliosShelves Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43233|0 |1 is obsolete| | --- Comment #190 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43466 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43466&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43234|0 |1 is obsolete| | --- Comment #191 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43467 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43467&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43235|0 |1 is obsolete| | --- Comment #192 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43469 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43469&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43236|0 |1 is obsolete| | --- Comment #193 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43470 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43470&action=edit Bug 14544: Get rid of GetShelfContent Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43237|0 |1 is obsolete| | --- Comment #194 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43471 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43471&action=edit Bug 14544: Get rid of GetSomeShelfNames Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43238|0 |1 is obsolete| | --- Comment #195 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43472 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43472&action=edit Bug 14544: Move HandleDelBorrower to C4::Members Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43239|0 |1 is obsolete| | --- Comment #196 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43473 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43473&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43240|0 |1 is obsolete| | --- Comment #197 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43474 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43474&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43241|0 |1 is obsolete| | --- Comment #198 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43475 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43475&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43242|0 |1 is obsolete| | --- Comment #199 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43476 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43476&action=edit Bug 14544: DB Changes: Set a default value for sortfield Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43243|0 |1 is obsolete| | --- Comment #200 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43477 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43477&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> I don't think this is useful, it will be a mess if we have to check this case everywhere. But it works! I let the cut to the QAer or RM. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43296|0 |1 is obsolete| | --- Comment #201 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43478 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43478&action=edit Bug 14544: [QA Follow-up] Fix warning about transaction When running Virtualshelves.t, you have this warning: DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1339. By moving the DBI lines after creating the TestBuilder object, the warning will be gone. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43334|0 |1 is obsolete| | --- Comment #202 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43479 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43479&action=edit Bug 14544: Add missing biblio <=> biblioitems <=> items relationships to the schema Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Adjusted by a follow-up. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43335|0 |1 is obsolete| | --- Comment #203 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43480 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43480&action=edit Bug 14544: QA fixes - some minor bug fixes See comment 171 and 172 for more details. This patch mainly fixes typo or silly error in templates. It also uses the relationships added by previous patch to join the biblioitems and items tables (changes in opac-shelves.pl and shelves.pl). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #204 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43481 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43481&action=edit Bug 14544: [QA Follow-up] Added some test descriptions Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #205 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 43482 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43482&action=edit Bug 14544: [QA Follow-up] DBIx::Class changes One of the follow-ups added a belongs_to from Biblioitem to Item just as biblioitemnumber was a foreign key to Item. The relation goes the other way. As a temporary measure, I added set_primary_key in the local section of Virtualshelfcontent. Should be moved later with a real db rev. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
OPAC - Share a list - Enter email address - Return to your lists: This list does not exist ?? op=view && category=1. Adjust the URL? Fixed! Yes, the op is 'list', not 'view". Fixed?? This is still a problem. Did you test it? (No blocker for such a large
Fixed! But... This is a bad one. In opac-shelves.pl and shelves.pl, the join was only done on biblio. But itemcallnumber is in the items table. I had to add the biblio<=>biblioitems<=>items relationship to the Schema and a PK on virtualshelfcontents table (DBIx::Class::Storage::DBIHacks::_adjust_select_args_for_complex_prefetch(): Unable to perform complex limited prefetch off Virtualshelfcontent without declared primary key). But this is not completely solved. View a private list in opac or staff: Bang. DBIx::Class::ResultSet::next(): Operation requires a primary key to be declared on 'Virtualshelfcontent' via set_primary_key How did you test this? :) Apparently, you forgot to include this added PK in your patches. Fixed by a hack now: added set_primary_key in Virtualshelfcontent in the local
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #206 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- QA Comment [Continuation]: Thanks again for your hard work. patch, but ... Do you miss the shelf number?) section. Please adjust this by defining the PK on the table and regenerating the DBIx file. Note also that I removed the belongs_to from Biblioitem to Item. This is not a FK but a PK.
Fixed! The "op" was "view" instead of "remove_biblios" on the submit button. Note that the individual links work (and intranet is ok). I removed two items. One should not be removed, the other should. This works now, but the message is not really clear. No blocker.
The last patch reintroduces the read-only list feature/bug :) If we decide later to remove it, we would be able to do it reverting this patch! Applying: Bug 14544: allow_delete_own == 0 could represent a read-only list Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Auto-merging t/db_dependent/Virtualshelves.t CONFLICT (content): Merge conflict in t/db_dependent/Virtualshelves.t At this time I rather obsolete this additional patch. The wording was removed, the behavior slightly changed. No need to test this now. It has been just a reminder that changing behavior may need more communication than one incidental IRC chat :)
Additional observation: The Author and [Date added] column in the shelf view on staff are empty. (With and without the last four follow-up patches.) Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #207 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Note to RM Another db rev may follow from Jonathan to correct the mentioned PK issue with DBIx. Please note that you get Koha::Exception too now. (See earlier QA comment.) An early push may help us to detect if this patch set still contains some further issues. But it looks quite good. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #208 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43485 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43485&action=edit Bug 14544: Fix 'back to lists' link -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #209 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #206)
QA Comment [Continuation]:
Thanks again for your hard work.
OPAC - Share a list - Enter email address - Return to your lists: This list does not exist ?? op=view && category=1. Adjust the URL? Fixed! Yes, the op is 'list', not 'view". Fixed?? This is still a problem. Did you test it? (No blocker for such a large patch, but ... Do you miss the shelf number?)
Hum no, I have tested the link just before the form submit! The last patch fixes that.
Fixed! But... This is a bad one. In opac-shelves.pl and shelves.pl, the join was only done on biblio. But itemcallnumber is in the items table. I had to add the biblio<=>biblioitems<=>items relationship to the Schema and a PK on virtualshelfcontents table (DBIx::Class::Storage::DBIHacks::_adjust_select_args_for_complex_prefetch(): Unable to perform complex limited prefetch off Virtualshelfcontent without declared primary key). But this is not completely solved. View a private list in opac or staff: Bang. DBIx::Class::ResultSet::next(): Operation requires a primary key to be declared on 'Virtualshelfcontent' via set_primary_key How did you test this? :) Apparently, you forgot to include this added PK in your patches. Fixed by a hack now: added set_primary_key in Virtualshelfcontent in the local section. Please adjust this by defining the PK on the table and regenerating the DBIx file. Note also that I removed the belongs_to from Biblioitem to Item. This is not a FK but a PK.
With my previous branch (so without your follow-ups), I have regenerated the schema and I don't get an error viewing a private list. That's why I have added the belongs_to rs. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #210 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43486 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43486&action=edit Bug 14544: Fixes regression: display author and dateadded on the list view [intranet] -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #211 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #206)
Additional observation: The Author and [Date added] column in the shelf view on staff are empty. (With and without the last four follow-up patches.)
See last patch. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #212 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #208)
Created attachment 43485 [details] [review] Bug 14544: Fix 'back to lists' link
Sure about the location? sendshelf? Creating a share is shareshelf? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #213 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #212)
(In reply to Jonathan Druart from comment #208)
Created attachment 43485 [details] [review] [review] Bug 14544: Fix 'back to lists' link
Sure about the location? sendshelf? Creating a share is shareshelf?
Erk, no! So there is another one missing. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #214 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43487 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43487&action=edit Bug 14544: Fix 'Back to lists' links on sharing a shelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #215 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Marcel de Rooy from comment #212)
(In reply to Jonathan Druart from comment #208)
Created attachment 43485 [details] [review] [review] Bug 14544: Fix 'back to lists' link
Sure about the location? sendshelf? Creating a share is shareshelf?
Sorry about that. I am sure I have fixed it already but I have certainly lost it during a rebase -i. Now it works! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14836, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14828, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=10363, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14888, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14889 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15084 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #216 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Please rebase. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43464|0 |1 is obsolete| | --- Comment #217 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44467 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44467&action=edit Bug 14544: Make the intranet side independent of Page.pm Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43465|0 |1 is obsolete| | --- Comment #218 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44468 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44468&action=edit Bug 14544: Get rid of GetBibliosShelves Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43466|0 |1 is obsolete| | --- Comment #219 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44469 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44469&action=edit Bug 14544: Get rid of GetShelves This does not work for now, see later. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43467|0 |1 is obsolete| | --- Comment #220 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44470 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44470&action=edit Bug 14544: Make the OPAC side independent of Page.pm Bug 14544: Fix redirect on editing a list If you edit a list from the list view, after saving the form, you are not redirected to the list view (but on the edit form). Bug 14544: Cosmetic: › should be a class divider Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43469|0 |1 is obsolete| | --- Comment #221 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44471 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44471&action=edit Bug 14544: Get rid of ShelfPossibleAction Bug 14544: (follow-up) Get rid of ShelfPossibleAction Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43470|0 |1 is obsolete| | --- Comment #222 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44472 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44472&action=edit Bug 14544: Get rid of GetShelfContent Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43471|0 |1 is obsolete| | --- Comment #223 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44473 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44473&action=edit Bug 14544: Get rid of GetSomeShelfNames Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43472|0 |1 is obsolete| | --- Comment #224 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44474 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44474&action=edit Bug 14544: Move HandleDelBorrower to C4::Members Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43473|0 |1 is obsolete| | --- Comment #225 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44475 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44475&action=edit Bug 14544: Get rid of C4::VirtualShelves and C4::VirtualShelves::Page Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43474|0 |1 is obsolete| | --- Comment #226 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44476 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44476&action=edit Bug 14544: Remove wrong tips about permissions The owner of a list should not need any permission to remove contents. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43475|0 |1 is obsolete| | --- Comment #227 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44477 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44477&action=edit Bug 14544: Fix regression on adding a new list The user should not be allowed to create a new list and get a friendly error message if he tries. The "New list" links are removed. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43476|0 |1 is obsolete| | --- Comment #228 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44478 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44478&action=edit Bug 14544: DB Changes: Set a default value for sortfield Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43477|0 |1 is obsolete| | --- Comment #229 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44479 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44479&action=edit Bug 14544 - Handle database error when creating a shelf with DB admin account Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> I don't think this is useful, it will be a mess if we have to check this case everywhere. But it works! I let the cut to the QAer or RM. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43478|0 |1 is obsolete| | --- Comment #230 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44480 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44480&action=edit Bug 14544: [QA Follow-up] Fix warning about transaction When running Virtualshelves.t, you have this warning: DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1339. By moving the DBI lines after creating the TestBuilder object, the warning will be gone. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43479|0 |1 is obsolete| | --- Comment #231 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44481 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44481&action=edit Bug 14544: Add missing biblio <=> biblioitems <=> items relationships to the schema Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Adjusted by a follow-up. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43480|0 |1 is obsolete| | --- Comment #232 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44482 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44482&action=edit Bug 14544: QA fixes - some minor bug fixes See comment 171 and 172 for more details. This patch mainly fixes typo or silly error in templates. It also uses the relationships added by previous patch to join the biblioitems and items tables (changes in opac-shelves.pl and shelves.pl). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43481|0 |1 is obsolete| | --- Comment #233 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44483 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44483&action=edit Bug 14544: [QA Follow-up] Added some test descriptions Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43482|0 |1 is obsolete| | --- Comment #234 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44484 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44484&action=edit Bug 14544: [QA Follow-up] DBIx::Class changes One of the follow-ups added a belongs_to from Biblioitem to Item just as biblioitemnumber was a foreign key to Item. The relation goes the other way. As a temporary measure, I added set_primary_key in the local section of Virtualshelfcontent. Should be moved later with a real db rev. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43485|0 |1 is obsolete| | --- Comment #235 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44485 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44485&action=edit Bug 14544: Fix 'back to lists' link -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43486|0 |1 is obsolete| | --- Comment #236 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44486 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44486&action=edit Bug 14544: Fixes regression: display author and dateadded on the list view [intranet] -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43487|0 |1 is obsolete| | --- Comment #237 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44487 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44487&action=edit Bug 14544: Fix 'Back to lists' links on sharing a shelf -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #238 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patches pushed to master. Thanks Jonathan! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Lists |Architecture, internals, | |and plumbing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #239 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44758 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44758&action=edit Bug 14544: Remove debug line -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #240 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Thanks for the followup, Jonathan! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Marjorie Barry-Vila <marjorie.barry-vila@ccsr.qc.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@ccsr.qc | |.ca -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 --- Comment #241 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44845 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44845&action=edit Bug 14544: Fix regression on sending an email from staff The shelfnumber was not filled and result in a software error Can't call method "get_contents" on an undefined value at /home/koha/src/virtualshelves/sendshelf.pl line 74. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15137 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44845|0 |1 is obsolete| | --- Comment #242 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 44852 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44852&action=edit Bug 14544: Fix regression on sending an email from staff The shelfnumber was not filled and result in a software error Can't call method "get_contents" on an undefined value at /home/koha/src/virtualshelves/sendshelf.pl line 74. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44852|0 |1 is obsolete| | --- Comment #243 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 44863 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44863&action=edit [SIGNED-OFF] Bug 14544: Fix regression on sending an email from staff The shelfnumber was not filled and result in a software error Can't call method "get_contents" on an undefined value at /home/koha/src/virtualshelves/sendshelf.pl line 74. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Whith patch mail is sent. No errors -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44863|0 |1 is obsolete| | --- Comment #244 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 44872 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44872&action=edit [PASSED QA] Bug 14544: Fix regression on sending an email from staff The shelfnumber was not filled and result in a software error Can't call method "get_contents" on an undefined value at /home/koha/src/virtualshelves/sendshelf.pl line 74. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Whith patch mail is sent. No errors Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |In Discussion --- Comment #245 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Last patch needs to be pushed. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15137 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15137 [Bug 15137] List email sent from staff is missing ISBN and author information -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #246 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Followup pushed to master. Thanks Jonathan, again! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|15137 | Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15137 [Bug 15137] List email sent from staff is missing ISBN and author information -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15293 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15379 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15449 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15449 [Bug 15449] Move stuffs to the Koha namespace -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14836 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14888 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=10363 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14889 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15084 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15379 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15293 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=14828 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15453 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15453 [Bug 15453] Cannot download a list in the staff interface -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14544 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15394 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15394 [Bug 15394] Confirm messages on OPAC lists interface strangely worded -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org