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.
This release fixes a security issue: values for field types "Select list" and "Constant" were not always sanitized.
Warning for users upgrading from 6.x-2.0-alpha1
Users still on 6.x-2.0-alpha1 should be careful when updating, as Extra Fields Pane's API had changed significantly between 6.x-2.0-alpha1 and 6.x-2.0-beta1. Read UPGRADE.txt for more information.
This release fixes a security issue: values for field types "Select list" and "Constant" were not always sanitized.
The other change in this release is that the feature to populate extra fields from previous orders has been ported. However, for this feature to work, you will need the latest development version of Ubercart Addresses (or Ubercart Addresses 7.x-1.0-alpha2, when it's released).
Changes since 7.x-1.0-alpha2
by MegaChriz: fixed issue where values for field types "Select list" and "Constant" were not sanitized.
Issue #1830996 by MegaChriz: added documentation to the README.txt for how to use field values in the invoice template.
Issue #1872200 by MegaChriz: populate extra fields from previous orders.
Issue #1659486 by MegaChriz: fixed bug of UCXF_Value's db_name being empty which could result into a UcAddressesInvalidFieldException error when the UCXF_Value was "loaded" just after it was saved in the same request.
New features
Issue #1635164 by MegaChriz: ported Views integration.
Other changes
Issue #1700492 by MegaChriz: adjusted automated tests 'checkout' to be consistent with Ubercart's checkout test.
Issue #1713254 by MegaChriz: fixed automated tests by resetting the static variable "uc_addresses_get_address_fields" when the tests are in the setup phase.
Issue #1697988 by MegaChriz: fixed address fields setting admin screen that got screwed up with Ubercart 7.x-3.2 or later.
The most important change in this release is compatibility with Ubercart 6.x-2.10, see #1697988: Cluttered admin screen with Ubercart 6.x-2.x-dev from July 18, 2012 or later. All other changes since 6.x-2.0-beta2 are quite minor (such as fixes in automated tests) and you probably will not notice the difference when updating from that version.
When to update
Users of 6.x-2.0-beta2 don't need to make haste with updating, unless they also want to update Ubercart to 6.x-2.10 or later.
Users of 6.x-2.0-beta1 are encouraged to update, since a lot of bugs introduced in that version have been fixed since then.
Users still on 6.x-2.0-alpha1 should be careful when updating, as Extra Fields Pane's API had changed significantly between 6.x-2.0-alpha1 and 6.x-2.0-beta1. Read UPGRADE.txt for more information.
Changes since 6.x-2.0-beta2
Bug fixes
Issue #1659486 by MegaChriz: fixed bug of UCXF_Value's db_name being empty which could result into a UcAddressesInvalidFieldException error when the UCXF_Value was "loaded" just after it was saved in the same request.
Other changes
Issue #1670052 by MegaChriz: removed functions that were deprecated since v6.x-2.0-beta1.
This is the first alpha release of Extra Fields Pane 7.x-1.0. The code in this branch is a port of a subset of the features of Extra Fields Pane 6.x-2.x. The only reason this is an "alpha" release is because some "optional" features are not ported yet.
In the 6.x-2.0-beta1 release some new bugs were introduced, such as that tokens for fields in the extra information pane weren't properly generated. This bug and some other bugs too are fixed in this release. There is also a new feature in this release: integration with the Features module! Now it's possible to export your fields with Features and install them on another site, without needing to manually configure them again. The 7.x-1.x version of Extra Fields Pane also has Features integration, thus it's also possible to export fields from a Drupal 6 site and import them in a Drupal 7 site.
Warning!
All functions that were deprecated since 6.x-2.0-beta1 will be removed in the next release. This are the following functions:
This release introduces a redesigned API. Developers that made extensions for this module are encouraged to update their modules. Alternatively, you can revert to 6.x-2.0-alpha1. That version misses integration with Ubercart Addresses 6.x-2.x and uses extra panes for address fields in the order administration.
Changes since Extra Fields Pane 6.x-2.0-alpha1
The following changes were made in the API:
Class files were moved from 'includes' to 'class'.
Introduced classes UCXF_Pane and UCXF_AddressPane. These classes replaces the following functions:
uc_extra_fields_pane_load_pane_type()
uc_extra_fields_pane_uc_checkout_pane_address()
uc_extra_fields_pane_order_handler()
These classes are used for checkout and order panes.
Introduced class UCXF_FieldList which will replace the following functions:
uc_extra_fields_pane_create_field()
uc_extra_fields_pane_load_fields_from_db()
Introduced class UCXF_Value. This class is used to keep track of all field values (entered by customers) currently loaded.
Implemented autoload function (for automatically loading of classes).