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.
Anonymous
Changed the column's database definition to 20 characters, added JS and server-side validation in:
Installed in r2014-93 on 2014-02-17. Closing.