Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2928

Many string member functions not implemented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 4.2.0.001
    • Fix Version/s: None
    • Labels:
      None

      Description

      See: http://cfmlblog.adamcameron.me/2014/02/coldfusion-11-lot-of-string-member.html

      The following string member functions (and other similar ones) have not been implemented:

      canonicalize()
      decrypt()
      deserializeJson()
      encodeForUrl() (and I presume the other encoding functions)
      encrypt()
      hash()
      htmlEditFormat() (and probably htmlCodeFormat())
      isDate() (and I presume other type-checking functions)
      isNumeric()
      isValid()
      javaCast()
      jsStringFormat()
      listValueCount()
      LSParseEuroCurrency() (and there'll be a few other locale-specific ones that deal with strings; these should be dealt with too)
      numberFormat()
      parseDateTime()
      reEscape()
      reFind() (and I presume the no-case version. Although I question whether separate methods just to handle case-sensitivity is sensible. This can be done with the regex itself after all)
      reMatch() (as above)
      repeatString() (this should just be implemented as repeat(). It's tautological to include "string" in a string method)
      replaceList()
      reReplace()
      serializeJson()
      toBase64()
      urlDecode()
      urlEncodedFormat()
      val()
      xmlFormat()
      xmlParse()

      Raising as a BUG because the work done should be more complete than it has been.


      Adam

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: