Error – Cannot access a disposed object
Question ID: 109581
0
0

I have created a custom field with two list values in it. Bases on the selection on this field I am hiding/displaying the ‘Target Release’ field. added the workflow to Bug_New and Bug_FieldChange subs.
When I change the values in the defect details form, I am getting an error as ‘Cannot access a disposed object’
Here is the script added…

If Bug_Fields.Field(“BG_USER_17”).Value = “VALUE” Then
Bug_Fields.Field(“BG_TARGET_REL”).IsVisible = True
Else
Bug_Fields.Field(“BG_TARGET_REL”).IsVisible = False
End If

 

Marked as spam
Posted by (Questions: 113, Answers: 8)
Asked on June 5, 2020 12:59 pm
161 views
Answers (1)
0
Private answer

This issue has already been reported to Micro Focus and is addressed in QCCR1J101295. The issue was fixed in an patch, I assume it was Patch04, however I installed Patch05 and even though it was not listed in the fixed defects it resolved my issue.

Marked as spam
Posted by (Questions: 0, Answers: 309)
Answered on June 5, 2020 1:01 pm
0
thanks I'm on the original release I guess it's time to patch.
( at June 5, 2020 1:03 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top