Customer record error, add new address to customer error
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: 11
- Joined: 01 Oct 2016, 10:54
Customer record error, add new address to customer error
Hi,
Default Laravel aimeos installation.
On extadmin I tried to add another address to a customer (this time for the main (admin) customer and i got this error message when push on save:
(error on browser development panel/console - F12)
Any idea how can i add another addres to a customer by admin? And why the error given.
I tested this method from the checkout panel I added different 2 addresses on the checkout page and ióit worked well. I see on the extadmin panel to the 2 addresses for the customer. But somehow I cant add another address on extadmin panel (customers-select customer-address-add)
Thank you for any help!
Default Laravel aimeos installation.
On extadmin I tried to add another address to a customer (this time for the main (admin) customer and i got this error message when push on save:
(error on browser development panel/console - F12)
Code: Select all
Uncaught TypeError: Cannot read property 'record' of undefined
at S.onBeforeSave (file?site=default:12295)
at h.Event.fire (ext-all.js:21)
at constructor.fireEvent (ext-all.js:21)
at constructor.save (ext-all.js:21)
at constructor.createRecords (ext-all.js:21)
at h.Event.fire (ext-all.js:21)
at constructor.fireEvent (ext-all.js:21)
at constructor.add (ext-all.js:21)
at S.onSaveItem (file?site=default:4149)
at S.onClick (ext-all.js:21)
I tested this method from the checkout panel I added different 2 addresses on the checkout page and ióit worked well. I see on the extadmin panel to the 2 addresses for the customer. But somehow I cant add another address on extadmin panel (customers-select customer-address-add)
Thank you for any help!
Re: Customer record error, add new address to customer error
Seems to be a bug in the customer address panel. We will care about that.
Thank you for the hint!
Thank you for the hint!
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: Customer record error, add new address to customer error
This was already fixed in the 2017.x branch and we've back ported it now into the 2016.10 branch. The fix will be part of the next release. You can get it immediately if you add
to the "require" section of your composer.json and execute
Code: Select all
"aimeos/ai-admin-extadm": "2016.10.x-dev"
Code: Select all
composer update
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: 11
- Joined: 01 Oct 2016, 10:54