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

[BUGFIX] Extension throws error in CLI and Backend upgrade wizard #70

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Updater/GlossarySlugUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getIdentifier(): string

public function getTitle(): string
{
return 'Update Slug of glossary2 records';
return '[glossary2] Update url slugs of glossary2 records';
}

public function getDescription(): string
Expand Down
10 changes: 9 additions & 1 deletion Classes/Updater/MoveOldFlexFormSettingsUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Install\Updates\UpgradeWizardInterface;

/**
* With glossary2 3.0.0 we have changed some FlexForm Settings.
* This Updater converts existing settings to new version.
*/
class MoveOldFlexFormSettingsUpdater
class MoveOldFlexFormSettingsUpdater implements UpgradeWizardInterface
{
/**
* Return the identifier for this wizard
Expand Down Expand Up @@ -79,6 +80,13 @@ public function updateNecessary(): bool
return false;
}

public function getPrerequisites(): array
{
return [
DatabaseUpdatedPrerequisite::class,
];
}

/**
* Performs the accordant updates.
*
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
ChangeLog
=========


Version 6.0.1
=============

* [BUGFIX] Due to missing upgrade wizard implementation extension throws
error in CLI and backend upgrade wizard.

Version 6.0.0
=============

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[general]

project = Glossary 2
version = 6.0.0
version = 6.0.1
release = 6.0
copyright = by jweiland.net

Expand Down
6 changes: 3 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
'title' => 'Glossary 2',
'description' => 'This TYPO3 extension creates a glossary with A-Z links for you',
'category' => 'plugin',
'author' => 'Stefan Froemken',
'author' => 'Stefan Froemken, Hoja Mustaffa Abdul Latheef',
'author_email' => 'projects@jweiland.net',
'author_company' => 'jweiland.net',
'state' => 'stable',
'version' => '6.0.0',
'version' => '6.0.1',
'constraints' => [
'depends' => [
'typo3' => '11.5.31-12.4.99',
'typo3' => '11.5.34-12.4.99',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

],
'conflicts' => [
],
Expand Down