Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it's currently possible that the address is overwritten on the order edit page by the address of the currently logged in admin. Is that right or is it just a bug in my specific case?
Perhaps hook_field_attach_form should check for " && arg(0) != 'admin'" in the if condition so that it does not apply there?
Comment | File | Size | Author |
---|---|---|---|
#2 | do_not_override_admin_order_page-2185425-2.patch | 925 bytes | Anybody |
Comments
Comment #1
Jerenus CreditAttribution: Jerenus commentedPatch needed.
Comment #2
AnybodyPatch attached. I'm using this in production since a long period of time already. Ready for review and to be applied. :)
Comment #6
AnybodyThe patch is OK, there are simply no tests specified for the project yet.
Comment #8
Jerenus CreditAttribution: Jerenus commentedThank you for your patch. Committed ad01377.
Comment #9
Jerenus CreditAttribution: Jerenus commented