Error on save after clicking on characteristics without adding one
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!
Error on save after clicking on characteristics without adding one
Hey, I was testing the Aimeos back office when I stumbled upon this error, do you have any idea why?
I tried this very same process on your demo and everything works as expected, I don't know what I did wrong.
Link to view how I got this error: https://www.loom.com/share/ca1262a318c4 ... a3cf0b70cb
Thank you!
My env:
Laravel v8.20.1
PHP v7.4.13
aimeos-laravel v2020.10.4
Windows
I tried this very same process on your demo and everything works as expected, I don't know what I did wrong.
Link to view how I got this error: https://www.loom.com/share/ca1262a318c4 ... a3cf0b70cb
Thank you!
My env:
Laravel v8.20.1
PHP v7.4.13
aimeos-laravel v2020.10.4
Windows
Re: Error on save after clicking on characteristics without adding one
Check the mentioned line where the error occurs in the browser console and tell us more about the errors displayed.
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: Error on save after clicking on characteristics without adding one
Here are some screenshots showing the issue with more details.
- Attachments
-
- Source code of error
- fichier js.png (81.22 KiB) Viewed 2523 times
-
- Console error
- console.png (58.35 KiB) Viewed 2523 times
-
- Characteristics screen
- characteristics.png (77.28 KiB) Viewed 2523 times
-
- Basic screen
- basic.png (78.59 KiB) Viewed 2523 times
Re: Error on save after clicking on characteristics without adding one
The error in your screenshot is related to the tab switch between "basic" and "characteristics". Can you please post the main <form> tag including it's full "action" attribute?
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: Error on save after clicking on characteristics without adding one
Here it is.
- Attachments
-
- form.png (123.7 KiB) Viewed 2518 times
Re: Error on save after clicking on characteristics without adding one
Everything looks fine. Can you set a breakpoint in your browser console and check the value of
in line 4492? Maybe it's another form that's causing the error.
Code: Select all
$(this).attr('action')
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: Error on save after clicking on characteristics without adding one
It returns 'undefined'.
Re: Error on save after clicking on characteristics without adding one
What's the value of
Is it a different form element?
Code: Select all
$(this)
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: Error on save after clicking on characteristics without adding one
Hey!
I finally found the problem, I use a script to run the Aimeos installation commands and one of them didn't run correctly, everything works as expected now.
Thanks for your time and have a great day!
I finally found the problem, I use a script to run the Aimeos installation commands and one of them didn't run correctly, everything works as expected now.
Thanks for your time and have a great day!
Re: Error on save after clicking on characteristics without adding one
Hi svedrine!
I've got the same problem. Could you please describe how you did resolve the issue in more detail?
I've got the same problem. Could you please describe how you did resolve the issue in more detail?