Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
115 stars 70 forks source link

Utforming crashes when changing name of a connected data model field #13558

Closed ErlingHauan closed 1 month ago

ErlingHauan commented 1 month ago

Description of the bug

Utforming sometimes crashes when changing the name of a data modelling field that is already connected to a component.

Steps To Reproduce

  1. Create an Input component
  2. Connect the Input to a data model field
  3. Go to Datamodell
  4. Change the name of the connected data model field
  5. Go back to Utforming
  6. Observe that Utforming sometimes crashes
  7. If there is no crash, try changing the name of the data model field again

Additional Information

https://github.com/user-attachments/assets/b364af48-f183-434c-9a41-6bd9570bf021

ErlingHauan commented 1 month ago

Closing this, as it is most likely related to #13026 , which will solve this issue.