| Summary: | Guard against null model baseLocations | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nick Sandonato <nsand.dev> | ||||||
| Component: | wst.xml | Assignee: | Nick Sandonato <nsand.dev> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | Flags: | thatnitind:
review+
|
||||||
| Version: | 3.2.3 | ||||||||
| Target Milestone: | 3.2.4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Nick Sandonato
Created attachment 192675 [details]
patch
Wouldn't it be better to also copy the base location, given that the IDs have to be different? Created attachment 192680 [details]
patch with doc update
copyModelForEdit, maybe. But createNewInstance is still capable of setting the baseLocation to null. I've updated the doc to reflect this and left the null checks.
Thanks for the review. Code checked in. |