Modify

Opened 4 years ago

Closed 4 years ago

#13838 closed defect (fixed)

new ticket initialization problem with Trac 1.4

Reported by: marte@… Owned by: Cinc-th
Priority: normal Component: MultipleWorkflowPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

When creating a new ticket with an existing workflow, the new ticket dialog is not initalized in a correct way.

I have a standard workflow

[ticket-workflow]
create = <none> -> new
create.label = default
create.default = 1
[...]

and two specialized workflows:

[ticket-workflow-Bug]
create = <none> -> new
create.label = Bug
create.default = 1
[...]
[ticket-workflow-Erweiterung]
create  =  <none> -> new
create.default  =  1
create.label  =  Erweiterung
[...]

When creating a new ticket, the default ticket type is Bug. But, instead of the specialized workflow, the standard workflow is loaded (Pic 1). When choosing the next item, still the standard workflow is loaded (Pic 2). Only after choosing the first entry again, the workflow is coorect (Pic 3, Pic 4)

Attachments (4)

1_bug.PNG (8.7 KB) - added by marte@… 4 years ago.
Pic1
2_erw.PNG (9.5 KB) - added by marte@… 4 years ago.
Pic2
3_bug.PNG (8.9 KB) - added by marte@… 4 years ago.
Pic3
4_erw.PNG (9.7 KB) - added by marte@… 4 years ago.
Pic4

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by marte@…

Attachment: 1_bug.PNG added

Pic1

Changed 4 years ago by marte@…

Attachment: 2_erw.PNG added

Pic2

Changed 4 years ago by marte@…

Attachment: 3_bug.PNG added

Pic3

Changed 4 years ago by marte@…

Attachment: 4_erw.PNG added

Pic4

comment:1 Changed 4 years ago by Cinc-th

Did you update the plugin to [17781] yet? (shouldn't fix your current problem I guess)

The following entry must be present in trac.ini. I use to miss that one...

[ticket]
workflow = MultipleWorkflowPlugin

comment:2 Changed 4 years ago by anonymous

Yes, I'm on [17781]. Entry is in trac.ini, workflows work after initial creation of a ticket or with workaround above.

comment:3 Changed 4 years ago by anonymous

Trac Release: 1.4

comment:4 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: newclosed

In 17782:

  • Fix Javascript for Trac 1.4 for new ticket creation (see #13838)
  • No longer use filter_stream() from ITemplateStreamFilter

closes #13838

Refs #13837

Modify Ticket

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