Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Mar 2011 at 15:27 UTC
Updated:
15 Jul 2011 at 18:21 UTC
Jump to comment: Most recent file
When adding/editing a role assignment feature, the absolute expiration date does not default to the correct date.
Drupal creates the select elements with the day/month values without a 0 prefix where as the uc_roles module uses the 0 prefix when setting a default value. Attached a patch to use the non-prefix formatting.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1104142-uc_roles.patch | 1.94 KB | mjpa |
| uc_roles_expiration_date.patch | 1.68 KB | mjpa |
Comments
Comment #1
tr commentedYou should set the status to "Needs review" when you supply a patch so others know there is a solution waiting to be reviewed.
Comment #3
tr commentedIn this case the testbot is right - patch was rolled from the uc_roles directory rather than the ubercart directory.
Comment #4
mjpa commentedRe-roled the patch against -dev using the git method.
Comment #5
tr commentedPatch looks good. testbot will still probably fail, but this time that will be because the testbot is having problems rather than because of the patch.
Comment #6
longwaveCommitted, needs porting to 7.x.
Comment #7
longwaveCommitted to 7.x.