Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Dali 3.0.1"

Line 83: Line 83:
 
many-to-one or one-to-one
 
many-to-one or one-to-one
 
| Verify the orm mapping file is updated with the selected type and no errors appear
 
| Verify the orm mapping file is updated with the selected type and no errors appear
 +
|-
 +
| 348143
 +
| NullPointerException: Add entity to XML
 +
| Create a brand new JPA project with a mapping xml created along with it
 +
(selecting "Create mapping file (orm.xml) checkbox" when creating the JPA
 +
project)
 +
| Project is created successfully
 +
|-
 +
| ...
 +
| ...
 +
| Right-click the created JPA project and select New -> JPA Entity to create
 +
an entity, select "Add to entity mappings in XML" checkbox when it shows,
 +
create a couple of fields for the entity (make at least 1 of them an ID, Key), and hit Finish.
 +
| Verify the Entity is created without any errors and the fields appear correctly as you entered them.
 
|-
 
|-
 
| 349071
 
| 349071

Revision as of 12:03, 3 August 2011

Dali QA Testing

Dali 3.0.1 Manual Testing

Manual Testing for 3.0.1 Release
Bug No. Description Test Steps Test Step Results
316022 NPE refreshing out of sync entity Create JPA Project, Create Entity for the project Project and Entity are created successfully
... ... Close the project and open the entity (ex. employee.java) in a text editor outside of eclipse and change something (ex. @Column(name="MANAGER_ID") to @Column(name="MANAGERID") ) Save the file File is updated and saved
... ... Go back to Eclipse and open the project, open the edited entity by using the Project Explorer>JPA Content tree and double clicking the entity Verify no errors appear in log and message states you need to refresh
... ... Hit F5 to refresh Verify the entity appears in the editor and no errors appear
351409 Strange event when saving the diagram ... ...
347219 NullPointerException: Change a mapping to element collection mapping Create JPA Project, create Entities from tables, Create orm mapping file Project, entities and mapping file are created successfully
... ... R-click on the mapping file in the JPA Structure tab and select Add Class Add Class dialog appears
... ... Select an entity that you created (ex. Employee) and click on OK Class appears in the orm mapping file
... ... R-click on an attribute in the JPA Structure tab, select Add Attribute to XML and Map... Add Attribute dialog appears
... ... Click on ok button Attribute is added to xml and mapping file
... ... R-Click on the added attribute and select Map As > Element Collection Verify xml and mapping is updated without any errors
347814 NullPointerException: Change a mapping to many-to-one or one-to-one mapping Create JPA project, create Entities from tables, create orm mapping file Project, entities and mapping file are created successfully
... ... Add Class (ex. Employee) to the mapping file via the JPA Structure Pane Class is added successfully
... ... In the JPA structure pane, right-click an attribute and add it to the XML Attribute is added to orm mapping file without error
... ... Again right-click the added attribute and try to change the type of it to

many-to-one or one-to-one

Verify the orm mapping file is updated with the selected type and no errors appear
348143 NullPointerException: Add entity to XML Create a brand new JPA project with a mapping xml created along with it

(selecting "Create mapping file (orm.xml) checkbox" when creating the JPA project)

Project is created successfully
... ... Right-click the created JPA project and select New -> JPA Entity to create

an entity, select "Add to entity mappings in XML" checkbox when it shows, create a couple of fields for the entity (make at least 1 of them an ID, Key), and hit Finish.

Verify the Entity is created without any errors and the fields appear correctly as you entered them.
349071 [EclipseLink] eclipselink 2.3 schemas not up to date Get latest Dali build and install, open eclipse>plugins>org.eclipse.jpt.common.eclipselink.cor_1.0.0.jar file Verify the latest files exist - eclipselink_orm_2_3.xsd file from 7/25/11, eclipselink_oxm_2_3.xsd from 6/24/11, eclipselink_persistence_map_2_3.xsd from 6/24/11
... ... For workaround, go to an older install, launch Eclipse, Select Window>Preferences Preferences dialog appears
... ... Select XML Catalog, Select User Specified Entries, click on Add button Add XML Catalog Element dialog appears
... ... Click on File system and browse to the latest version of the eclipselink_orm_2_3.xsd file, select open, for the Key enter the same value as the key for the .xsd file you are replacing in the plugin entries and click on ok button Verify the entry appears under the User Specified Entries and no errors appear.
... ...

Back to the top