Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1202

Multibyte lables are persisted as Unicode numbers for the first time in Data Objects source code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.GA
    • 7.0.0.GA
    • Data Modeler
    • CR1
    • Hide
      • "Create New Asset" -> "Data Objects"
      • Press "add field"
      • Fill "Id", "Label" and "Type". Use multibyte characters (e.g. "名前" or "国") for Label
      • Press "Create"
      • Click "Source" tab
      • Confirm the label as Unicode numbers
      • Back to "Editor" tab. Press "add field"
      • Fill "Id", "Label" and "Type". Use multibyte characters (e.g. "名前" or "国") for Label
      • Press "Create"
      • Click "Source" tab
      • Confirm the first label as multibyte characters and the second label as Unicode numbers
      Show
      "Create New Asset" -> "Data Objects" Press "add field" Fill "Id", "Label" and "Type". Use multibyte characters (e.g. "名前" or "国") for Label Press "Create" Click "Source" tab Confirm the label as Unicode numbers Back to "Editor" tab. Press "add field" Fill "Id", "Label" and "Type". Use multibyte characters (e.g. "名前" or "国") for Label Press "Create" Click "Source" tab Confirm the first label as multibyte characters and the second label as Unicode numbers

      In Data Objects Editor, I can use multibyte characters for "Label" of a field. The label is properly displayed in "Editor" tab. But in "Source" tab, the label is persisted as Unicode numbers. See UnicodeLabel01.png. After saving the Data Object and clone/pull via git, I can confirm that the source is the same (label as Unicode numbers). If I add another field, the previous label becomes proper multibyte characters. The newly added label is persisted as Unicode numbers. See UnicodeLabel02.png.

      So the last added label is always left as Unicode numbers. If I use "Create and continue" in the New Field popup, multiple labels which are added at a time, are left as Unicode numbers.

        1. UnicodeLabel01.png
          31 kB
          Toshiya Kobayashi
        2. UnicodeLabel02.png
          32 kB
          Toshiya Kobayashi

              wmedvede@redhat.com Walter Medvedeo
              rhn-support-tkobayas Toshiya Kobayashi
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: