stable
Clone or download
Read-only
request #12297 Javascript error in the edit campaign modal with changing categories
How to test: - Create a new campaign with a given test definition - After creation, change the definition's category - Go to the campaign and open the "Edit campaign" modal - The definition is listed with its latest category. It should be selected. There should not be an error like: > Cannot read property "tests" of undefined. Change-Id: Ia8fe94653ecec61761ccbb133b76717c1667c7d8
Modified Files
Name | ||||
---|---|---|---|---|
M | www/scripts/angular/src/app/app.spec.js | +1 | −0 | Go to diff View file |
M | www/scripts/angular/src/app/campaign/campaign-edit-controller.js | +7 | −43 | Go to diff View file |
A | www/scripts/angular/src/app/campaign/edit-campaign/edit-campaign-model-builder.js | +69 | −0 | Go to diff View file |
A | www/scripts/angular/src/app/campaign/edit-campaign/edit-campaign-model-builder.spec.js | +177 | −0 | Go to diff View file |
A | www/scripts/angular/src/app/definition/definition-constants.js | +20 | −0 | Go to diff View file |
M | www/scripts/angular/src/app/definition/definition-service.js | +5 | −4 | Go to diff View file |
M | www/scripts/angular/src/app/definition/definition.js | +1 | −4 | Go to diff View file |