Flyspray - The bug killer!

  • Status Confirmed
  • Percent Complete
    50%
  • Task Type Bug Report
  • Category Backend/Core
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Low
  • Reported Version 1.0-rc
  • Due in Version 1.0
  • Due Date 06.11.2016
    287 days overdue
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Guillaume - 05.11.2016
Last edited by peterdd - 23.01.2017

FS#2310 - Default entry to project creates endless loop

I setup the default page to “roadmap” for a project, logged out, and it’s not possible to access the base url anymore. I chased the bug throughoutt the code and it seems that:

index.php calls scripts/roadmap.php at line 200:

if (!defined('NO_DO')) {
    require_once(BASEDIR . "/scripts/$do.php");
} 

and:

in scripts/roadmap.php, lines 11-13 redirect to base url:

if (!$proj->id) {
    Flyspray::show_error(25);
}
Project Manager
peterdd commented on 06.11.2016 17:58

Reproduced the problem under following circumstances:

  1. A project is set as default project in the global admin settings.
  2. That project has roadmap set as the default page in the project settings.
  3. guests do not have the roadmap permission (others_view_roadmap in the project settings)
Project Manager
peterdd commented on 23.01.2017 23:50

Change made on github master. @Guillaume, please verify if that solves your reported problem, so I can close this task.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing