Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-12682

Request to implement setNumberFormat in our OOTB FTLs.

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.3.1
    • Fix Version/s: None
    • Component/s: Web Scripts and Surf
    • Labels:
    • Environment:
      Ubuntu 12.04 LTS X64 | MySQL 5.6 | Tomcat 7.0.42
    • Bug Priority:
      Category 4
    • ACT Numbers:

      00211802

      Description

      [ Description ]
      This issue has been found and fixed by our consultant, Mehdi.

      [ Steps to reproduce ]

      • Deploy the webscripts attached
      • Invoke the webscript:
        alfresco/service/freemarker/test

      [ Actual result ]
      Returns 10,000

      • Now remove the comment from the .ftl so to enable number_format
      • Refresh webscript
      • Invoke the webscript again

      [ Expected result ]
      A formatting that won't interfere with JSON parsing.

      [ Notes ]
      Comments from Mehdi:
      When the 10,000 is returned YUI JSON parser is unable to process the file, as the coma is special character (start of next entry).

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  rvellozo Ricardo Vellozo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 5 hours
                    5h

                      Structure Helper Panel