…ts drop down reset to remove entry. Next visit to page will YSOD due to ServerId == Guid.Empty
Scenarios results from Edit Project screen not having a way to remove an associated cruise control project. For example, setup a project with two Cruise Control projects:
Then edit the project again and set the second entry to the default drop down entries:
The Edit screen will update the second entry with the name of Guid.Empty and a Server Id of Guid.Empty. This causes the call to Single on Line 73 to fail. This fix simply allows the Edit screen to display without throwing an error but does not fix the underlying root cause data corruption to Model.Project.CruiseProjectAssociations.
…ts drop down reset to remove entry. Next visit to page will YSOD due to ServerId == Guid.Empty
Scenarios results from Edit Project screen not having a way to remove an associated cruise control project. For example, setup a project with two Cruise Control projects:
Then edit the project again and set the second entry to the default drop down entries:
The Edit screen will update the second entry with the name of Guid.Empty and a Server Id of Guid.Empty. This causes the call to Single on Line 73 to fail. This fix simply allows the Edit screen to display without throwing an error but does not fix the underlying root cause data corruption to Model.Project.CruiseProjectAssociations.