5099 is the inspiration of this feature request.
In the words of @indigoxela:
If doing an update via UI, caches do get cleared. At least, that has worked for me several times.
I would like to confirm if that is the case, and if it applies to both core and contrib.
If doing an update via filesystem (drush, bee, unzip the file, or ftp upload), which means to simply replace the files (core or contrib), caches do not get flushed automatically. Admins have to do that manually. I don't think, there's a possible fix for that. Backdrop does not "observe" the file system for changes - and couldn't.
I think that updating via drush behaves the same as performing the update via the UI, so caches are cleared. I could be wrong about it though, so I would like to confirm that too.
In any way, I would like us to automate that, so that people performing manual updates face less WTFs after upgrading. Here's a very simplified version of what I was thinking:
- Backdrop caches the core version, as it's being reported in
bootstrap.inc
(see https://github.com/backdrop/backdrop/blob/1.x/core/includes/bootstrap.in...) - this could be stored in config (system.core.json
perhaps?) or in a state (state_set()
). - A person performs a manual update, by replacing the
/core
directory with a newer version. - Next time Backdrop loads a page, it detects that the version number in
bootstrap.inc
is now different from the one previously cached, clears caches, and shows a message to inform that caches have been cleared. - config/state value that caches the Backdrop version is updated, to hold the new version number (until the next manual update)
Recent comments
The Mail System and MimeMail modules are now installed. I'll let you know if they solve the problem. Edit: Using Mail System with MimeMail I was able to send plain text emails. There is...
HTML Email treated as plain text
If you haven't already I recommend installing Mail System and MimeMail. The latter will help format emails as HTML and first helps with configuring which module will handle the formatting...
HTML Email treated as plain text
The horrors of cut/paste! Brilliant, thanks.
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: