Since the system was deployed in production for some time, renaming the internal field names will affect older tickets saved in trac.db.
I prefer not to rename. If the DynamicFieldsPlugin has parse issue with underscore, I will see if I know how to tweak its source.
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/3eyCunpcbDIJ.
Hi Rob,
Thanks for looking into this.
I really need to keep the option Yes or No as it is without converting everything to lowercase. My ticket workflow is quite complex. I also use Ticket Validator plugin. Everything works ok with the way it is.
If you don’t plan to do new release accommodating this, please tell me where to change in your source. Maybe I can tweak for my case. I know enough Python to do pattern search to look for Yes or yes.
Thanks.
Canh
Rob,
Handling Trac issue is a very small part of my job. I’m also off from work 1 week starting Wed so not sure to have time working on it.
Thanks for all the info.
Rob,
Thanks for prompt response.
Hmm, I haven’t got it working.
Let’s see if we both are on the same page.
I have 2 dropdown fields (my_cust_field1 & my_cust_field2). My actual fields have up to 3 underscores.
Ticket had my_cust_field1 as No and my_cust_field2 as No selected by default.
I then selected my_cust_field2 as Yes. My goal is to have my_cust_field1 as Yes selected automatically once I submitted.
Is the plugin meant to work that way ?
Is the plugin meant to work that way ?
I have plugin enabled in components section of trac.ini
[components]
dynfields.* = enabled
I also verify this plugin enabled by going to Admin tab and under plugins I saw all components of this plugin checked.
From what you told me that will address what I need but whatever reason I didn’t see one field changed to Yes when the other field selected Yes.
I’ll keep looking to see what went wrong.