Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-893

Long text are cut in the middle in page content blocks

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3-RC1
    • Fix Version/s: 5.1.3
    • Component/s: Admin Interfaces
    • Labels:
      None

      Description

      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) change the field type, which stores the text of CMS-block in the database, so there may be placed a longer text (mediumtext or longtext)
      or
      2) make validation for add/edit CMS-block form, so that in case of field overflow, the validation error prevents incorrect data saving.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                erik Erik Snarski [Intechnic]
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: