Open Bug 1467725 Opened 8 years ago Updated 6 years ago

TestCases display not correct when a case link to multi-plans

Categories

(Testopia :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mlwang1990, Assigned: gregaryh)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36 Steps to reproduce: step 1:new two plans; step 2:new a case and link to two plans above; step 3:view test cases tab on dashboard. Actual results: the only show one record like this: ID Plan 1 1 Expected results: shoud show two records, like this: ID Plan 1 1 1 2
I have known the reason, lib/TestCase.pm:line 1743, if the case id belong to array plan_ids, plan_id just be valued plan_ids[0], this is not reasonable, so I need help, thank u.
Only the case_id can't locate a tr_case_plan record, case_id + plan_id can reach this goal.
Group: bugzilla-security
You need to log in before you can comment on or make changes to this bug.