Modify

Opened 15 years ago

Closed 5 years ago

#5838 closed defect (wontfix)

[patch] Changing field type to 'date' is buggy

Reported by: Peter Owned by: osimons
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When used in conjunction with DateField plugin changing fieldtype to date does not change type to 'date', it stays as 'text'. It actually gets changed correctly in trac.ini (field.date=true) so it kinda works but is rather confusing.

Attachments (1)

customfieldadmin-datefield.diff (2.9 KB) - added by Carsten Fechtmann 14 years ago.
patch to make CustomFieldAdminPlugin work with latest DateFieldPlugin

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by Steffen Hoffmann

what is most buggy is trying to get arround without native support for custom date/time fields

see #7015 about what might be done in the future to make this issue here essentially obsolete, BTW, upcoming true date/time fields will have custom field type ' time ', not ' date ', to be more generic

comment:2 Changed 15 years ago by osimons

Changed 14 years ago by Carsten Fechtmann

patch to make CustomFieldAdminPlugin work with latest DateFieldPlugin

comment:3 Changed 14 years ago by Carsten Fechtmann

Summary: Changing field type to 'date' is buggy[patch] Changing field type to 'date' is buggy

While we still wait for official support for time fields in trac (it's there ... sort of), here is a patch that works for me™ using trac 0.12.2 and the latest version of the DateFieldPlugin.

It solves (for me) the issue of :

  • getting an error message of there being no 'date' type
  • does NOT remove the settings for any datefields,
  • still lets you do all the other things (add, modify, delete) within the Admin section using a browser

your mileage may vary, however

comment:4 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.