Modify

Opened 13 years ago

Closed 13 years ago

#8261 closed defect (invalid)

Error: Requested field information not found for class resourceworkflowstate.

Reported by: Fabian Gast Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description

On every action in TestManager (e.g. add a new Catalog or just clicking on a test cataloge) I get following error in trac:

Requested field information not found for class resourceworkflowstate.

Logfile says:

2010-12-03 17:13:23,870 Trac[model] DEBUG: Title: None
2010-12-03 17:13:23,870 Trac[model] DEBUG: Description: None
2010-12-03 17:13:23,871 Trac[model] DEBUG: >>> get_fields
2010-12-03 17:13:23,871 Trac[model] DEBUG: <<< get_fields
2010-12-03 17:13:23,871 Trac[model] DEBUG: >>> _fetch_object
2010-12-03 17:13:23,871 Trac[model] DEBUG: Searching for testcatalog: WHERE 1=1 AND id=%%s
2010-12-03 17:13:23,871 Trac[model] DEBUG: id = 3
2010-12-03 17:13:23,872 Trac[model] DEBUG: Object found.
2010-12-03 17:13:23,873 Trac[model] DEBUG: Title: Test4
2010-12-03 17:13:23,873 Trac[model] DEBUG: <<< _fetch_object
2010-12-03 17:13:23,873 Trac[model] DEBUG: Exists: True
2010-12-03 17:13:23,873 Trac[model] DEBUG: {'page_name': u'TC_TT3', 'id': u'3'}
2010-12-03 17:13:23,878 Trac[model] DEBUG: Title: None
2010-12-03 17:13:23,878 Trac[model] DEBUG: Description: None
2010-12-03 17:13:23,878 Trac[model] DEBUG: >>> get_fields
2010-12-03 17:13:23,879 Trac[model] DEBUG: <<< get_fields
2010-12-03 17:13:23,879 Trac[model] DEBUG: >>> _fetch_object
2010-12-03 17:13:23,879 Trac[model] DEBUG: Searching for testcatalog: WHERE 1=1 AND id=%%s
2010-12-03 17:13:23,879 Trac[model] DEBUG: id = 3
2010-12-03 17:13:23,879 Trac[model] DEBUG: Object found.
2010-12-03 17:13:23,879 Trac[model] DEBUG: Title: Test4
2010-12-03 17:13:23,880 Trac[model] DEBUG: <<< _fetch_object
2010-12-03 17:13:23,880 Trac[model] DEBUG: Exists: True
2010-12-03 17:13:23,880 Trac[model] DEBUG: {'page_name': u'TC_TT3', 'id': u'3'}
2010-12-03 17:13:23,880 Trac[model] DEBUG: >>> get_fields
2010-12-03 17:13:23,880 Trac[model] DEBUG: <<< get_fields
2010-12-03 17:13:23,880 Trac[model] DEBUG: Exists: False
2010-12-03 17:13:23,880 Trac[model] DEBUG: {'author': None, 'page_name': None, 'id': None, 'catid': None, 'name': None}
2010-12-03 17:13:23,880 Trac[model] DEBUG: Value before: None
2010-12-03 17:13:23,880 Trac[model] DEBUG: Changing field value.
2010-12-03 17:13:23,880 Trac[model] DEBUG: Value after: 3
2010-12-03 17:13:23,881 Trac[model] DEBUG: >>> list_matching_objects
2010-12-03 17:13:23,881 Trac[model] DEBUG: <<< list_matching_objects
2010-12-03 17:13:23,883 Trac[workflow] DEBUG: >>> TestManagerWorkflowInterface - filter_stream
2010-12-03 17:13:23,883 Trac[model] DEBUG: >>> get_fields
2010-12-03 17:13:23,883 Trac[main] WARNING: HTTPInternalError: 500 Trac Error (Requested field information not found for class resourceworkflowstate.)

Trac Version: 0.12 TestManager Version: 1.3.11

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by Roberto Longobardi

Hi, I tried to reproduce this problem, but without success.

Please, could you make sure you have upgraded all the plugins in the set:

TracGenericClass: 1.0.3 TracGenericWorkflow: 1.0.2 TestManager: 1.3.11

Which python version do you use (I only tested on 2.6) ?

Ciao, Roberto

comment:2 Changed 13 years ago by Roberto Longobardi

Also, could you copy&paste your trac.ini file?

comment:3 Changed 13 years ago by anonymous

Hi, yes, we are using the latest versions of the Modules (1.0.3|1.0.2|1.3.11) and python 2.6

sys.version= 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 

AH! There it was... while pasting my trac.ini, i noticed i have forgotten to enable tracgenericclass.* and tracgenericworkflow.*
After adding these, it works!

comment:4 Changed 13 years ago by Roberto Longobardi

Resolution: invalid
Status: newclosed

:-)

Wow, this one was easy to fix :-)

Ciao, Roberto

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.