stable

Clone or download

Read-only

fix: notice on ProjectMember widget w/o ownership

When ProjectMember is displayed on a project that does not appear in plugin_project_ownership_project_owner table, then a notice is raised: ( ! ) Notice: Trying to access array offset on value of type null in /usr/share/tuleap/plugins/project_ownership/include/ProjectOwner/UserWithStarBadgeFinder.php on line 39 Closes request #21349: Notice: Trying to access array offset on value of type null in project_ownership Change-Id: Ic4b3e220ae58ce6cfa4585243b7c9817d06eafb8

Modified Files

Name
M plugins/project_ownership/include/ProjectOwner/ProjectOwnerDAO.php +2 −5 Go to diff View file
M plugins/project_ownership/include/ProjectOwner/UserWithStarBadgeFinder.php +7 −3 Go to diff View file
A plugins/project_ownership/tests/unit/ProjectOwner/UserWithStarBadgeFinderTest.php +75 −0 Go to diff View file
M src/common/Widget/Event/UserWithStarBadgeCollector.php +1 −4 Go to diff View file