Opened 11 years ago
Last modified 11 years 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,
Attachments (2)
Change History (6)
comment:1 Changed 11 years ago by
Changed 11 years ago by
Attachment: | Image1.png added |
---|
Changed 11 years ago by
Attachment: | Image2.png added |
---|
comment:2 Changed 11 years ago by
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 11 years ago by
Could you please try 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"]')
comment:4 Changed 11 years ago by
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?
screenshot of reverted fields?