Can't delete multiple products from admin
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 6
- Joined: 06 Apr 2020, 17:43
Can't delete multiple products from admin
When trying to delete multiple products using the checkboxes and then the x at the top of the checkboxes I get a confirmation asking if I want to delete the items selected and lists them but once you confirm I get the following error:
Using Laravel 5.8, Aimeos 2020.04, PHP 7.2, Ubuntu 18.04
Code: Select all
"Class "\Aimeos\Admin\JQAdm\Product\En\Factory" not available"
Using Laravel 5.8, Aimeos 2020.04, PHP 7.2, Ubuntu 18.04
Re: Can't delete multiple products from admin
Laravel 5.x has a routing bug assigning any parameter to an optional route parameter. If you can, upgrade to Laravel 6
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
-
- Posts: 6
- Joined: 06 Apr 2020, 17:43
Re: Can't delete multiple products from admin
Would love to but there are limitations I can't control that makes me stay in 5.x Is there another workaround I could do? Anything I should search for specifically?
Re: Can't delete multiple products from admin
Possible workaround could be to add an empty "id" parameter here if it doesn't exist:
https://github.com/aimeos/ai-admin-jqad ... #L515-L516
https://github.com/aimeos/ai-admin-jqad ... #L515-L516
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
-
- Posts: 6
- Joined: 06 Apr 2020, 17:43
Re: Can't delete multiple products from admin
Do you mean something like $searchParams['id'] = ''; ?aimeos wrote: ↑29 Apr 2020, 17:19 Possible workaround could be to add an empty "id" parameter here if it doesn't exist:
https://github.com/aimeos/ai-admin-jqad ... #L515-L516
I added that but the problem persists. I am looking to upgrade but no success yet so I am trying the workaround.
Re: Can't delete multiple products from admin
That workaround works: https://github.com/aimeos/ai-admin-jqad ... 5c55590b28
Use
until the new version is tagged.
Use
Code: Select all
composer req aimeos/ai-admin-jqadm:2020.04.x-dev
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
-
- Posts: 6
- Joined: 06 Apr 2020, 17:43
Re: Can't delete multiple products from admin
worked perfectly thank you!aimeos wrote: ↑14 May 2020, 17:43 That workaround works: https://github.com/aimeos/ai-admin-jqad ... 5c55590b28
Useuntil the new version is tagged.Code: Select all
composer req aimeos/ai-admin-jqadm:2020.04.x-dev