Deletes not tracked in scoped app application files after US deployment

Jaroslav S
Tera Expert

Hi all,

 

we are using the deployment scheme mentioned below.


And we encountered the following issue: When you delete an object (fx. transform entry) on DEV and move US to UAT. Delete is applied on the instance, but the object is removed from scope application files like it never existed. Therefore it isn’t applied on PROD during install of the newly published version.

 

The expected behavior would be to apply delete on the instance and move the object to deleted application files.

  1. DEV  - changes
  2. DEV => UAT using US
  3. UAT - publish to source control (git) + application repository
  4. UAT => PROD install from app repository

 

Thanks for any advice!

P.S.: Yes US with deletes can be applied directly to the PROD instance as a workaround.

2 REPLIES 2

Kirby R
Kilo Sage

Hi @Jaroslav S ,

 

Its a known issue. You can't capture DELETE actions in a scoped app when pushing to app repo. What happens when publishing to apprepo is its packaging all your files under that scope. Since, the file is already deleted, its not included in the package and no action would be done on the target instance.

 

It is suggested to just disable your files instead when applicable(active=false), else you need to manually delete these in target instance.

Jaroslav S
Tera Expert

Hi Kirby,

 

from my experience, this isn't 100% true. If you publish to app repo directly from the instance where you do the development, it is captured and moved to the target instance during installation. Therefore theobject is deleted.