Modify

Opened 5 years ago

Closed 5 years ago

#13638 closed defect (fixed)

target of set_to_when_ changed even when checkbox condition is not fulfilled

Reported by: alexander.duytschaever@… Owned by: Ryan J Ollos
Priority: normal Component: DynamicFieldsPlugin
Severity: major Keywords:
Cc: duytscal Trac Release: 1.4

Description

trac.ini:

[components]

dynfields.* = enabled
dynfields.rules.clearrule = enabled
dynfields.rules.copyrule = enabled
dynfields.rules.defaultrule = enabled
dynfields.rules.hiderule = enabled
dynfields.rules.setrule = enabled
dynfields.rules.validaterule = enabled
dynfields.web_ui.dynamicfieldsmodule = enabled


[ticket]
default_cc = vvinckmo, troncqko, biermadi


[ticket-custom]
pers = checkbox
pers.label = test voor ticket 1413
pers.value = 0

cc.set_to_datalekgroep_when_pers = 1 

datalekgroep is a permission group.

whenever I create a ticket, after clearing the content of the cc field, and after a few seconds (before submitting) the cc field gets filled with the datalekgroep value, although pers checkbox is not checked; the checkbox says 'no' in the preview.

when I erase the cc field, it gets filled again.

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 5 years ago by duytscal

Cc: duytscal added

comment:3 Changed 5 years ago by Ryan J Ollos

Confirmed behavior you are reporting.

comment:4 Changed 5 years ago by Ryan J Ollos

In 17714:

TracDynamicFields 2.5.0dev: Fix SetRule with checkbox

Refs #13638.

comment:5 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.