Defect #6929
closednew issue from email does not seem to populate DB issue fully
0%
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.
Updated by Jean-Philippe Lang over 14 years ago
- Assignee set to Jean-Philippe Lang
Updated by Jean-Philippe Lang over 14 years ago
I can not reproduce. Can you attach the application log generated when receiving such an email with log level set to debug. Thanks.
Updated by c s over 14 years ago
- Status changed from New to Resolved
Crap, same problem as this #6744.
created a new folder for the upgrade, but the rake file was still pointing at the old one.
Sorry for wasting your time.
Updated by Felix Schäfer over 14 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
c s wrote:
Sorry for wasting your time.
Those things happen, thanks for dropping a line about it here.