Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-616

[GSS] (7.0.z) Multibyte lables are persisted as Unicode numbers for the first time in Data Objects source code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.0.GA
    • Data Modeler
    • 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
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: