Menu

#418 Page number field for Content titles is only 8 characters long

v1.0 (example)
closed-fixed
None
5
2014-02-18
2013-12-28
Ahasuerus
No

The effective page number field in the Content section of New/Edit/Clone Pub form is only 8 characters long. This is because the underlying MySQL field, pubc_page in table pub_content is defined as varchar(8). If the entered value is longer than 8 characters (after database escaping), it causes a Python error at file time.

Discussion

  • Ahasuerus

    Ahasuerus - 2014-02-18
    • status: open --> closed-fixed
    • assigned_to: Ahasuerus
     
  • Ahasuerus

    Ahasuerus - 2014-02-18

    Changed the column's database definition to 20 characters, added JS and server-side validation in:

    common/pubClass.py 1.22
    edit/isfdblib.py 1.62
    scripts/change_page_number_field.sql 1.1
    

    Installed in r2014-93 on 2014-02-17. Closing.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB