As per: http://drupal.org/node/968326, Driven NEP (Node Edition Policy) sets FAPI #access=FALSE to disallow modification of certain node parameters on the edit form (rather, forcing user to use comment driven or another driven method). While this works on most other tested CCK fields, Date fields seem to have an issue when a date field is set to required.
The technical details go a bit above my head, but see comment_driven issue linked above for more information, it seems arhak has a pretty solid handle on them.
I've attached a patch that implements arhak's suggestion against 2.6. Let me know if this makes sense, and I can re-roll against CVS head.
| Comment | File | Size | Author |
|---|---|---|---|
| date_fix_nep_driven.patch | 473 bytes | obrienmd |
Comments
Comment #1
obrienmd commentedSorry, setting to needs review.
Comment #2
obrienmd commentedI should probably also mention that this does solve the NEP issue (the attached patch).
Comment #3
arhak commentedsubscribing
also note that I don't recall whether $element['#access'] is always populated by FAPI, if so, it wouldn't be needed to check
isset($element['#access'])and directly jumping into!$element['#access']would be validComment #4
arhak commentedBTW, Driven NEP is a sub-module of Driven API
Comment #5
damienmckennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.