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

Allow executing and force execution of individual row updaters in upgrade command(s) #538

Closed
ghost opened this issue Aug 15, 2017 · 5 comments · Fixed by #899
Closed

Allow executing and force execution of individual row updaters in upgrade command(s) #538

ghost opened this issue Aug 15, 2017 · 5 comments · Fixed by #899
Labels

Comments

@ghost
Copy link

ghost commented Aug 15, 2017

Q A
Bug report? no
Feature request? yes
TYPO3 version 8.7.4
TYPO3 Console version 4.7.0
TYPO3 Composer mode? yes

When I run this command:

vendor/bin/typo3cms upgrade:wizard --arguments "TYPO3\CMS\Install\Updates\RowUpdater\RteLinkSyntaxUpdater" --force --identifier "TYPO3\CMS\Install\Updates\DatabaseRowsUpdateWizard"

I get the following output:

Skipped upgrade wizard "DatabaseRowsUpdateWizard" because it was not scheduled for execution or marked as done.

And I expected this to happen:
Get output

Successfully executed upgrade wizard "DatabaseRowsUpdateWizard".
@ghost
Copy link
Author

ghost commented Aug 15, 2017

Also, it would be nice if the output on success also stated which row updater tasks was actually executed. In my case I need and wish only to re-run the row updater for RteLinkSyntaxUpdater.

@helhum helhum changed the title '--force' option to command upgrade:wizard seems to have no effect Allow executing and force execution of individual row updaters in upgrade command(s) Aug 17, 2017
@helhum
Copy link
Member

helhum commented Aug 17, 2017

Thanks for your report. Yes, currently executing single row updaters is not possible.

@helhum helhum added the Feature label Sep 11, 2017
@jokumer
Copy link

jokumer commented Jan 31, 2019

A manual workarround is to manipulate the serialized string of DB:sys_registry.entry_value for DatabaseRowsUpdateWizard. Find row for DatabaseRowsUpdateWizard:
SELECT * FROM sys_registry WHERE entry_namespace = 'installUpdateRows' AND entry_key = 'rowUpdatersDone';
If all row updaters has been done, it would be:
a:3:{i:0;s:52:"TYPO3\CMS\Install\Updates\RowUpdater\L10nModeUpdater";i:1;s:53:"TYPO3\CMS\Install\Updates\RowUpdater\ImageCropUpdater";i:2;s:57:"TYPO3\CMS\Install\Updates\RowUpdater\RteLinkSyntaxUpdater";}
Just substract the single row updater, you want to run as single update and run the DatabaseRowsUpdateWizard.

@helhum
Copy link
Member

helhum commented Oct 25, 2019

Since the upgrade commands are planned to be removed in favor of the TYPO3 core upgrade commands, this feature will not be incorporated here.

@helhum helhum closed this as completed Oct 25, 2019
@helhum helhum reopened this Apr 21, 2020
@helhum
Copy link
Member

helhum commented Apr 21, 2020

Since plans change and 6.0.0 is released still with its own upgrade commands, we need to implement this

helhum added a commit to helhum/TYPO3-Console that referenced this issue Apr 26, 2020
helhum added a commit to helhum/TYPO3-Console that referenced this issue Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants