Skip to main content

Problem when deleting a field from an entity

  • September 11, 2024
  • 2 replies
  • 2 views

Forum|alt.badge.img

I discovered an issue when I deleted a field from an entity. After deleting it from our development IDE environment, I exported the entity into an xml file so that I could import it into our test IDE environment. When I imported it into this environment, the field is still present.

I examined the xml file and the field isn't there so I would expect that when I import it into another environment, the field would not appear.

Maybe importing does a "merge" rather than a "replace"? I would expect the latter.

Thank you for your help.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------

2 replies

OsmanShariff
Forum|alt.badge.img+3
  • Participating Frequently
  • September 12, 2024

I discovered an issue when I deleted a field from an entity. After deleting it from our development IDE environment, I exported the entity into an xml file so that I could import it into our test IDE environment. When I imported it into this environment, the field is still present.

I examined the xml file and the field isn't there so I would expect that when I import it into another environment, the field would not appear.

Maybe importing does a "merge" rather than a "replace"? I would expect the latter.

Thank you for your help.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------

An import will only do an insert/update... It does not delete data.

You should delete all the entity to be imported data, before doing an import.



------------------------------
Osman Shariff
------------------------------

Forum|alt.badge.img
  • Author
  • Participating Frequently
  • September 12, 2024

An import will only do an insert/update... It does not delete data.

You should delete all the entity to be imported data, before doing an import.



------------------------------
Osman Shariff
------------------------------

Thank you, Osman. I will make a note of this in my procedures.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------