Problem/Motivation

Due to a recent change in Ubercart Addresses, the hook hook_uc_addresses_fields() of Ubercart Addresses is invoked during the install process. With this hook additional address fields can be registered. These address fields are cached in a static variable. Extra Fields Pane doesn't get a chance to register it's fields, because Ubercart Addresses is installed before Extra Fields Pane is, thus Extra Fields Pane isn't available yet when the hook is invoked for the first time.

Proposed resolution

Remaining tasks

  • Reset the static variable "uc_addresses_get_address_fields" upon installation in the automated tests.

User interface changes

None.

API changes

None.

A fix will come shortly.

Comments

megachriz’s picture

Status: Active » Fixed

The static variable "uc_addresses_get_address_fields" will now be reset during the setup phase of the automated tests.

See commit.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.