Currency default being ignored on Create Organisation, Project, Task and Ticket pages
Jim Kirkpatrick - November 4, 2009 - 17:23
| Project: | Storm |
| Version: | 6.x-1.26 |
| Component: | Storm.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Description
The currency drop-down on 'Create Organisation', 'Create Project', 'Create Task' and 'Create Ticket' defaults to USD rather than my defaults.
I've set defaults in the attributes for country and currency, and the parent organisation's currency is GBP. The default country works fine.
A little debugging shows the variable $node->currency used to populate the default on these pages is empty. However, in the stormorganization_nodeapi in stormorganization.module, the variable $currency['default'] is set fine. Not sure what's happened between those two places.

#1
Confirmed that i'm getting this bug too.
Will look into it.
#2
A very small change in stormtask fixes this - see patch.
Committed to both 6 and 7 branches.