Modify

Opened 13 years ago

Last modified 11 years ago

#8989 new enhancement

Show nicer error message when there is a ticket with multiple parents

Reported by: Ryan J Ollos Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Here is the error I saw when I tried to include a ticket in a milestone displayed in the TracJsGanttChart and that ticket had multiple parents (via SubticketsPlugin).

It might not be immediately obvious why this error is occurring, and that you can't have any tickets with multiple parents, so I propose to display a more user friendly error for this condition.

I can provide a patch this weekend.

Attachments (1)

TracJsGanttWithMultipleParents.png (7.4 KB) - added by Ryan J Ollos 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Ryan J Ollos

comment:1 in reply to:  description ; Changed 13 years ago by Chris Nelson

Replying to rjollos:

...

I can provide a patch this weekend.

Hmmm, it's been four months. ;-)

comment:2 in reply to:  1 Changed 13 years ago by Ryan J Ollos

Replying to ChrisNelson:

Hmmm, it's been four months. ;-)

Oh yeah .. I totally forgot about this. I'm expecting to send you a patch for both this ticket and #9442 within the next two weeks.

comment:3 Changed 11 years ago by Robert Inder

It's been an awful lot longer than four months now! I'm not a Python programmer, nor really a Trac expert, and so I've just wasted the best part of an hour while upgrading Trac in order to work out what was going on.

I see the comment that says that the failure is deliberate, and I think it is poor design decision. I don't know why code from jsgantt is being called when I create or edit a ticket, so I don't know what the right behavious is. But I do know that it is not "crash with a cryptic message".

comment:4 Changed 11 years ago by Ryan J Ollos

I'm not using the plugin at the moment, so it's unlikely that I'll find time to provide a patch in the near future.

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.