Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1820

Field property "size" accepts non-numeric input

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 6.2.0
    • 6.1.0
    • Form Modeler
    • None

    Description

      Description of problem:
      For some field types there is a "size" property in the field properties window.
      The size property determines width of input element in the browser (in characters).

      However in form modeler the "size" property also accepts non-numeric input - but it should only accept numbers.

      The problem is that in forms which represent field properties of each filed type, the "size" field has type="InputText" (unlike for example "maxlenght" field, which correctly uses field of type="InputTextLong", which does not accept non-numbers).

      Plase use type="InputTextLong" also for "size" field in the forms for each field type.

      Version-Release number of selected component (if applicable):
      BPMS 6.1.0 DR1

      How reproducible:
      Always

      Additional info:

      Go to:
      droolsjbpm/jbpm-form-modeler/jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-service-core/src/main/resources/org/jbpm/formModeler/core/forms

      and run this to see all the Field property forms which are affected:
      cat *.form | grep "<field " | grep name="size"

      Attachments

        Activity

          People

            rh-ee-pefernan Pere Fernandez Perez
            jhrcek Jan Hrcek (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Kris Verlaenen, Lukáš Petrovický (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: