Project

General

Profile

Actions

Defect #6016

closed

Missing project in issues list... very strange

Added by Patrick Logé almost 14 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-08-02
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

Description

Hi,

On my local machine I get a 403 message on every issues.
I start digging and noticed that the project is not listed in the issues list

I did the following at the console.
Notice I get a nil value as the issue's project at the end.
But the issue has a project. Something seems going wrong with the association.

It works in production (Redmine 0.9.4.stable.3733).

root$ script/console
Loading development environment (Rails 2.3.5)
>> @i=Issue.find :first, :include=>[:project]
=> #<Issue id: 1, tracker_id: 2, project_id: 1, subject: "Analyse du besoin du client", 
description: "* Déterminer son besoin\r\n* Analyser les problèmes...", due_date: nil, 
category_id: 3, status_id: 5, assigned_to_id: 3, priority_id: 4, fixed_version_id: nil, 
author_id: 3, lock_version: 4, created_on: "2008-07-04 12:59:11", 
updated_on: "2008-09-07 14:08:54", start_date: "2008-07-01", 
done_ratio: 0, estimated_hours: nil, deliverable_id: nil, 
parent_id: nil, root_id: 1, lft: 1, rgt: 2>
>> @i.project
=> nil
>> 

I'm working with Redmine 0.9.6.devel.3847

Actions

Also available in: Atom PDF