[Koha-bugs] [Bug 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #169552|0 |1 is obsolete|| -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #169551|0 |1 is obsolete|| -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #24 from Pedro Amorim --- Created attachment 174835 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174835&action=edit Bug 37448: Add build_sample_ill_request The linked biblio_id of a generated test ILL request needs to be created by build_sample_biblio->AddBiblio. Or else the related biblio is created by just 'build' and is not indexed + its related metadata is missing. To test: 1) Apply the [DONT PUSH] patch and enable ILLModule 2) Run the script for ILL requests: misc/devel/create_test_data.pl -n 5 -s Illrequest -d backend=Standard 3) Visit the ILLModule: http:///cgi-bin/koha/ill/ill-requests.pl 4) Notice it loads 5 test ILL requests correctly Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #23 from Pedro Amorim --- Created attachment 174834 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174834&action=edit [DONT PUSH] Bug 37448: Add script to allow developers to quickly generate large amounts of data for development and testing Test Plan: 1) Apply this patch 2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall -d zipcode=11 3) Search patrons' for the name "Hall" 4) Note there are 99 Hall's in your results! Signed-off-by: Kyle M Hall Signed-off-by: Pedro Amorim Bug 37448: Make use of build_sample_biblio and build_sample_item The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed To test, before this patch, run: 1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio) 2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall Bug 37448: (QA follow-up) Tidy script Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #174528|0 |1 is obsolete|| -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #169553|0 |1 is obsolete|| -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #169550|0 |1 is obsolete|| -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #174526|0 |1 is obsolete|| --- Comment #18 from Pedro Amorim --- Created attachment 174528 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174528&action=edit Bug 37448: (QA follow-up) Squashed follow-ups: - Use Standard instead of FreeForm -- Standard is now part of core Koha after 35570. Use that instead of relying on having FreeForm installed - Add POD to build_sample_ill_request - Use build_object instead of build -> return a Koha::ILL::Request obj instead of unblessed. - Squashed typo fix in create_test_data.pl -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 David Cook changed: What|Removed |Added CC||dc...@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #22 from Jonathan Druart --- > I'd like to still have have build_sample_ill_request in core though to be > used for tests. Does that sound sensible? Yes sure! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #21 from Jonathan Druart --- A separate plugin would certainly be better IMO. But we could accept a koha-misc4dev merge-request as a short-term solution. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #20 from Pedro Amorim --- (In reply to Jonathan Druart from comment #19) > koha-jump plugin had that in mind. > > And I think this kind of scripts should be kept outside of the main repo. > Mainly because it won't require SO+QA+RM on it, and make it easier to > improve/contribute > > Only giving my opinion here. Fair. Agreed. Should we push this to https://gitlab.com/koha-community/koha-misc4dev instead? I'd like to still have have build_sample_ill_request in core though to be used for tests. Does that sound sensible? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #19 from Jonathan Druart --- koha-jump plugin had that in mind. And I think this kind of scripts should be kept outside of the main repo. Mainly because it won't require SO+QA+RM on it, and make it easier to improve/contribute Only giving my opinion here. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Paul Derscheid changed: What|Removed |Added Status|Signed Off |Failed QA --- Comment #17 from Paul Derscheid --- kohadev-koha@kohadevbox:koha(bug_37448)$ qa testing 4 commit(s) (applied to 27e8543 '91 Bug 38011: Fix ReNewSubscription.t') Processing files before patches |>| 2 / 2 (100.00%) Processing files after patches |>| 2 / 2 (100.00%) FAIL misc/devel/create_test_data.pl FAIL spelling specificed ==> specified FAIL t/lib/TestBuilder.pm FAIL pod coverage POD is missing for build_sample_ill_request Processing additional checks * Commit title does not start with 'Bug X: ' - 03bfa19676 * Was this bug sponsored by anyone? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #16 from Pedro Amorim --- Created attachment 174526 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174526&action=edit Bug 37448: (QA follow-up) Use Standard instead of FreeForm Standard is now part of core Koha after 35570. Use that instead of relying on having FreeForm installed -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Blocks||38441 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38441 [Bug 38441] ILL - Allow for a history check workflow stage -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Patch complexity|--- |Trivial patch CC||m.de.r...@rijksmuseum.nl, ||paul.dersch...@lmscloud.de --- Comment #15 from Pedro Amorim --- Adding others here, anyone available for QA? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #14 from Kyle M Hall --- Created attachment 169553 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169553&action=edit Bug 37448: (QA follow-up) Tidy script Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #13 from Kyle M Hall --- Created attachment 169552 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169552&action=edit Bug 37448: Add build_sample_ill_request The linked biblio_id of a generated test ILL request needs to be created by build_sample_biblio->AddBiblio. Or else the related biblio is created by just 'build' and is not indexed + its related metadata is missing. To test: 1) Enabling ILL and installing FreeForm by running: bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) 2) Run the script for ILL requests: misc/devel/create_test_data.pl -n 5 -s Illrequest -d backend=FreeForm 3) Visit the ILLModule: http:///cgi-bin/koha/ill/ill-requests.pl 4) Notice it loads 5 test ILL requests correctly Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #12 from Kyle M Hall --- Created attachment 169551 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169551&action=edit Bug 37448: Make use of build_sample_biblio and build_sample_item The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed To test, before this patch, run: 1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio) 2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Kyle M Hall changed: What|Removed |Added Attachment #169486|0 |1 is obsolete|| Attachment #169489|0 |1 is obsolete|| Attachment #169490|0 |1 is obsolete|| --- Comment #11 from Kyle M Hall --- Created attachment 169550 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169550&action=edit Bug 37448 - Add script to allow developers to quickly generate large amounts of data for development and testing Test Plan: 1) Apply this patch 2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall -d zipcode=11 3) Search patrons' for the name "Hall" 4) Note there are 99 Hall's in your results! Signed-off-by: Kyle M Hall Signed-off-by: Pedro Amorim -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #10 from Pedro Amorim --- Apologies for the additional follow-up, but upon further testing this is required for ILL requests I want to make use of this script for ILL testing (!). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #9 from Pedro Amorim --- Created attachment 169490 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169490&action=edit Bug 37448: Add build_sample_ill_request The linked biblio_id of a generated test ILL request needs to be created by build_sample_biblio->AddBiblio. Or else the related biblio is created by just 'build' and is not indexed + its related metadata is missing. To test: 1) Enabling ILL and installing FreeForm by running: bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) 2) Run the script for ILL requests: misc/devel/create_test_data.pl -n 5 -s Illrequest -d backend=FreeForm 3) Visit the ILLModule: http:///cgi-bin/koha/ill/ill-requests.pl 4) Notice it loads 5 test ILL requests correctly Signed-off-by: Pedro Amorim -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #8 from Kyle M Hall --- Thanks for the excellent followup Pedro! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Kyle M Hall changed: What|Removed |Added Attachment #169488|0 |1 is obsolete|| --- Comment #7 from Kyle M Hall --- Created attachment 169489 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169489&action=edit Bug 37448: Make use of build_sample_biblio and build_sample_item The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed To test, before this patch, run: 1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio) 2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Kyle M Hall changed: What|Removed |Added Attachment #169487|0 |1 is obsolete|| --- Comment #6 from Kyle M Hall --- Created attachment 169488 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169488&action=edit Bug 37448: Make use of build_sample_biblio and build_sample_item The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed To test, before this patch, run: 1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio) 2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors Signed-off-by: Pedro Amorim Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #5 from Pedro Amorim --- Side info: Enabling ILL and installing FreeForm by running: bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) If we then run: misc/devel/create_test_data.pl -n 99 -s Illrequest -d backend=FreeForm It works beautifully, and although not an exact 1 to 1 to what I did at https://github.com/ammopt/koha-ill-dev/blob/master/lib/KohaFactory/ILL.pm This way using the test builder instead is much more elegant and practical. Thanks Kyle this is awesome. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #4 from Pedro Amorim --- Created attachment 169487 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169487&action=edit Bug 37448: Make use of build_sample_biblio and build_sample_item The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed To test, before this patch, run: 1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio) 2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors Signed-off-by: Pedro Amorim -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Attachment #169474|0 |1 is obsolete|| --- Comment #3 from Pedro Amorim --- Created attachment 169486 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169486&action=edit Bug 37448 - Add script to allow developers to quickly generate large amounts of data for development and testing Test Plan: 1) Apply this patch 2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall -d zipcode=11 3) Search patrons' for the name "Hall" 4) Note there are 99 Hall's in your results! Signed-off-by: Kyle M Hall Signed-off-by: Pedro Amorim -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Kyle M Hall changed: What|Removed |Added Attachment #169472|0 |1 is obsolete|| --- Comment #2 from Kyle M Hall --- Created attachment 169474 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169474&action=edit Bug 37448 - Add script to allow developers to quickly generate large amounts of data for development and testing Test Plan: 1) Apply this patch 2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall -d zipcode=11 3) Search patrons' for the name "Hall" 4) Note there are 99 Hall's in your results! Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Pedro Amorim changed: What|Removed |Added CC||jonathan.dru...@gmail.com, ||matt.blenkinsop@ptfs-europe ||.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Martin Renvoize changed: What|Removed |Added CC||martin.renvoize@ptfs-europe ||.com, ||pedro.amo...@ptfs-europe.co ||m -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 --- Comment #1 from Kyle M Hall --- Created attachment 169472 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169472&action=edit Bug 37448 - Add script to allow developers to quickly generate large amounts of data for development and testing Test Plan: 1) Apply this patch 2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall -d zipcode=11 3) Search patrons' for the name "Hall" 4) Note there are 99 Hall's in your results! Signed-off-by: Kyle M Hall -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 37448] Add script to allow developers to quickly generate large amounts of data for development and testing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37448 Kyle M Hall changed: What|Removed |Added Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/