Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Then I'd suggest you to contact our developer support to provide an environment to produce and we'll be happy to look into it
After creating a purchase order, I go to the Commerce Manager ("Order Management" -> "Purchase Orders" -> "Today" -> My created order -> "Details" -> "Edit shipping address") and try to edit the shipping address, adding an email. But when I try to save changes, I get an error:
I looked into the code and found a method in which an error occurs. But I do not understand how it arises here:
private static void CopyPropertiesFrom(IExtendedProperties target, IExtendedProperties source, bool overwrite) { Validator.ThrowIfNull(nameof (target), (object) target); Validator.ThrowIfNull(nameof (source), (object) source); if (target.Properties == null) throw new InvalidOperationException("The Properties property of the target parameter can not be null."); if (source.Properties == null) return; foreach (object key in (IEnumerable) source.Properties.Keys) { if (overwrite || !target.Properties.ContainsKey(key)) target.Properties[key] = source.Properties[key]; } }
Can anyone explain why an error occurs?
By the way, the interface itself does not show that an error has occurred. I accidentally found out about it, looking into the browser's developer tools. When I press the save button in the modal address editing window, the window closes and nothing happens. When I refresh the page, the message "The Order is in Edit Mode. Save changes before exiting" appears. When I open the address editing window again, all the fields are empty, not filled with data that was before.