Modify

Opened 6 years ago

Closed 6 years ago

#13522 closed defect (invalid)

hiding on create ticket action

Reported by: davidbonnin@… Owned by: Jon Ashley
Priority: normal Component: KeepInterfaceSimplePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

I've started with KeepInterfaceSimplePlugin.

I've a big problem to hide field when create a ticket: the status <none> don't work or I don't have the good syntax: 'none' "none" <none> '<none>' "<none>" ? My workaround is to explicitly to list all other status to show the field..

The plugin hasn't been updated for the ticket create action, introduced in Trac 1.2

https://trac.edgewall.org/wiki/TracWorkflow#TicketCreateAction

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by anonymous

Does using the empty string work?

E.g.

[kis_assistant]
field_to_be_hidden_on_creation.visible = status != ''

or even just

field_to_be_hidden_on_creation.visible = status

If not, can you please let me know what version of Trac and of the plugin you are using, and whether it's in a Windows or Linux environment.

Last edited 6 years ago by Jon Ashley (previous) (diff)

comment:2 Changed 6 years ago by anonymous

Yes! It works using empty string. I tried :

[kis_assistant]
field_to_be_hidden_on_creation.visible = status != ''

comment:3 Changed 6 years ago by Jon Ashley

Resolution: invalid
Status: newclosed

Thanks for confirming.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jon Ashley.
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.