Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345467 - JAXB Schemas Properties Page: OK with nothing entered in Add Schema dialog results in blank entry
Summary: JAXB Schemas Properties Page: OK with nothing entered in Add Schema dialog re...
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard: fix_ready
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 12:43 EDT by Nan Li CLA
Modified: 2011-06-13 11:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Li CLA 2011-05-11 12:43:06 EDT
Build Identifier: I20110428-0848

1. Right-click a JAXB project and select Properties
2. Expand JAXB and select Schemas
3. On the Schemas page, click Add button to open Add a new schema location page
4. Clicking OK without selecting any schma

You will see an empty schema is added into the list. If clicking Apply or OK button on the Schemas page, JAXB validator will validate all the java classes against this empty schmea resulting in exceptions. The right way might be disable the OK button on the Add a new schmea location page if no schema location is specified.

Reproducible: Always
Comment 1 Paul Fullbright CLA 2011-05-18 18:41:56 EDT
fix for 345486 should also fix this
Comment 2 Paul Fullbright CLA 2011-05-19 02:48:52 EDT
committed for rc2 (fixed with bug 345486)
Comment 3 Jolene Moffitt CLA 2011-06-13 11:37:48 EDT
Verified in Build I-3.3.0RC4-20110603221533

Verified the OK button is not enabled until you select a schema.  See the link to view test steps for verification.  http://wiki.eclipse.org/Dali_3.0_RC2