Ticket #10668 (new defect)

Opened 6 months ago

Last modified 3 months ago

Custom fields in test case not showing.

Reported by: rozhi Assigned to: 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

Custom fields showing.JPG (122.0 kB) - added by rozhi on 12/02/12 18:03:40.
Custom fields NOT showing.JPG (92.5 kB) - added by rozhi on 12/02/12 18:05:25.
Test Manager Custom Fields problem.docx (243.5 kB) - added by rozhi on 12/02/12 18:18:09.
CustomFieldProblem.doc (384.5 kB) - added by rozhi on 12/07/12 17:28:55.

Change History

12/02/12 18:03:40 changed by rozhi

  • attachment Custom fields showing.JPG added.

12/02/12 18:05:25 changed by rozhi

  • attachment Custom fields NOT showing.JPG added.

12/02/12 18:18:09 changed by rozhi

  • attachment Test Manager Custom Fields problem.docx added.

12/05/12 20:02:09 changed 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

12/05/12 20:02:51 changed 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.

12/07/12 17:28:55 changed by rozhi

  • attachment CustomFieldProblem.doc added.

12/07/12 18:03:11 changed 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

02/28/13 15:25:55 changed by david.killick@wcn.co.uk

We are seeing this too woth the following versions:

  • Trac 0.12.2
  • TestManager 1.5.2
  • Python 2.6.6

02/28/13 15:32:43 changed by david.killick@wcn.co.uk

Also, should mention:

  • Apache mod WsGi 3.3 (from Debian squeeze)

Add/Change #10668 (Custom fields in test case not showing.)




Change Properties
Action