This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#345 closed defect (fixed)

Empty db: error if there is not default location for RB

Reported by: jbenito Owned by: Ian Rolewicz <ian.rolewicz@…>
Priority: very low Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

Even in the RB is not active, there is an exception in the category display due to the default location (empty by default).

Change History (3)

comment:1 Changed 5 years ago by pferreir

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #401

comment:2 Changed 5 years ago by ian.rolewicz@…

  • Resolution changed from duplicate to fixed

commit 36827b1a86042c91cf604c1f302e95e153475469
Author: Ian Rolewicz <ian.rolewicz@…>
Date: Fri May 21 16:22:21 2010 +0200

[FIX] Empty Default Location causes an error


  • fixes #401
  • fixes #345
  • vars.js.tpl was trying to get Location.getDefaultLocation().friendlyName, but failed generating vars.js.tpl.tmp since Location.getDefaultLocation() returned None. Added if-statements to get an empty string as a default location if the latter was None.

comment:6 Changed 5 years ago by Ian Rolewicz <ian.rolewicz@…>

  • Owner set to Ian Rolewicz <ian.rolewicz@…>

In [36827b1a86042c91cf604c1f302e95e153475469]:

[FIX] Empty Default Location causes an error

  • fixes #401
  • fixes #345
  • vars.js.tpl was trying to get Location.getDefaultLocation().friendlyName, but failed generating vars.js.tpl.tmp since Location.getDefaultLocation() returned None. Added if-statements to get an empty string as a default location if the latter was None.
Note: See TracTickets for help on using tickets.