Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26101

Integer and Float Fields validation broken in Firefox

    XMLWordPrintable

Details

    Description

      In Firefox, PlatformUI validation causes the following error(in at least integer and float):

      Unable to check <input pattern='\-?\d*'> because the pattern is not a valid regexp: invalid identity escape in regular expression
      

      This results in being possible to publish contents with invalid field values, however the field is set to empty.

      The cause seems to be related to Firefox change in the HTML input pattern. see https://www.fxsitecompat.com/en-CA/docs/2016/input-pattern-now-sets-u-flag-for-regular-expressions/

      Attachments

        Activity

          People

            Unassigned Unassigned
            miguel.jacinto-obsolete@ez.no Miguel das Neves Jacinto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: