| Summary: | Exception thrown selecting primitive xsd's | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Stanislav Nichev <stanislav.nichev> | ||||
| Component: | WTP Incubator | Assignee: | Dimitar Donchev <dimitar.donchev> | ||||
| Status: | ASSIGNED --- | QA Contact: | Dimitar Tenev <dimitar.tenev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dimitar.donchev | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 189784 [details]
fix
Hi Colleagues,
Please do not use the SetBaseTypeCommand for setting the type of complex types. This is a dead code on our side - we use this command to set the basetype of simple types.
Use the SetStructureTypeBaseTypeCompositeCommand command for setting the type of complex types. This command handles the conversions from complex type simple/complex content to complex/simple content.
Regards,
Stanislav
Patch is committed. Dead code is to be investigated and optionally refactored/removed. I leave the bugzilla in progres. Best Regards Dimitar |
Build Identifier: Hi, 1. In NWDS, open any existing core datatype. 2. Change the classification of the core datatype to Free-style datatype. 3. Insert an element. Now try adding a base type to the datatype node. 4. Select any primitive XSD types in the datatype node. Exception is getting thrown. 5. After the exception, the user is not allowed to refer datatype/xsd even for element created. Note: Log attached. Thanks, Mahesh Memo 24.02.2011 16:53:12 KeshavRao Veerapaneni Hello Colleagues, There is a issue in SetBaseTypeCommand which is causing this problem. Please fix this issue. The log is attached with the CSN. Best Regards, Keshav Reproducible: Always