Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20468

[GSS](7.3.z) WFCORE-5181 - Expression properties with trailing whitespaces are resolved to a trimmed value

XMLWordPrintable

    • False
    • False
    • +
    • Undefined
    • Hide

      Configure a server with the following system-properties section:

          <system-properties>
              <property name="a" value="a "/>
              <property name="b" value="${a}/b "/>
          </system-properties>
      

      Deploy the attached playground.war and start the server.

      Once the server is started open the URL http://localhost:8080/playground/system-property/b

      The result is:

      value for system property 'b' is 'a /b'
      

      wheras it should be

      value for system property 'b' is 'a /b '
      
      Show
      Configure a server with the following system-properties section: <system-properties> <property name= "a" value= "a " /> <property name= "b" value= "${a}/b " /> </system-properties> Deploy the attached playground.war and start the server. Once the server is started open the URL http://localhost:8080/playground/system-property/b The result is: value for system property 'b' is 'a /b' wheras it should be value for system property 'b' is 'a /b '

      A defined system property with a configured trailing blank should be used as is, as this might be an intended configuration by the user.

      When starting the server trailing whitespaces in a system property containing an expression are trimmed.

              rhn-support-jbaesner Joerg Baesner
              rhn-support-jbaesner Joerg Baesner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: