Page 1 of 1

Read-only files overwrite 22.14

Posted: 2022-06-23 20:44
by D Oliveira
Hey guys, back in the day when I set a file to read-only in windows and generated an appgini project the file would be skipped during generation process.

But I recently updated to windows 11 and appgini 22.14 and now even when I set the file to read only appgini still overwrites the files.

Does anyone have the same issue?

Re: Read-only files overwrite 22.14

Posted: 2022-06-25 12:54
by a.gneady
This page describes the opposite of this issue :D but please check the answer for possible solutions.

Re: Read-only files overwrite 22.14

Posted: 2022-06-25 19:14
by D Oliveira
Thanks for replying but I wasn't successful as my admin user permissions for the files are locked, is there a way to add a check-box inside the field "skip this field" on the next versions? something like:
2022_06_25_15_12_02_AppGini_G_.shortcut_targets_by_id_1VrEXnyHWSQFZiljhn5x7JW_bZUR5SqY5_Tiger_Co.png
2022_06_25_15_12_02_AppGini_G_.shortcut_targets_by_id_1VrEXnyHWSQFZiljhn5x7JW_bZUR5SqY5_Tiger_Co.png (9.2 KiB) Viewed 2541 times
I just find myself clicking the skip all button through generation accidentally, so it would be nice to have that option for each field as described in the image

Re: Read-only files overwrite 22.14

Posted: 2023-05-14 12:01
by spizpan
D Oliveira wrote:
2022-06-25 19:14
Thanks for replying but I wasn't successful as my admin user permissions for the files are locked, is there a way to add a check-box inside the field "skip this field" on the next versions?
That would be a very useful addition!! Thumbs up! ;)

Re: Read-only files overwrite 22.14

Posted: 2023-05-16 04:49
by onoehring
Hi D Oliveira,

why would you want to skip some table?
How should be noted when a skipped table should be generated again?

Did you take in mind, that in a skipped table might be references to other things you changed in your application?

At this time I find it very "dangerous" to skip a table .. or just have this option.

Olaf

Re: Read-only files overwrite 22.14

Posted: 2023-05-16 23:09
by D Oliveira
onoehring wrote:
2023-05-16 04:49
Hi D Oliveira,

why would you want to skip some table?
How should be noted when a skipped table should be generated again?

Did you take in mind, that in a skipped table might be references to other things you changed in your application?

At this time I find it very "dangerous" to skip a table .. or just have this option.

Olaf
yeah that would be a conscious decision to retain changes to _view.php file, _dml, and others, just a nice to have not a necessity