Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11421

Error on validator with no write access

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.11, 4.6.0
    • 4.5.10
    • None
    • None
    • 4.6 M6

      On AbstractIntervalValidator class an error exist on validate(Content content, Map<String, Object> values, View view, Errors errors) function :

      if (maxDefinition.canWrite(content))
             

      {             maxValues = _getValues(content, values, _maxDefinitionPath, null);         }

              else
              {
                  maxValues = content.getValue(_minDefinitionPath, true); Should be _maxDefinitionPath
              }

            bmaurel Bérénice Maurel
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: