Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Backward compatibility from 8.1 to 8.3: the dot path separator

    Hi,
    We have fields with have a name with a dot (product.name for example) and when we return data from the server we do things like this:
    {
    product: '123',
    product.name: 'my great product'
    }

    In 8.1 this worked fine as only the slash was used as a path separator. In 8.3 also the dot has been added as a separator (see DataBoundComponent._performActionOnValue). This means that our previous construction does not work anymore.

    So my request... is it possible to somehow let us set the allowable/used path separators? This for backward compatibility.

    Thanks.

    gr. Martin

    #2
    This was never supported and always incorrect usage, the places where it broke functionality were just less obvious before 8.3. You should go ahead and fix this during your migration.

    Comment


      #3
      Hmm, you mean that a dot in a field name was never officially supported?

      Is an underscore (instead of a dot) an officially supported part of a fieldName?

      What other restrictions are there for field names?

      gr. Martin

      Comment


        #4
        They must be valid Java/JavaScript identifiers. Underscore is OK, dot is not. Cannot start with a number.

        Comment

        Working...
        X