[Bug 13005] New: suggestions.budgetid should be NULL if not filled
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Bug ID: 13005 Summary: suggestions.budgetid should be NULL if not filled Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@biblibre.com QA Contact: testopia@bugs.koha-community.org If a suggestion is created or updated, the suggestions.budgetid DB field is set to 0. It should be set to NULL. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |jonathan.druart@biblibre.co |ity.org |m -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@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=13005 --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 31918 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31918&action=edit Bug 13005: suggestions.budgetid should be NULL if not filled On creating/updating a suggestion, the budgetid should be NULL or contain a budgetid, but not '0'. Test plan: 0/ Verify you have a suggestions.budgetid set to 0. 1/ Execute the updatedb entry and verify there is no budgetid==0 anymore. 2/ Create and update a suggestion selecting a fund and verify the budgetid DB field is correctly filled. 3/ Create and update a suggestion without selecting a fund and verify the budgetid DB field is set to NULL. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 --- Comment #2 from Jonathan Druart <jonathan.druart@biblibre.com> --- Note that this field should reference aqbudgets.budget_id. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12627 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 31919 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31919&action=edit Bug 13005: suggestions.budgetid should be NULL if not filled - Unit tests prove t/db_dependent/Suggestions.t should return green -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Acquisitions |Architecture, internals, | |and plumbing Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |13007 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- Will be fixed by bug 13007. *** This bug has been marked as a duplicate of bug 13007 *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|13007 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13005 Bug 13005 depends on bug 12627, which changed state. Bug 12627 Summary: SQLHelper replacement - C4::Suggestions http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12627 What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org