Modify

Opened 3 years ago

Last modified 15 months ago

#8989 new enhancement

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

Reported by: rjollos Owned by: ChrisNelson
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 rjollos 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by rjollos

comment:1 in reply to: ↑ description ; follow-up: Changed 3 years ago by ChrisNelson

Replying to rjollos:

...

I can provide a patch this weekend.

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

comment:2 in reply to: ↑ 1 Changed 3 years ago by rjollos

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 15 months ago by robert@…

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 15 months ago by rjollos

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.

Add Comment

Modify Ticket

Action
as new The owner will remain ChrisNelson.
Author


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

 
Note: See TracTickets for help on using tickets.