Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2787

[Measurement] An error 400 occurred when user provide negative value for millimeter parameter

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.1
    • 4.1.0, 4.1.x-dev
    • None

    Description

      Preconditions:

      • Added and configured measurement CT

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Admin / Content structure.
      3. Start creating a new measurement content (preq).
      4. Select millimeter parameter.
      5. Provide negative value e.g -1
      6. Publish.

      Actual result:

      See attached screenshot.

      An error 400 occurred when for millimeter parameter user provide negative value.

      Argument '$unit' is invalid: millimeter for length does not exist

      Expected result:

      Proper behaviour of application. 

      Note:

      Issue occurs on search engines: Legacy, Solr, ES.

      Designs

        Attachments

          1. Screenshot 2022-04-25 at 10.59.33.png
            216 kB
            Bogdan Mazur
          2. Screenshot 2022-04-25 at 10.59.46.png
            243 kB
            Bogdan Mazur
          3. Screenshot 2022-04-25 at 10.59.59.png
            487 kB
            Bogdan Mazur

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: