Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-1827

Optimize error message for JavaScript function str2date()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Severity: Unknown
    • Resolution: Fixed
    • Affects Version/s: 3.1.0 GA
    • Fix Version/s: 3.2.0 GA
    • Component/s: Step
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      At this time you only get error messages like
      Could not apply the given format on the string : Format.parseObject(String) failed (script#5)

      It could be interesting what format and what string.

      After changing the error messages you will get:

      Could not apply the given format yyyyMMdd on the string for 00000 : Format.parseObject(String) failed (script#4)
      Could not apply the given format yyyyMMdd on the string for Sat Jan 01 00:00:00 CET 2005 : Format.parseObject(String) failed (script#5)

        Attachments

          Activity

            People

            • Assignee:
              jbleuel Jens Bleuel
              Reporter:
              jbleuel Jens Bleuel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: