Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2882

Zip codes are sometimes represented as numbers instead of strings

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • v1.3.3
    • None
    • manual
    • None

    Description

      Zip codes are sometimes represented as numbers in the docs. They should instead be represented as strings to prevent users from mistakenly trying to store zips as numbers, which will not work with zip codes such as 00501 (because JavaScript treats numbers with leading zeroes as octal numbers).

      You can find a few instances with this command:

      egrep -irI "zip.*[0-9]{5}" *

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 45 weeks ago