Ticket #8261 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Error: Requested field information not found for class resourceworkflowstate.

Reported by: f.gast@ethon.com Assigned to: seccanj
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

Change History

12/05/10 10:54:41 changed by seccanj

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

12/06/10 09:29:54 changed by seccanj

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

12/06/10 12:48:12 changed 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!

12/06/10 16:24:01 changed by seccanj

  • status changed from new to closed.
  • resolution set to invalid.

:-)

Wow, this one was easy to fix :-)

Ciao, Roberto


Add/Change #8261 (Error: Requested field information not found for class resourceworkflowstate.)




Change Properties
Action