Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTRL+ALT+F5(RAD Development) = Delete data from extension!!! #7976

Open
albgen opened this issue Feb 19, 2025 · 8 comments
Open

CTRL+ALT+F5(RAD Development) = Delete data from extension!!! #7976

albgen opened this issue Feb 19, 2025 · 8 comments
Labels
bug Product bug input-needed need-repro RAD Issues with RAD

Comments

@albgen
Copy link

albgen commented Feb 19, 2025

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

@dannoe
Copy link

dannoe commented Feb 19, 2025

What does your "schemaUpdateMode" inside launch.json/workspace settings say?

@albgen
Copy link
Author

albgen commented Feb 19, 2025

"schemaUpdateMode": "ForceSync"

Just to be clear; with a CTRL+F5, everything works and nothing is deleted.

@kalberes
Copy link
Contributor

kalberes commented Feb 21, 2025

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

@kalberes kalberes added accepted RAD Issues with RAD bug Product bug labels Feb 21, 2025
@albgen
Copy link
Author

albgen commented Feb 21, 2025

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.

@kalberes
Copy link
Contributor

RAD is a developer scenario from VsCode only

@kalberes
Copy link
Contributor

@albgen

Can we have more details on this? What have you changed. Since I have been trying to repro and it seems to work.

@albgen
Copy link
Author

albgen commented Feb 21, 2025

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?

@kalberes
Copy link
Contributor

kalberes commented Feb 21, 2025

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Product bug input-needed need-repro RAD Issues with RAD
Projects
None yet
Development

No branches or pull requests

3 participants