You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the record as it normally does. It doesn't work with certain records because you're using _.each to loop through an object. This won't work when an object has a "length" property. Such as for box dimensions or product specs.
Expected behavior
Update the record as it normally does. It doesn't work with certain records because you're using _.each to loop through an object. This won't work when an object has a "length" property. Such as for box dimensions or product specs.
jashkenas/underscore#2407
Actual behavior
Get's undefined keys/values because the input is an object with a length property.
Failure Logs
No logs just fails to update the record.
Context
_.each shouldn't be used to loop through objects. Use _.forOwn as per the lo-dash documentation. In resource-updater.js.
The text was updated successfully, but these errors were encountered: