Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4165 closed defect (invalid)

Cannot remove default items or disable

Reported by: simon.walter@… Owned by: osimons
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords: remove
Cc: Trac Release: 0.11

Description (last modified by osimons)

If I remove either of the custom fields:

blockedby = text
blockedby.label = Blocked By
blocking = text
blocking.label = Blocking

either via editing trac.ini or using this plugin, I get an error asking me to: trac-admin /path/to/trac upgrade

When I do that, the error goes away. However, the default fields are reinserted in trac.ini

blockedby = text
blockedby.label = Blocked By
blocking = text
blocking.label = Blocking

It's very annoying. Any ideas? Thanks

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by osimons

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

Well, seeing the behavior is the same wether you edit using admin or trac.ini directly, it certainly can't be an issue with custom fields admin plugin as all it does is edit trac.ini for you. And, it can't be Trac itself - that I'm also quite sure of.

What then remains is the reason those fields are there in the first place, and what piece of code demands you to upgrade - and then actually puts the fields back in the file. By the names of the fields, I suspect it would be a plugin that works with ticket dependencies or hierarchies. In Plugins webadmin, try to disable the most likely candidates - then try to remove the custom fields again. Of course, if you actually use the 'problematic' plugin, then deleting the fields no longer seems like a good idea...

Anyway, can't see that it is an issue for CustomFieldAdminPlugin itself, so I'm closing the ticket. But please reopen and move to a different 'Component' if your continued quest leads you to bugs or feature requests for some other plugin.

comment:2 Changed 6 years ago by simon.walter@…

Yes, you are correct. Thanks for helping me figure that out. I installed a bunch of plugins and thought it was related to this one. It turns out another plugin was creating the custom fields. Cheers!

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from osimons. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.