Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12993

Java locale selection changes primitive value type serialization behavior

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • None
    • engine
    • None

    Description

      PrimitiveValueTypeImpl constructor uses following command to acquire a lowercase primitive type name.

      javaType.getSimpleName().toLowerCase()
      

      I think case changes performed should have a fixed locale (or an option to configure these should be available) as they basically effect the metadata persisted to database.

      I am using Turkish locale, which ends up serializing Integer type as "ınteger" (notice ı without dot).

      Also any locale change may end up breaking existing processes, due to changed lowercase behaviour, causing deserialization errors.

      javaType.getSimpleName().toLowerCase(Locale.ENGLISH) // or a property...
      

       

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              tobias.metzke Tobias Metzke-Bernstein
              mightygorgon Hüseyin Alataş
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce