Error – Cannot access a disposed object
Question ID: 109581

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
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
Answers (1)
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
thanks I'm on the original release I guess it's time to patch.
( at June 5, 2020 1:03 pm)

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

Scroll to Top