Modify

Opened 2 years ago

Last modified 12 months ago

#10668 new defect

Custom fields in test case not showing.

Reported by: rozhi Owned by: seccanj
Priority: high Component: TestManagerForTracPlugin
Severity: major Keywords:
Cc: Trac Release: 0.12

Description

We are using Test Manager 1.4.10 and we're encountering an intermittent problem with custom fields not showing up in test case pages within test plans. We would try refreshing the page and the custom fields would either be displayed or not with no consistency. We are using IE 8 and Chrome version 22 browsers. Attached are images that show the HTML portions that should have been generated when it works and what HTML was missing when it fails.

Attachments (4)

Custom fields showing.JPG (122.0 KB) - added by rozhi 2 years ago.
Custom fields NOT showing.JPG (92.5 KB) - added by rozhi 2 years ago.
Test Manager Custom Fields problem.docx (243.5 KB) - added by rozhi 2 years ago.
CustomFieldProblem.doc (384.5 KB) - added by rozhi 2 years ago.

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by rozhi

Changed 2 years ago by rozhi

Changed 2 years ago by rozhi

comment:1 Changed 2 years ago by seccanj

Hi Rozhi, unfortunately your attachments are not accessible because of a known problem with Trac-Hacks.

Anyway, you're still on 1.4.10....

Is there any possibility for you to upgrade to the latest Test Manager release? It supports Python 2.5 and up and Trac 0.12 and up.

The upgrade process should be smooth (backup your DB before starting, anyway).

Otherwise, I'll try to reproduce the problem and see if I can provide a patch.

Let me know. Ciao, Roberto

comment:2 Changed 2 years ago by seccanj

Forgot to say that the problem with attachments is caused by blanks in the file names.

Attach them without blanks and it should work.

Changed 2 years ago by rozhi

comment:3 Changed 2 years ago by rozhi

Hi Roberto, thanks for the reply. We've actually seen this problem ever since we've used Test Manager (pre 1.4). We've waited if other users would log the same problem but nobody seemed to have encountered this problem. We were hoping you would mention it with your latest versions fixes, but not yet. We know it occurs with IE, Chrome, and Firefox. I'm in the process of upgrading to 1.5.2 but encountered other problems. I might log it later. I've attached document CustomFieldProblem.doc which shows the HTML generated (good & fail). It seems that the function to get custom fields list (testcaseinplan) sometimes does not return any item. In my search, I think the code to analyze is in ..\testman4trac\trunk\testmanager\wiki.py, and function _get_custom_fields_markup which calls get_custom_fields_for_realm. Our trac.ini has the following custom fields entry: [testcaseinplan-tm_custom] actual_results = text actual_results.label = Actual Results actual_results.order = 1 actual_results.value = .....

Let me know how I can assist you in solving this issue. Thanks. Rodel

comment:4 Changed 22 months ago by david.killick@…

We are seeing this too woth the following versions:

  • Trac 0.12.2
  • TestManager 1.5.2
  • Python 2.6.6

comment:5 Changed 22 months ago by david.killick@…

Also, should mention:

  • Apache mod WsGi 3.3 (from Debian squeeze)

comment:6 Changed 12 months ago by seccanj

I've just released version 1.8.1: https://sourceforge.net/projects/testman4trac/files, where I've reviewd the custom fields funcitonality a lot.

Could you try ton replicate this issue on the latest release?

I'll wait some time and, if no one rings a bell, I'll close this ticket.

Version 0, edited 12 months ago by seccanj (next)

comment:7 Changed 12 months ago by rozhi

Hi seccanj. For now I won't be able to do the test. Thanks for supporting the community. You may close this ticket.

Add Comment

Modify Ticket

Action
as new The owner will remain seccanj.
Author


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

 
Note: See TracTickets for help on using tickets.