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

Data Modeler does not respect case sensitivity in packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 6.0.1
    • Data Modeler
    • None

      Description of problem:

      If you create a POJO in Data Modeler and specify New Package, for example:

      org.redHat

      Data Modeler will transform this package name into lower case, producing output
      org.redhat

      This is not desired as in Java, case sensitivity *matters*.

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

      How reproducible:
      always

      Steps to Reproduce:
      1. Create new object in data modeler
      2. specify new package org.redHat
      3. save

      Actual results:
      package name is converted to lower case

      Expected results:

      package name is left as inputted, i.e. org.redHat remains org.redHat
      Additional info:
      How I have discovered it? I have deployed a WebService which accepted object org.redHat.Person in one of its method. I wanted to configure WebService task in the Process Web Designer, so first, I have created object Person in Data Modeler, and put it in the org.redHat package. Then I have configured WS to use this object as a parameter. During the web service invocation I have received a missmatch error because org.redhat.Person is not the same as org.redHat.Person

      culprit:

      https://github.com/droolsjbpm/kie-wb-common/blob/7d58d957ace828ecec5f87093cbbc03c77143be8/kie-wb-common-screens/kie-wb-common-data-modeller/kie-wb-common-data-modeller-client/src/main/java/org/kie/workbench/common/screens/datamodeller/client/widgets/NewPackagePopup.java#L82

              wmedvede@redhat.com Walter Medvedeo
              rhn-support-agiertli Anton Giertli
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Edson Tirelli, Kris Verlaenen, Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: