Argh!!! Yet again, I have to waste time fixing a bug because of the whole incredibly stupid node-type vs. node_type crap that was introduced in D6 core. KILL!
#329668: Improve warning messages when CCK date fields are misconfigured is broken if you have a node type with an underscore in the machine name, since the edit page is admin/content/node-type/[node-type] instead of admin/content/node-type/[node_type].
Grrrrrr....
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 336610_node_type_url.3.D5.patch | 1.86 KB | dww |
| #3 | 336610_node_type_url.3.D6.patch | 1.87 KB | dww |
| #2 | 336610_node_type_url.2.D6.patch | 1.15 KB | dww |
| #2 | 336610_node_type_url.2.D5.patch | 1.15 KB | dww |
Comments
| Status | File | Size |
|---|---|---|
| new | 336610_node_type_url.2.D5.patch | 1.15 KB |
| new | 336610_node_type_url.2.D6.patch | 1.15 KB |
| Status | File | Size |
|---|---|---|
| new | 336610_node_type_url.3.D6.patch | 1.87 KB |
| new | 336610_node_type_url.3.D5.patch | 1.86 KB |
Except that's still broken for the case where we're at admin/content/node-type/foo-bar since "foo-bar" isn't a valid type to check against! So, we have to convert from the URL back to the actual machine-readable name at that point. Argh!
Committed to HEAD and DRUPAL-5--2.
Automatically closed -- issue fixed for two weeks with no activity.
Comment #1
dwwOh, right, this started in D5, not just D6. It's broken in DRUPAL-5--2 branch, too.