Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Dilip Respected Contributor.
Respected Contributor.
255 views

QC 12.55 Test step user field label names not updating

Jump to solution

ALM version : 12.55.113

We had upgraded from a version 11.52 to 12.55 a few months back. This issue was noticed just a few days back.

  1. Open Customize menu --> Project Entities --> Test Step --> User Fields
  2. Create a new user field with label name   "Custom Data". The system defaults the Name field to ST_USER_01
  3. Save and return to Test Plan.
  4. The new column that we just added in Test Steps shows up as ST_USER_01 instead of "Custom Data"

To see if this was across all User fields across different modules, added a custom user field under TEST and the label name propogates correctly to the test plan details section. The issue seems to be happening only for TestStep custom user fields. 

Any advice how to fix this ?

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.. Jan Czajkowski Acclaimed Contributor..
Acclaimed Contributor..

Re: QC 12.55 Test step user field label names not updating

Jump to solution

After updating a label directly in the database, the update will not be seen automatically. The QC client will use the latest known customization version.

The easiest way to make it visible is to go to Customize, then make some change on the field level - for example add a field or change a label in any module. Then save. Go back to the project and check the label that was updated directly in the DB.

Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
0 Likes
8 Replies
Dilip Respected Contributor.
Respected Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution
On going through the System_Field table and running the below query:

Select * from System_Field where SF_TABLE_NAME = 'DESSTEPS'
the SF_USER_LABEL is not being updated. Is this a product bug ?
0 Likes
Dilip Respected Contributor.
Respected Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution
Updated the SF_USER_LABEL..but does the change does not reflect on the UI..arghh..
Anyone has ideas please?
0 Likes
Honored Contributor.. arichtman Honored Contributor..
Honored Contributor..

Re: QC 12.55 Test step user field label names not updating

Jump to solution

So you've confirmed in SYSTEM_FIELD that the UI isn't committing the changes to the database?

Hmmm...

  1. Silly question but - are you sure you're saving the customization data? It's an explicit step.
  2. Another silly one - are you sure you're checking the correct project?
  3. Are you logging out and clearing cache before checking to see the changes?
  4. Are you marking the change major or minor when exiting customization?
  5. Last silly one - is the project linked to a template?
  6. Are you running with Sprinter? Or manual runner?
  7. Is there any workflow code firing?

I replicated your steps on 12.55.473 but it did not produce the error - perhaps patch your version of ALM?field.pngcustomization.png

 
 
Highlighted
Acclaimed Contributor.. Jan Czajkowski Acclaimed Contributor..
Acclaimed Contributor..

Re: QC 12.55 Test step user field label names not updating

Jump to solution

After updating a label directly in the database, the update will not be seen automatically. The QC client will use the latest known customization version.

The easiest way to make it visible is to go to Customize, then make some change on the field level - for example add a field or change a label in any module. Then save. Go back to the project and check the label that was updated directly in the DB.

Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
0 Likes
Dilip Respected Contributor.
Respected Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution

Thanks for your response @arichtman . Here are answers to your question.

  1. Silly question but - are you sure you're saving the customization data? Yes, explicitly saving.
  2. Another silly one - are you sure you're checking the correct project? - Yes. And issue exists across all projects.
  3. Are you logging out and clearing cache before checking to see the changes? . No. Did it now..issue persists.
  4. Are you marking the change major or minor when exiting customization? - did both major and minor
  5. Last silly one - is the project linked to a template? -project created from scratch (empty project)
  6. Are you running with Sprinter? Or manual runner? - Manual runner
  7. Is there any workflow code firing?  - only Defect workflow rules exists.. none written for Test steps,Runs    
    The Test Run section does show the new user fields with their correct name, which is a good thing.
0 Likes
Dilip Respected Contributor.
Respected Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution

@Jan Czajkowski... :-) :-)

That did the trick. After updating the database, the changes were not showing up on the UI.

Went to Customize and added a new user field ...saved... and now the previous DB change is reflected in the UI. Thanks much @Jan Czajkowski  and @arichtman  for your help.

i just have to be careful not to make Namechanges to the existing UserFields in Test Step, as they get reverted back to DS_USER_xx. This workaround will be handly until we upgrade to a different ALM version.

 

 

0 Likes
sheyenne Outstanding Contributor.
Outstanding Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution
Lesson learned: don't mess with the back-end database. Always make changes in the ALM client UI :)
0 Likes
Dilip Respected Contributor.
Respected Contributor.

Re: QC 12.55 Test step user field label names not updating

Jump to solution
Hi @sheyenne,
To make this work, i actually do have to update the backend db table. The ALM version 12.55.111 seems to have a bug where new fields/columns added to Test Steps will show up with their 'base names' instead of the label names. So in this case..the UI is indeed broken and the db fixed it.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.