Receiving "Entity with key 'n' does not in the table 'BUG'" error when I go to defect module. But I was to create the defect from test lab when a step in the test script s failed and test script is attached to the release cycle. BG_DETECTED_IN_REL is populated with release when the defect is created and key 'n' is release number. BG_DETECTED_IN_RECYL is also updated with release cycle number.

Any idea why I am receiving this error? Kindly provide your suggestions