Tikiwiki-devel (mailman list mirror)

console commands available when the database is outdated ( console database update)

>De : Jonny Bradley mailto:jonny@tiki.org
>Envoyé : 11 février 2019 14:37
>Hi all
>In response to a bug report from Jean-Marc, where he couldn't use the console database update command because the database was out of date so tiki-setup.php wouldn't run, i removed that from the console if an update was required.
>Chealer then pointed out that the cache:clear command didn't work any more following that (when an update was required) which is a simple enough fix (r69061) but there are quite a lot of commands that now seem to be available when an update is required, and most of them really need a properly working tiki to run i think - i guess we should restrict more of them to be unavailable when an update is needed...
>These ones are currently not working and should be unavailable when update is required:
>* backup:files
>* cache:generate
>* plugin:approve
>* plugin:list
>* plugin:refresh
>* profile:baseline
>* scss:compile
>and these ones seem to run ok and would be useful sometimes before updating:
>* cache:clear
>* database:backup
>* multitiki:list
>* multitiki:move
>So i'm proposing to make those first ones unavailable when your database needs updating - does that sound ok?

It does for me (I guess mainly because I only use less:compile, and rarely).


TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.