Modify

Opened 10 years ago

Last modified 10 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,

sgcode

Attachments (2)

Image1.png (29.1 KB) - added by sgcode 10 years ago.
Image2.png (24.6 KB) - added by sgcode 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by anonymous

screenshot of reverted fields?

Changed 10 years ago by sgcode

Attachment: Image1.png added

Changed 10 years ago by sgcode

Attachment: Image2.png added

comment:2 Changed 10 years 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 10 years ago by anonymous

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"]')
Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:4 Changed 10 years 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?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain thomasd.

Add Comment


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

 
Note: See TracTickets for help on using tickets.