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

Float attributes inheriting rules from first/previous

    XMLWordPrintable

Details

    Description

      Hey,

      We have a set of discount rules - both currency and percentage based rules.
      When we set a limit of 0-100 for the percentage attributes, the attributes used for currency inherits these rules.

      This is tested in both 4.3.0 and 4.4.0

      Steps to reproduce

      Make a content class

      • Add two float attributes: one for a percentage value, one for currency.
      • Limit the percentage attribute with a 0-100 value
      • In the content structure, make a new object from the new class and type in some data. I used 50 (%) and 500 ($).

      Result: The float attribute with a value of 500 does not validate and you get an error.

      I've attatched screenshots

      Attachments

        Activity

          People

            unknown unknown
            helgesilset helgesilset
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: