Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#13224 closed defect (fixed)

Failure on Empty mp_backlog table

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: MultiProjectBacklogPlugin
Severity: critical Keywords:
Cc: Trac Release: 1.2

Description

When starting a new database, creating new tickets errors out. A screenshot is attached. web_ui queries the mp_backlog for max(rank), but receives nothing from the database because there is nothing to see.

Python tries to increment this rank, but there's nothing increment so it bombs.

Attachments (1)

trac-multiprojectbacklog-error.png (238.8 KB) - added by jminto@… 2 years ago.
Screenshot of empty mp_backlog error

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by jminto@…

Screenshot of empty mp_backlog error

comment:1 Changed 2 years ago by jminto@…

Defect occurs with Python 2.7.5

comment:2 Changed 2 years ago by Ryan J Ollos

Owner: changed from Cinc-th to Ryan J Ollos
Status: newaccepted

comment:3 Changed 2 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16692:

MultiProjectBacklog 0.4.0dev: Fix exception when creating first ticket

The issue has only been reproduced in an installation that had
no tickets before MultiProjectBacklog was installed.

Fixes #13224.

comment:4 Changed 2 years ago by jminto@…

Confirmed working - Thank you!!

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.