I've been looking for a solution for this issue whole saturday but I'm out of ideas now. I hope you guys can point me in some direction.
In my Merchello I have a list with products with each of them 2 variants.
To give my customer more flexibility in the description of the variant I decided to use extended content to let him assign two simple textfields to the variant.
In development (without real products) this works fine, I can extend the variant using a simple contentType, afterwards the view reloads and I can fill it in.
In ACC however (with real products) I choose to extend my variant using the exact same contentType, afterward the view reloads, but no a loading Icon keeps spinning and in my browser console I find an JS error.
TypeError: Cannot read property 'id' of null
at merchello.controllers.js?cdv=1920605506:6286
at i (angular.min.js?cdv=1920605506:79)
at angular.min.js?cdv=1920605506:80
at Object.e.$eval (angular.min.js?cdv=1920605506:92)
at Object.e.$digest (angular.min.js?cdv=1920605506:90)
at Object.e.$apply (angular.min.js?cdv=1920605506:92)
at j (angular.min.js?cdv=1920605506:101)
at r (angular.min.js?cdv=1920605506:104)
at XMLHttpRequest.w.onreadystatechange (angular.min.js?cdv=1920605506:106)
Line 6286 of merchello.controllers.js points to
$scope.tabs.setActive($scope.currentTab.id);
So somehow the extended content tab is null in JS.
In attempt to solve the issue I updated my Umbraco to 7.3.7 and Merchello to 1.14.0 but this didn't exactly help.
During this upgrade proces I found out that there was a product with a non unique SKU, but this has been solved now and doesn't solve this issue.
Extra information
- The umbracotracelog is further empty.
- I do notice two indexer problems in examine: OrderIndexer and Invoice indexer keep loading, without completing. No problem at other indexers. Maybe this has something to do with it, or is even an other issue I have?
Any idea what the reason for this could be, or how I can debug further into this?
I just ran into the exact same issue that you described a few minutes ago - I'm running Umbraco 7.3.5 and 1.14.0.
The really strange thing is that the problem disappeared when I removed and recreated the underlying DocType, even with the same name. Now I can't recreate the problem no matter what I do. I can't explain what might have caused this, but you could try the same thing.
Issue when extending Product Variant with Extended Content
I've been looking for a solution for this issue whole saturday but I'm out of ideas now. I hope you guys can point me in some direction.
In my Merchello I have a list with products with each of them 2 variants. To give my customer more flexibility in the description of the variant I decided to use extended content to let him assign two simple textfields to the variant. In development (without real products) this works fine, I can extend the variant using a simple contentType, afterwards the view reloads and I can fill it in.
In ACC however (with real products) I choose to extend my variant using the exact same contentType, afterward the view reloads, but no a loading Icon keeps spinning and in my browser console I find an JS error.
Line 6286 of merchello.controllers.js points to
So somehow the extended content tab is null in JS.
In attempt to solve the issue I updated my Umbraco to 7.3.7 and Merchello to 1.14.0 but this didn't exactly help. During this upgrade proces I found out that there was a product with a non unique SKU, but this has been solved now and doesn't solve this issue.
Extra information - The umbracotracelog is further empty. - I do notice two indexer problems in examine: OrderIndexer and Invoice indexer keep loading, without completing. No problem at other indexers. Maybe this has something to do with it, or is even an other issue I have?
Any idea what the reason for this could be, or how I can debug further into this?
Hi Gaitano,
I just ran into the exact same issue that you described a few minutes ago - I'm running Umbraco 7.3.5 and 1.14.0.
The really strange thing is that the problem disappeared when I removed and recreated the underlying DocType, even with the same name. Now I can't recreate the problem no matter what I do. I can't explain what might have caused this, but you could try the same thing.
Wow, that solved the issue. Thanks!
Steps I did:
No idea if 2 en 3 are necessary, but I decided to be sure.
Has anyone else had this error and resolved it another way? I cannot resolve it with these steps. Thanks!
Hi,
I've had the exact same issue. You can replicate it if you associate a Product with a ContentType that contains no Tabs (and no Properties).
The problem lies in the javascript. That's why there is no trace in umbraco logs on the server side.
I've filed a bug report on Merchello Issue Tracker: http://issues.merchello.com/youtrack/issue/M-1224
is working on a reply...