Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/950109cb7006179e#

In one project recently revealed the problem - the administrator has entered
into CMS-block too long HTML. As a result, HTML was cut up to ~65000
characters, cutted up incorrectly, with a broken tag. Because of this the
next time admin try to to open a CMS-block for editing - occurred js-error
and the admin could not fix anything.

I propose either
1) to implement one of the following solutions:

  1. change the field type, which stores the text of CMS-block in the

...

  1. database, so there may be placed a longer text (mediumtext or longtext)

...

...

  1. make validation for add/edit CMS-block form, so that in case of field

...

  1. overflow, the validation error prevents incorrect data saving

...

Related Tasks

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-893