Modify

Opened 9 months ago

Last modified 9 months ago

#11407 new defect

Groups Not Persisting with Conditional Tickets

Reported by: sgcode Owned by: thomasd
Priority: normal Component: GroupTicketFieldsPlugin
Severity: normal Keywords: Group breaking, ticket types,
Cc: falkb Trac Release: 1.0

Description

I am using the Conditional Field Plugin and when I initalize a new ticket the group is displayed correctly, but then when I change the ticket the fields within the group are reverted into the main group.

Is there any way for the group to stay intact even when the ticket type is changed, and just remove the fields within the group that are not associated with the that particular ticket type?

Thanks,

sgcode

Attachments (2)

Image1.png (29.1 KB) - added by sgcode 9 months ago.
Image2.png (24.6 KB) - added by sgcode 9 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 months ago by anonymous

screenshot of reverted fields?

Changed 9 months ago by sgcode

Changed 9 months ago by sgcode

comment:2 Changed 9 months ago by sgcode

So as you can see from the screen shot, the checkbox fields are breaking away from their grouping. Originally all the checkboxes are in the bottom grouping, but then when I change the ticket type all the checkboxes that are associated with that new ticket get moved up into the main area and the ones that it does not get left behind.

comment:3 Changed 9 months ago by anonymous

Could you please try http://trac-hacks.org/wiki/CondFieldsGenshiPlugin ? It does the same but maybe it doesn't disturb the "properties" tag of the HTML stream which is needed for this plugin. You know, GroupTicketFieldsPlugin detects that element this way in ticket.py:line74:

    filter = Transformer('//fieldset[@id="properties"]')
Version 0, edited 9 months ago by anonymous (next)

comment:4 Changed 9 months ago by sgcode

Yes I have tried that but the problem is that the user would like the fields to show and hide without having to press the preview button.Is there anyway that we could have that happen?

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.