[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druart changed: What|Removed |Added Blocks||22930 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22930 [Bug 22930] Make TestBuilder more strict when called with too wrong arguments -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Bug 15339 depends on bug 19268, which changed state. Bug 19268 Summary: Fix wrong TestBuilder parameter in few unit tests https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19268 What|Removed |Added Status|Pushed to Master|RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Fridolin SOMERSchanged: What|Removed |Added CC||fridolin.som...@biblibre.co ||m Resolution|--- |FIXED Status|Pushed to Master|RESOLVED --- Comment #15 from Fridolin SOMERS --- Enhancement not pushed to 17.05.x -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #14 from Marcel de Rooy--- (In reply to Jonathan Druart from comment #12) > Created attachment 66951 [details] [review] > Bug 15339: Remove extra 'my' O my. Thx for catching that.. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druartchanged: What|Removed |Added Status|Passed QA |Pushed to Master --- Comment #13 from Jonathan Druart --- Pushed to master for 17.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #12 from Jonathan Druart--- Created attachment 66951 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66951=edit Bug 15339: Remove extra 'my' -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druartchanged: What|Removed |Added Depends on||19268 See Also|https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=19268 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19268 [Bug 19268] Fix wrong TestBuilder parameter in few unit tests -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #11 from Marcel de Rooy--- Created attachment 66924 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66924=edit Bug 15339: [QA Follow-up] Add a warning too when source is not supplied When you do not supply a source and add a few wrong parameters, you would not be warned. Because build simply returns undef. Adding a carp and a test for that situation too. Note: In the earlier subtest 'trivial tests' build was called without source. This now generates a warning. We just catch if there is a warning and test the actual warning itself later on. Test plan: Run t/db_dependent/TestBuilder.t Signed-off-by: Marcel de Rooy -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=19268 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added Attachment #66892|0 |1 is obsolete|| --- Comment #8 from Marcel de Rooy --- Created attachment 66921 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66921=edit Bug 15339: TestBuilder warnings (code) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch holds the code changes. Examples of the kind of errors that it catches are in the tests (separate patch). Sponsored-By: Halland County Library Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added Attachment #66894|0 |1 is obsolete|| --- Comment #10 from Marcel de Rooy --- Created attachment 66923 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66923=edit Bug 15339: Improve parameter validation Only value and source are allowed Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added Attachment #66893|0 |1 is obsolete|| --- Comment #9 from Marcel de Rooy --- Created attachment 66922 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66922=edit Bug 15339: TestBuilder warnings (tests) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch contains the tests that doubles as a demonstration of the kind of error the patch is intended to prevent. Sponsored-By: Halland County Library Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added QA Contact|gmcha...@gmail.com |m.de.r...@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org --- Comment #7 from Jonathan Druart --- Patches have been rebased and adapt to the new code. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druartchanged: What|Removed |Added Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #5 from Jonathan Druart--- Created attachment 66893 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66893=edit Bug 15339: TestBuilder warnings (tests) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch contains the tests that doubles as a demonstration of the kind of error the patch is intended to prevent. Sponsored-By: Halland County Library Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Jonathan Druartchanged: What|Removed |Added Attachment #45527|0 |1 is obsolete|| Attachment #45528|0 |1 is obsolete|| --- Comment #4 from Jonathan Druart --- Created attachment 66892 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66892=edit Bug 15339: TestBuilder warnings (code) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch holds the code changes. Examples of the kind of errors that it catches are in the tests (separate patch). Sponsored-By: Halland County Library Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #6 from Jonathan Druart--- Created attachment 66894 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66894=edit Bug 15339: Improve parameter validation Only value and source are allowed Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Marcel de Rooychanged: What|Removed |Added CC||m.de.r...@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Chris Cormackchanged: What|Removed |Added Assignee|ch...@bigballofwax.co.nz|xarra...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #2 from Martin Persson--- Created attachment 45528 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45528=edit Bug 15339: TestBuilder warnings (tests) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch contains the tests that doubles as a demonstration of the kind of error the patch is intended to prevent. Sponsored-By: Halland County Library -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Martin Perssonchanged: What|Removed |Added Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 --- Comment #1 from Martin Persson--- Created attachment 45527 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45527=edit Bug 15339: TestBuilder warnings (code) Makes TestBuilder::build() alert the user when unreognized parameters are passed, which happens when the user supplies the column values directly, forgetting the 'value' hash. This patch holds the code changes. Examples of the kind of errors that it catches are in the tests (separate patch). Sponsored-By: Halland County Library -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 15339] TestBuilder build parameter warnings
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15339 Martin Perssonchanged: What|Removed |Added Status|Needs Signoff |Failed QA --- Comment #3 from Martin Persson --- Realized there are some shortcomings that I need to fix before this is worth looking at. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/