Hi.
In the newer current version - 4.6.3 - a new channel mechanism has been introduced.
On of my team mates accidentally updgraded to 4.6.3 and many files started getting update forcefully - even without “accepting” the update from 4.6.2 to 4.6.3.
Interestingly, if I discared the changes via Git, they would get applied again on save of any file.
This is causing issues with core Wappler files, which we tweak a little to work better for us. Its very important for us to be able to make these changes - and the app breaks if we can’t do it.
Not sure if this was a delibrate change or something is wrong with the updated logic.
Earlier, files were shown which needed an update, but selecting “no/cancel” would suffice and none of the files would be touched.
We had to uninstall and revert to previous version to resume normal working.
Please shed some light on what this change is, and how can I protect Wappler core files from getting overwritten by Wappler without consent?
Two files primarily.
One needs a domain input for sending emails via Google Workspace Gmail SMTP.
And other is config.js to set DB session store instead of dedault to prevent logout on each server restart/deployment. And no I cannot use redis.
There is a third change in config.js where we comment cookie config line in session store again, but that one is not very important.
Both are required and there is no workaround.
I am sure there are other users modifying other parts as well.
That will be an inconvenience. Can you add some meta data to the Wappler project configuration file to ignore checking files marked to be ignored?
I also have several files tweaked and that is a recurrent theme.
Face some roadblock
Modify core file
Start nagging in the forum so the enhancement is applied.
It is applied after days, weeks, months or years(has happened)
Revert to core
GOTO 1
Example:
15 months passed until I was able to revert to core standard. Now I got a similar situation with redis and AC validator that would literally break my app if I wasn’t able to modify core.
Nor can I. It does seem to be a bug; I think it was possible in previous versions. (I’m using Windows.) The buttons to select/deselect all checkboxes work (but of course are no use without the option to select individual checkboxes).
Regarding the main subject of this thread: why were any files changed - core files or not? Surely no files should be changed if ‘Cancel’ is chosen when the Projects Assets Updater dialog appears. If any files could be changed, I hope this will be considered a bug.
You can’t cherry pick files so what I do is update everything and discard in GIT. Then the project updater will show just the files that I don’t want to update. It hasn’t changed my workflow too much.
Things would get ugly if Wappler would update everything automatically. But I believe that is not in the works.
The problem reported by @sid and I is the inability of selecting/deselecting individual files inside each framework. Which is not a bug but done by design. Nonetheless a nuisance in the balls for us
Thanks. I should have realised: single-click the checkboxes on the right, double-click those on the left. (I think the usability police should be alerted. )