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

Don't tag-escape validation errors in AJAX-validated forms

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-RC1
    • Component/s: Front End
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      The missing phrase translation links in error messages during AJAX-validation of the form were not clickable.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Every non-translated phrase in debug mode is converted to a link, that allows to instantly translate it.

      However I've noticed, that FormManager´╗┐ also escapes these links (to be JSON-friendly) and this in fact breaks them when the appear on a page. This happens with non-translated field validation error phrases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: