Roundup Tracker - Issues

Issue 694016

classification
metakit import broken
Type: Severity: normal
Components: Database Versions:
process
Status: closed fixed
:
: richard : gmcm, richard
Priority: normal :

Created on 2003-02-26 23:54 by richard, last changed 2003-02-27 22:56 by richard.

Messages
msg681 Author: [hidden] (richard) Date: 2003-02-26 23:54
An import of a tracker with a single issue breaks when the 
metakit backend attempts to import the issue. 
 
Traceback (most recent call last): 
  File "/home/rjones/src/roundup/roundup/roundup/admin.py", line 
1147, in run_command 
    ret = function(args[1:]) 
  File "/home/rjones/src/roundup/roundup/roundup/admin.py", line 
991, in do_import 
    maxid = max(maxid, int(cl.import_list(propnames, l))) 
  File 
"/home/rjones/src/roundup/roundup/roundup/backends/back_metakit.py", 
line 1123, in import_list 
    ndx = view.append(d) 
ValueError: Object has no usable attributes 
 
msg682 Author: [hidden] (gmcm) Date: 2003-02-27 13:31
Logged In: YES 
user_id=4923

I suspect that the sequence of calls  that open the MK
DB for import  is not creating a valid MK view. A
"print view.structure()" before the append would 
probably show an unstructured view. I'll try to take a
closer look.
msg683 Author: [hidden] (richard) Date: 2003-02-27 22:56
Logged In: YES 
user_id=6405

I thought of that, but the structure is set correctly... 
 
msg684 Author: [hidden] (richard) Date: 2003-02-28 03:42
Logged In: YES 
user_id=6405

Ah, I figured it out. I can't just set a multilink to a [list] value. I have to 
get the ml view and append to it. All better now. 
 
History
Date User Action Args
2003-02-26 23:54:04richardcreate