Upgrade from 18.10.11 to 22.7.1
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Upgrade from 18.10.11 to 22.7.1
Seems like the still existing typeid constraint makes problems.
Does it work if you remove it?
Does it work if you remove it?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Upgrade from 18.10.11 to 22.7.1
Hi everybody,
I am in the same process of upgrading a TYPO3 11.5.17 Aimeos instance currently from 20.10.11 to 22.10.1-pre2.
I extended the product model and manager following the docs https://aimeos.org/docs/latest/models/e ... custom-way
I added two new fields to the product item which worked from 18 to 20:
When executing the setup script via CLI under 22.10.1-pre2 the script breaks at
with
Leproduct is the name of my new product model. Do I miss something regarding types not mentioned in the docs?
Best
Robert.
I am in the same process of upgrading a TYPO3 11.5.17 Aimeos instance currently from 20.10.11 to 22.10.1-pre2.
I extended the product model and manager following the docs https://aimeos.org/docs/latest/models/e ... custom-way
I added two new fields to the product item which worked from 18 to 20:
Code: Select all
private array $searchConfig = [
'product.foreigncode' => [
'code' => 'product.foreigncode',
'internalcode' => 'mpro."foreigncode"',
'label' => 'Fremd ID',
'type' => 'string',
'internaltype' => \Aimeos\Base\DB\Statement\Base::PARAM_STR,
],
'product.configno' => [
'code' => 'product.configno',
'internalcode' => 'mpro."configno"',
'label' => 'Konfigurations-Nr.',
'type' => 'string',
'internaltype' => \Aimeos\Base\DB\Statement\Base::PARAM_STR,
]
];
Code: Select all
Checking "product/type" type data
Code: Select all
[Aimeos\MShop\Exception]
Class "\Aimeos\MShop\Product\Manager\Type\Leproduct" not available
Best
Robert.
Code: Select all
Exception trace:
at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Sub/Traits.php:178
Aimeos\MShop\Common\Manager\Base->getSubManagerBase() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Product/Manager/Standard.php:579
Aimeos\MShop\Product\Manager\Standard->getSubManager() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php:199
Aimeos\MShop\Common\Manager\Decorator\Base->getSubManager() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php:199
Aimeos\MShop\Common\Manager\Decorator\Base->getSubManager() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php:199
Aimeos\MShop\Common\Manager\Decorator\Base->getSubManager() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop.php:295
Aimeos\MShop::instantiate() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop.php:84
Aimeos\MShop::create() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/MShopAddTypeData.php:84
Aimeos\Upscheme\Task\MShopAddTypeData->manager() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/MShopAddTypeData.php:94
Aimeos\Upscheme\Task\MShopAddTypeData->update() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/MShopAddTypeData.php:53
Aimeos\Upscheme\Task\MShopAddTypeData->add() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/default/MShopAddTypeDataDefault.php:30
Aimeos\Upscheme\Task\MShopAddTypeDataDefault->up() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/upscheme/src/Up.php:324
Aimeos\Upscheme\Up->runTasks() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/upscheme/src/Up.php:311
Aimeos\Upscheme\Up->runTasks() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/upscheme/src/Up.php:170
Aimeos\Upscheme\Up->up() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/Setup.php:84
Aimeos\Setup->up() at /var/www/clients/client18/web98/web/typo3conf/ext/aimeos/Classes/Command/SetupCommand.php:65
Aimeos\Aimeos\Command\SetupCommand->execute() at /var/lib/typo3/typo3_src-11.5.17/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/lib/typo3/typo3_src-11.5.17/vendor/symfony/console/Application.php:1033
Symfony\Component\Console\Application->doRunCommand() at /var/lib/typo3/typo3_src-11.5.17/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at /var/lib/typo3/typo3_src-11.5.17/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/lib/typo3/typo3_src-11.5.17/typo3/sysext/core/Classes/Console/CommandApplication.php:119
TYPO3\CMS\Core\Console\CommandApplication->run() at /var/lib/typo3/typo3_src-11.5.17/typo3/sysext/core/bin/typo3:23
{closure}() at /var/lib/typo3/typo3_src-11.5.17/typo3/sysext/core/bin/typo3:24
Re: Upgrade from 18.10.11 to 22.7.1
Then it works.Seems like the still existing typeid constraint makes problems.
Does it work if you remove it?
Will it become part of the upgrade wizard?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: Upgrade from 18.10.11 to 22.7.1
The problem is related to the central factory featured in 2022.07 which assumes that you've also overwritten the sub-managers, which isn't true in your case. You can circumvent the error by adding a configuration for the sub-manager names:boettner wrote: ↑26 Oct 2022, 05:57 I extended the product model and manager following the docs https://aimeos.org/docs/latest/models/e ... custom-way
Code: Select all
'product' => [
'manager' => [
'name' => 'Leproduct',
'lists' => [
'name' => 'Standard',
'type' => [
'name' => 'Standard'
]
],
'property' => [
'name' => 'Standard',
'type' => [
'name' => 'Standard'
]
],
'type' => [
'name' => 'Standard'
]
]
]
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Upgrade from 18.10.11 to 22.7.1
Is now added and a new version of aimeos/ai-typo3 extension has been released.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Upgrade from 18.10.11 to 22.7.1
Can I replace the ai-typo3 folder in aimeos with this one?Is now added and a new version of aimeos/ai-typo3 extension has been released.
If not, can you please create a prerelease?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: Upgrade from 18.10.11 to 22.7.1
Yes, until a new TYPO3 extension is uploaded to TER.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Upgrade from 18.10.11 to 22.7.1
When I go to Admin Tools -> Upgrade -> Check TCA I get the following exception.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: Upgrade from 18.10.11 to 22.7.1
I upgrade on the clients test machine and get another error in the upgrade wizard.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3