CTRL+ALT+F5(RAD Development) = Delete data from extension!!!
Dears,
This is a major issue i have. I'm trying to deploy am extension(hopefully on a test/dev environment) and wanted to use RAD publishing without debugging for faster experience. Everytime i try to do it, it will just delete all the data from the extension. It seems it is unpublishing/uninstalling and deleting all the data and than publishing again. I'm on version 15.0.19.45509 of AL Compiler.
thanks Internal work item: AB#566561
What does your "schemaUpdateMode" inside launch.json/workspace settings say?
"schemaUpdateMode": "ForceSync"
Just to be clear; with a CTRL+F5, everything works and nothing is deleted.
RAD only publishes differences. It takes the changes as a compilation unit and the rest of the original code base is self referenced, with other original references. It is an AL compilation step and thus a publishing operation. I will take it as a bug for now, that we either fix it or we skip ForceSync on RAD
The important part is to not have the data deleted. Hopefully nobody is using rad on production(i guess) but it any case it's just not normal to delete the data.
RAD is a developer scenario from VsCode only
@albgen
Can we have more details on this? What have you changed. Since I have been trying to repro and it seems to work.
I restored a production environment on a development environment and than just ctrl+alt+f5. Is there any log or something i can enable so i can get more info?
For RAD you need to have a baseline of an app published, then you do changes in your code base for that app and issue a Ctrl Alt F5. The changes can be seen in the rad.json if you just do a Ctrl Shift B (build) before doing a Ctrl ALt F5.
I would have done a Ctrl F5 in your scenario first. Although it is weird that with no RAD state you lost data. What if you do the same with a Ctrl F5, (restore and Ctrl F5)?
I restored a production environment on a development environment and than just ctrl+alt+f5. Is there any log or something i can enable so i can get more info?
If you can share the AAD tenant ID with us, we can also look at the logs to see what is happening on the server if it's a SaaS environment.
Issue was never reproduced and no input was given. Closing as stale.