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

getText() is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.20
    • 2.3.24
    • Expression Language
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: