Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4459

getText() is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.3.24
    • Component/s: Expression Language
    • Labels:
      None
    • Environment:

      JBoss EAP 6

      Description

      After upgrade from 2.3.15 to 2.3.20 we encountered couple issues:
      1. Web server throws warning messages:

      WARN [LocalizedTextUtil] Missing key [.... 
      

      That happens when resource key starts with "errors."

      2. getText() with formatting no longer works. For example,

      <s:property value="getText('{0,number,#,#0}',{#pctComplete * 100})"/>
      

      throws Warning:

      Missing key [{0,number,#,#0}] in bundles ...
      

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              ydench Yuri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: