Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3384

Wrong behavior for 'edit' attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • Guilin Release, Honolulu Release, Istanbul Release, Jakarta Release
    • SDC

      Noticed if we try to change attribute name to an already existing attribute name, it behaves 'weirdly'.
      First of all, it does not complain about duplicated names.
      Second, it change 'type' and 'default' of existing one, instead of changing the original one.
      And finally, it does not update the attribute list, we need to refresh the component to see any changes.

       
      Steps to reproduce:

      1. import VFC with attribute (from attached file)
      2. confirm imported attributes (see attached Step2.png)
      3. edit 'test_1' and change name to 'test_4' (see attached Step3.png)

        1. Screenshot from 2022-11-30 15-29-53.png
          25 kB
          eschcam
        2. step-1-2022-05-16 11-37-53.png
          17 kB
          vasraz
        3. Step2.png
          52 kB
          vasraz
        4. step-2-after-refresh-2022-05-16 11-40-16.png
          18 kB
          vasraz
        5. step-2-before-refresh-2022-05-16 11-39-20.png
          17 kB
          vasraz
        6. Step3.png
          53 kB
          vasraz
        7. test-vfc-attributes.yaml
          0.5 kB
          vasraz

            eschcam eschcam
            vasraz vasraz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: