Modify

Opened 12 years ago

Last modified 11 years ago

#10668 new defect

Custom fields in test case not showing.

Reported by: rzhidalgo@yahoo.com Owned by: Roberto Longobardi
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 rzhidalgo@yahoo.com 12 years ago.
Custom fields NOT showing.JPG (92.5 KB) - added by rzhidalgo@yahoo.com 12 years ago.
Test Manager Custom Fields problem.docx (243.5 KB) - added by rzhidalgo@yahoo.com 12 years ago.
CustomFieldProblem.doc (384.5 KB) - added by rzhidalgo@yahoo.com 12 years ago.

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by rzhidalgo@yahoo.com

Attachment: Custom fields showing.JPG added

Changed 12 years ago by rzhidalgo@yahoo.com

Changed 12 years ago by rzhidalgo@yahoo.com

comment:1 Changed 12 years ago by Roberto Longobardi

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 12 years ago by Roberto Longobardi

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 12 years ago by rzhidalgo@yahoo.com

Attachment: CustomFieldProblem.doc added

comment:3 Changed 12 years ago by rzhidalgo@yahoo.com

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 12 years 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 12 years ago by david.killick@…

Also, should mention:

  • Apache mod WsGi 3.3 (from Debian squeeze)

comment:6 Changed 11 years ago by Roberto Longobardi

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

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

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

Last edited 11 years ago by Roberto Longobardi (previous) (diff)

comment:7 Changed 11 years ago by rzhidalgo@yahoo.com

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Roberto Longobardi.

Add Comment


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

 
Note: See TracTickets for help on using tickets.