https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38839
--- Comment #2 from Leo Stoyanov <[email protected]> --- Created attachment 176279 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176279&action=edit Bug 38839: Added validation for replacementprice in items form and batch mod form. Validation has been added for the batch mod form because it also takes replacement price as input and lacked validation. To recreate: 1. On the dashboard, make sure to select "Search catalog". 2. Search in the catalog, select anything, click "Edit", and select "Manage items". 3. Click "Actions" on the item in the table, select "Edit", and input an invalid "Cost, replacement price" (e.g., 1,00). 4. Click "Save changes" and the form will submit but with no price shown in the table on the next page. 5. Apply the patch and repeat steps 1-4. A red error message below the input will appear, notifying the user that only numbers and periods are allowed. The user will not be able to submit the form. 6. The same bug and fix should apply to the batch mod form under "Cataloging" and "Batch item modification". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] 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/
