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

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: