Project

General

Profile

Actions

Defect #6929

closed

new issue from email does not seem to populate DB issue fully

Added by c s over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
-
Start date:
2010-11-17
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

I recently upgraded to 1.0.3, and now I get an error similar to this when and issue is entered via email http://www.redmine.org/issues/6785

From what I can tell, the rake command to skim new emails from an imap mailbox does not populate the root_id, lft, rgt columns on insert.

the cronned rake command is
cd /var/tmp; /path/to/rake --silent -f /path/to/redmine/Rakefile
redmine:email:receive_imap
RAILS_ENV="production"
host=XXXXXX
username=XXXXXX
password=XXXXXX
folder=XXXXXX
project=XXXXXX
tracker=XXXXXX
allow_override=tracker,priority
unknown_user=accept
no_permission_check=1

the result look something like this:
id | 3983
tracker_id | 3
project_id | 31
subject | test
description | boom
due_date | NULL
category_id | NULL
status_id | 1
assigned_to_id | NULL
priority_id | 4
fixed_version_id | NULL
author_id | 2
lock_version | 0
created_on | 2010-11-17 15:22:11.630236
updated_on | 2010-11-17 15:22:11.630236
start_date | NULL
done_ratio | 0
estimated_hours | NULL
parent_id | NULL
root_id | NULL
lft | NULL
rgt | NULL

entering issues by hand does work, that is, root_id, lft, rgt are populated.

redmine 1.0.3

ruby 1.8.7

gem list:
fastercsv (1.2.3)
fastthread (1.0.7)
passenger (2.2.11)
pg (0.8.0)
rack (1.0.1)
rake (0.8.7)
sources (0.0.2)

postgres 8.2

no extra plugins installed.

Thanks.

Actions

Also available in: Atom PDF