Assets External Importer converts text value to octal integer

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Assets - Import
    • None
    • Minor

      Issue Summary

      When importing data through the Assets external importer string values containing leading zeros are incorrectly interpreted as octal (base-8) integers and converted to decimal.

      Steps to Reproduce

      1. Create external import
      2. Choose attribute(mapped to be text )
      3.  In the JSON payload the value is "064276" but in the attribute the value becomes 26814. 
      4. It  is being seen as an octal (base-8) integer

      Expected Results

      It should be treated as Text and imported as 064276

      Actual Results

      octal (base-8) integer conversion is happening even though it is parsed as text

      Workaround

      Use _ before 0 to avoid this conversion

              Assignee:
              Unassigned
              Reporter:
              Deepika Rai
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: