Downloads
Release notes
The biggest change in this release compared to 6.x-2.0-alpha1 is the addition of automated tests. Furthermore, basic Views integration is added. This means that now an address View can be created using fields. More Views integration is planned for a future release, see #1391216: Views integration for the 6.x-2.x and 7.x-1.x version for details. An example module is added to demonstrate a way to add extra address fields using the field handler API, though I recommend using Extra Fields Pane if you just want to add some simple extra address fields (such a text field or a select field).
Just as the 6.x-2.0-alpha1 version, this release includes all "required" features for the module and so it should work properly at least in a basic setup with standard configuration.
Changes since 6.x-2.0-alpha1
Bug fixes
- Issue #1381120 by MegaChriz: fixed foreach warning in address book when user has no addresses.
- Issue #1412060 by MegaChriz: renamed permissions that contained an apostrophe: "everyone's" has been replaced by "all".
- Issue #1668666 by miccelito, MegaChriz: make default addresses on address book page better themable.
- Issue #1670124 by MegaChriz: renamed theme hook "uc_addresses_pane" to "uc_addresses_form".
- Issue #1678406 by MegaChriz: fixed bug while loading Ubercart order which could result into a UcAddressesInvalidFieldException error when the order had fields starting with 'delivery' or 'billing' that were unknown to Ubercart Addresses.
- Issue #1701324 by MegaChriz: Fixed bug where selecting an address from a previous order at checkout resulted into a "Illegal choice" error.
New features
- Issue #1578362 by MegaChriz: implemented address tokens in order context.
- Issue #1391216 by MegaChriz, phead, MegaChriz: added basic Views integration.
Other changes
- Issue #1382088 by MegaChriz: added automated tests.
- Issue #1382088 by MegaChriz: adjusted automated tests 'checkout' to be consistent with Ubercart's checkout test.
- Issue #1382088 by MegaChriz: changed methods getEditAddressValues() and generateAddressFieldValue() from UcAddressesTestCase class from 'protected' to 'public static'.
- Issue #1735678 by MegaChriz: added a test for checking autofilling addresses on checkout.
- Issue #1785168 by MegaChriz: Ensure new addresses are saved after checkout.
- Issue #1785168 by MegaChriz: Ensure no double addresses are saved.
Plans for the next release
For the next release the focus will be on extending Views integration and provide a default View for the address book page. The template file uc-addresses-address-book.tpl.php will probably be removed.
Issues planned to be fixed: