Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12210

AbstractMultilingualStringElementType.valueToJSON ignores context locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.4, 4.7.17, 4.9.0
    • 4.9.0
    • None
    • None

      On a multilingual string, when we transform data to XML with a Locale in the DataContext, only the value from the given locale is sax or another locale if not found.
      But when the same operation is done on JSON transformation, Locale is totally ignored and all values are returned.

      Here is the stack trace followed by the dataToSAX for a multilingual string:

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: