ukautz/mantis2redmine — Issue #4: Error on 'fresh' Redmine
Author: esolitos
Created: 2012-03-07 16:20:25+00:00
State: open

Hi, i have this error (_reported below_) when importing mantis data in a fresh install of redmine. A workaround is to simply create a fake project and a fake version on both mantis and redmine.

```
*** Versions ***

Mantis: Version

Redmine: Version

Version translation
Mantis -> Redmine

Use of uninitialized value $last_mantis in concatenation (.) or string at ./mantis2redmine.pl line 1187, line 13.
Use of uninitialized value $last_mantis in hash element at ./mantis2redmine.pl line 1187, line 13.
Use of uninitialized value in concatenation (.) or string at ./mantis2redmine.pl line 1187, line 13.
Type 'ok' if you confirm or num:num or num:-1 for create as new to change assignment
eg :1 to change Version of '' to 'Test Version'
type 'print' to show the Redmine/Mantis tabels again
(ok/num:num/print) > ok
Use of uninitialized value in numeric eq (==) at ./mantis2redmine.pl line 1113, line 14.
Can't use an undefined value as a HASH reference at ./mantis2redmine.pl line 1113, line 14.
```