| Summary: | No validation on imported schemas performed on editor start/open | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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: |
|
||||||||||
|
Description
Stanislav Nichev
Created attachment 189410 [details]
a sample archive for reproduction
Hi Colleagues,
To reproduce with the given archive, execute the following steps:
1) Copy the attached files into the workspace
2) Open the attached WSDL in the SIE
3) Go to the DT tab
4) Add new namespace
5) No validation errors should be shown
6) Execute undo - 17 validation errors shown
In some cases, executing redo is clearing the validation errors.
It seams that the validation errors are for the imported schemas.
Regards,
Stanislav
Hi Colleagues, An update on the issue: The validation errors are correctly displayed. The wsdl in the test scenario is importing two identical schemas (different filenames). The only bug here - no validation errors are shown when the wsdl is initially opened. No namespace needs to be created - creating new service interface works just as fine. The live validation should be started on editor start as well. I'm updating the issue summary. Regards, Stanislav Created attachment 189483 [details]
patch fixing the batch validation of contained schemas
Created attachment 189484 [details]
test and test data covering the fix
Adding test covering the proposed fix. The test data needs to be placed under <test plugin>/data/pub/csns/17errors
Regards,
Stanislav
|