Opened 14 years ago

Last modified 11 years ago

#7815 closed defect

DateField-1.0.1 doesn't MODIFY customfield in TracCustomFieldAdmin-0.2.5 — at Version 2

Reported by: Chris Shenton Owned by: Robert Corsaro
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: Felix Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I've installed both DateField-1.0.1 and TracCustomFieldAdmin-0.2.5 and enabled DateFieldModule and CustomFieldAdminTweak. If I create a new custom field I can pick a Date type and allow empty value, excellent.

But if I try to modify an existing field -- e.g., from Text to Date -- it gives me the proper UI but does not save the new field to the trac.ini with

  myfield.date = true
  myfield.date_empty = on

like the field newly created after the DateFieldPlugin was installed.

I notice that the Submit causes the trac.ini file to rewrite my [datefield] section (e.g. re-ordering the fields) so something's changing but it doesn't change the desired field properties and reports no error.

I can edit the trac.ini by hand and add those fields and it works fine however.

Change History (2)

comment:1 Changed 14 years ago by Chris Shenton

Also, If I try and modify a custom field successfully created by DateField and TracCustomFieldAdmin, the edit pane shows the type as Text (not Date) and a subsequent save converts it to a plain Text field -- it loses its dateliness.

comment:2 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.