https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24742
Bug ID: 24742
Summary: Can't save news item in strict mode without value in
number field
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If strict mode is enabled, you can't save a news item without putting a number
in the "Appears in position" field. The operation fails silently and this error
appears in the log:
DBD::mysql::st execute failed: Incorrect integer value: '' for column 'number'
at row 1 [for Statement "UPDATE opac_news SET number = ?,expirationdate =
?,lang = ?,timestamp = ?,title = ?,branchcode = ?,content = ? WHERE idnew = ?;"
with ParamValues: 0="", ... ] at /kohadevbox/koha/C4/NewsChannels.pm line 106.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/