Dali 3.3 M2 Release

From Eclipsepedia

Jump to: navigation, search

Dali 3.3

Dali 3.3 M2 Release Manual Testing

Manual Testing for 3.3 M2 Release
Bug No. Description Test Steps Test Step Results
193531 JPA Structure view does not maintain selection when switching editors Create JPA Project, Create 4 or more JPA entities with at least 2 attributes JPA Project and entities are created successfully
... ... Change perspective to JPA, Open a JPA Entity in the editor Verify it appears in the JPA Structure view expanded so attributes appear
... ... Open another JPA entity in the Editor Verify JPA Structure is updated with the new JPA entity that was selected and the view is expanded so attributes appear
... ... Close the JPA Entity editor that is currently the focus Verify JPA structure view is updated to the Entity that now is the focus in the editor and the view in the structure is expanded so attributes appear
228951 rename java file, structure view does not update Create JPA Project, create JPA Entity Project and entity are created successfully
... ... Open JPA Entity in editor Verify it appears in JPA Structure pane
... ... Rename the .java file (R-Click on .java file, select Refactor>Rename, change the name and click on the Finish button) Verify the name is updated and the updated .java file appears in the editor and the JPA Structure pane with the new name
... ... Create a new package and then R-Click on the .java file and select Refactor > Move Move dialog appears
... ... Select the newly created package and click on the OK button Verify the .java file is updated and appears in the new package but still remains in the editor and the JPA Structure pane
281677 Add remove lists - selection problems Create JPA EclipseLink Project and Generate Entities from Tables Project and Entities are created successfully
... ... Open Persistence.xml in editor, Select General Tab, Expand Managed Classes Verify entites appear in list
... ... Select a class in the list, Then use ctrl key and select another class Verify both classes are selected now and Remove button is enabled and Open button is disabled.
... ... Select just one of the classes, click on the Add button Add dialog appears
... ... Select a class and click on OK button Verify added class is highlighted and you can open or remove the added class
... ... Deselect all the items in the list Verify Open and Remove buttons are disabled
... ... Click on the Add button, Add a class and click on OK button Verify added class is highlighted and you can open or remove the added class
297867 Order column section is editable after removing an attribute from orm.xml Create a JPA 2.0 generic project and add a 1-m mapping with an OrderColumn(name="foo") to the java Project and entity with mapping are added successfully
... ... Add the entity to the orm.xml, then add the attribute with the 1-many mapping to the orm.xml 1-many attribute appears in the orm.xml
... ... Expand ordering and select order column radio button and enter foo for the name, then remove the attribute from the orm.xml Verify you cannot edit anything in the ordering section in the JPA Details for the attribute within the orm.xml
315464 Ability to convert an orm.xml file into an eclipselink-orm.xml file Create a generic JPA Project with an EclipseLink platform JPA projects is created successfully
... ... R-Click on the project, Create orm.xml
322567 JAXB schema generation should open the generated schema Create JAXB project Project is created successfully
... ... Create two Classes(FooA & FooB) in the JAXB Project Classes are created successfully
... ... R-Click on the project and select New>Other New dialog appears
... ... Select JAXB > Schema from JAXB classes and click on Next button, choose the project where classes exist and click on finish button Verify the .xsd schema is created and opened in the editor.
330592 Exclude unlisted EclipseLink XML mapping file checkbox needs clearer label Create a JPA EclipseLink project, Open the persistence.xml in the editor, go to the General tab Verify the checkbox beneath the XML Mapping Files section states 'Exclude default EclipseLink XML mapping file (false)
... ... Open the Help for the Manageing the persistence.xml file Verify it has been updated for the Exclude default EclipseLink XML mapping file
335447 UI is out of sync once switching from Temporal to Converted Create JPA project and JPA Entity with several attributes Project and entity are created successfully
... ... Select a basic mapped attribute in the JPA Structure and Expand Type section in the JPA Details tab Verify Default radio button is selected
... ... Select Temporal radio button Verify @Temporal annotation appears in the .java editor for the entity
... ... Select Converted radio button in JPA Details tab Verify @Convert annotation appears in the .java editor for the entity
... ... Select Temporal radio button again Verify @Temporal annotation appears in the .java editor and @Convert is removed and the @Converted radio button is deselected
... ... Select the Default radio button Verify @Temporal annotation is removed and no annotation appears for the Default selection.
340749 Add Search field above the Tables list in Generate Custom Entities wizard page Create JPA Project JPA Project is created successfully
... ... R-click on project, Select JPA Tools > Generate Entities from Tables... Generate Custom Entities dialog appears and Tables field appears to enter text for search
... ... Connect to a database with several tables, Enter A into the Tables field Verify all tables that start with A or a appear for selection
... ... Enter *e into the Tables field Verify all tables that contain an e or E appear for selection
348145 The list of discriminator column not updated when table of entity changed Create JPA project JPA Project is created successfully
... ... Create an entity Foo with two attributes, Then create another entity Foo1 making it extend Foo Verify both entites were created successfully
... ... Select entity Foo and go to JPA Details, Change the table name that entity Foo maps and check the columns listed in the Name drop down under Inheritance -> Discriminator column Verify the columns appear for the newly selected table.
... ... Select entity Foo, map one of the attributes as many to many Attribute is updated with many-to-many mapping type
... ... Change Join Table Name in JPA Details for the many-to-many attribute, Expand Ordering, and click on order column radio button Verify when you click on the Name drop down the columns appear for the newly selected join table name
352865 sql-script generation does not open the generated script Create JPA Project, Create Two JPA Entities with two or three fields JPA Project and Entities are created successfully
... ... R-click on project, Select JPA Tools>Generate Tables from Entities... Generate Tables from Entities dialog appears
... ... Select SQL-Script radio button and click on Finish button Verify file is opened in editor and the CreateDDL.sql and DropDDL.sql files appear in the project explorer for the project
362203 Entity Gen Wizard: Manually input table names are not counted on Association Tables page Create JPA Project with db connection setup JPA Project is created successfully
... ... R-Click on project, Select JPA Tools > Generate Entities from Tables ... Generate Custom Entities dialog appears
... ... Select two or three tables and click on the next button Table Association page appears
... ... Click on New Association button, Select a table for Table 1 and Table 2 field separately, than change the table names by manually input values (make them invalid table names) to the fields Verify Next button is not enabled and error appears in dialog stating - Specified table 'invalid name for table 1' does not exist
... ... Select a valid table name for Table 1 Verify Next button is still not enabled and error updates in dialog stating - Specified table 'invalid name for table 2' does not exist
... ... Enter a valid table name for Table 2 Verify Next button is now enabled
362234 [EclipseLink] default 1-1 derived id mapping appears as an id mapping, causes invalid validation Create JPA EclipseLink project JPA EclipseLink project is created successfully
... ... Create two Entities per the bug for Administrator and Employee or download and import the project that was attached to the bug. Entities or the import are done successfully
... ... Open Administrator entity in the editor Verify that the mapping for Employee emp appears as one-to-one in the JPA Details pane and the one-to-one icon appears for the mapping in the JPA Structure pane even though the annotation is @Id
... ... Select Project > Clean for that project Verify the mapping still remains one-to-one
... ... Remove the @Id annotation in the editor for Employee emp attribute and Save Verify error appears in Problems pane stating "The entity is no primary key defined"
... ... Add the @Id annotation back for the Employee emp attribute and Save Verify the Error is removed from the problems pane and the mapping still shows as one-to-one in JPA Details pane and JPA Structure pane.
364197 [Entity Gen] First time adding many-to-many association fails Create JPA Project with database connection JPA project is created successfully
... ... R-Click on project, Select JPA Tools > Generate Entities from Tables ... Generate Custom Entities dialog appears
... ... Select a couple of tables and go to the Table Associations page, Click New Association button to bring up the Create New Association page, Select 'Many to many association' radio button, configure the association

tables properly (for the Join Table, select a table that was not previously select in the Select tables page), and click Finish

Verify the table association appears correctly as Many to Many
... ... Select the newly created table association and click on the Remove button Verify the table association is removed and the remove button is now disabled
... ... Click New Association button to bring up the Create New Association page, Select 'Many to many association' radio button, configure the association

tables properly (for the Join Table, select a table that was not previously select in the Select tables page), and click Finish

Verify the table association appears correctly as Many to Many
365474 'Show In' menu for java/JPA perspective for java and xml files should have JPA views Create JPA Project and JPA entity JPA Project and JPA Entity are created successfully
... ... While having the JPA Perspective open, R-Click on the JPA Entity, Highlight Show In Verify JPA Details and JPA Structure appear for selection
... ... Change perspective to Java, R-Click on the JPA Entity, Highlight Show In Verify JPA Details and JPA Structure do not appear for selection
... ... Change perspective to JPA, R-Click on JPA Entity, Select Show In > JPA Structure Verify the Entity is opened in the editor and appears in JPA Structure pane as well as JPA Details pane
372069 NPE when trying to override an association mapping with mapped-by strategy Create JPA Project JPA Project is created successfully
... ... Create the 3 JPA Entities as in the Bug Verify no NPE errors appear in the Error log
... ... Create orm.xml mapping file and add Foo2 to the mapping file Verify no NPE Errors appear in error log
... ... Add the association-override to the orm.xml mapping file as stated in bug and save Verify no NPR errors appear in error log
378306 1-m JPA details view- unnecessary 'Override default' check box for join columns strategy Create JPA Project and JPA Entity JPA Project and JPA Entity are created successfully
... ... Create JPA Attribute to the JPA Entity and map as One To Many One to Many Mapping for attribute is successful without errors in error log
... ... Click on Join Columns Radio button in JPA Details tab for the One To Many attribute Verify no check box for 'Override default' appears for Join Columns
379274 State of components of secondary tables section retained cross entities Create JPA Project and two or more JPA entities JPA Project and entities are created successfully
... ... Add a secondary table to one of the entities, select the added secondary table, select "Override default" checkbox and define some primary key join columns Verify the added Primary Key join columns appear
... ... Open another entity and go to "Secondary tables" section in JPA Details Tab Verify nothing appears for the Secondary table for the Entity
... ... Add a secondary table for the Entity, Select the added secondary table, Select "Override default" checkbox and define some primary key join columns. Verify the added primary key join columns were added to this entity
... ... Go back to the first Entity and look at the Secondary Table section in JPA Details Tab Verify only the Secondary Table and added primary key join columns that were initially added for this entity appear.
381061 EclipseLink static weaving builder is not removed when JPA facet is removed Create Java project Java Project is created successfully
... ... R-click on Java Project and select Properties Properties dialog appears
... ... Select Project and click on convert to faceted form... link Project Facets page appears
... ... Check the JPA checkbox and click on further configuration available link Modify Faceted Project dialog appears
... ... Select a platform and library, Click on OK button. Modify Faceted project dialog closes
... ... Click on OK button Properties dialog closes
... ... R-click on Project, Select Properties Properties dialog appears and JPA checkbox is selected
... ... Select JPA>EclipseLink EclipseLink page appears for Static weaving and Weave classes on build is unchecked
... ... Check the Weave classes on build and click on OK button Properties dialog closes
... ... R-click on Project, Select Properties Properties dialog appears and Verify Weave classes on build is checked
... ... Select Project Facets, Uncheck JPA checkbox and click on Apply Verify EclipseLink Static weaving is no longer enabled (weave classes on build is unchecked)
383105 Clarification on 'Schema get tables' string Download latest version of Dali, open jpt_ui_entity_gen.properties in the /plugins/org.eclipse.jpt.jpa.ui jar file File is opened successfully in wordpad
... ... Locate GenerateEntitiesWizard_tableSelectPage_getTables_taskName= Verify it shows =Getting tables
... ... Locate GenerateEntitiesWizard_tableSelectPage_chooseEntityTable= Verify it shows =Select tables from which entities will be generated.
... ... Locate GenerateEntitiesWizard_tableSelectPage_updatePersistenceXml= Verify it shows =List generated classes in persistence.xml
... ... Locate GenerateEntitiesWizard_tableSelectPage_Restore_Defaults= Verify it shows =Restore Defaults
... ... Locate GenerateEntitiesWizard_tableSelectPage_getTables_jobName= Verify it shows =Get tables
383352 TCT#9 Variable Replacement request Download Dali wtp build, Open eclipse\plugins\org.eclipse.jpt.jpa.ui\jpt_ui.properties Verify {0} was removed from prior to Duplicated in the following warning 'Warning: Malformed metadata will result in a non-functional mapping file.Duplicated or overridden annotations will not be moved to the mapping file.'
384745 WSW38 TCT#29 "any number of any number of" Download Dali wtp build, Open eclipse\plugins\org.eclipse.jpt.jpa.ui\jpt_ui_jpql_identifiers.properties Verify the following expression was updated to remove type of any number of any number of A CASE expression can include any number of WHEN/THEN statement ...
389880 Illegal type mapping key: null - removing @Entity annotation Create JPA Project and JPA Entity as follows @Entity

public class Bar {

   @Id
   private int id;

}

JPA Project and Entity are created successfully
... ... Remove the @Entity annotation and save Verify no null errors appear in the Error log
... ... Add the @Entity annotation back and then add two more unmapped attributes private int a, private int a (using same name for attribute. Verify no null errors appear in the Error log
... ... Change the second attribute name to something else Verify no null errors appear in the Error log
... ... Add and remove another attribute via the java editor Verify no null errors appear in the error log