| Summary: | [Bugzilla] Validation not performed on deleted xsd:import | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Stanislav Nichev <stanislav.nichev> | ||||
| Component: | WTP Incubator | Assignee: | Dimitar Tenev <dimitar.tenev> | ||||
| Status: | NEW --- | QA Contact: | Dimitar Tenev <dimitar.tenev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 189816 [details]
reproduce data
|
Build Identifier: Hi Colleagues, In SIE 731 the following scenario fails: 1) Copy the attached files into the workspace 2) Open the attached wsdl in the SIE 3) Go to the DT tab and select the "http://namespace1" namespace 4) Go to the source tab (the schema element should be selected). If not - go to the DOM element of the namespace 5) Delete the import to namespace "http://namespace2" 6) Go to the DT tab 7) No validation error 8) Expand the "http://namespace1" namespace 9) Element2 type is unresolved Validation error should be shown. Regards, Stanislav Memo 18.10.2010 17:25:37 Stanislav Nichev Issue update: No validation is performed when the schemaLocation of the xsd:import is changed as well. Memo 26.10.2010 13:05:02 Stanislav Nichev Validation is performed, but on the non-updated model. There is no way to update the model. Bugzilla needs to be reported. Memo 28.10.2010 14:50:43 Stanislav Nichev Hi Colleagues, Custom validation constraint was implemented to cover the dettached model. Validation is now performed on delete of imported namespace and on delete of import directive. Unit tests have been updated to cover the fix. Code review by Dimitar Tenev. Regards, Stanislav Reproducible: Always