0

Resolved

0001 Database Capability (Phase 1) - 11 Create Actions - Add Node

description

·         Handle any editing of a node in a tree to require the Parent Node of any other instances of that node to collapse (A5)
·         Handle changes to related entities that involve an existing instance of those entities elsewhere in the tree will result in the collapse of that instance. (A9)
·         AddEntityType
                o   Call client service
                o   Call query method of EntityProviderDomainContext.  (learn how to do this.)
                o   Process return type
                o   Reload child nodes of tree
·         AddEntitySet  (#12, repeat steps from above)
·         AddProperty
 
Related requirements:
 
• Manages Uncommitted Nodes - Adds nodes
 
9 - User will have the ability to add entities to the Domain Tree.
10 - User can add entities starting at:
 Entity Container
 Entity Set
 Entity Type
 Property
 Navigation Property
11 - Entities will always be added to the tree under Entity Set
12 - If an Entity is added to the tree elsewhere other than Entity Set, an Entity Set will be created
 
• Communicates with EntityProvider extension directly
 
48 - EntityProvider will communicate changes with EntityProvider extension via Domain service methods.

Reproduction Steps:

Add New EntityType

1 - Select an EntityContainer node in tree view.
2 - Right-click on the selected node. A context menu should appear.
3 - Select the Add New EntityType menu item.
4 - A new editable node should be added to the tree underneath the EntityContainer.
5 - Type in a name for the node, then press the Enter key.
 
NOTE: When adding a new EntityType, two nodes are created in this process. The first node will be an EntitySet, with the name being a plural form of the name entered. The second node will be an EntityType, with the name being a singular form of the name entered. This is due to the one-to-one relationship between EntitySet and EntityType.
 
6 - The editable node should disappear, and the new EntitySet should appear under the the EntityContainer.
7 - Expand the new EntitySet node to view the new EntityType node.
8 - Refresh the web page and locate the new nodes in the tree view.

Add New Property
1 - Select an EntityType node in tree view.
2 - Right-click on the selected node. A context menu should appear.
3 - Select the Add New Property menu item.
4 - A new editable node should be added to the tree underneath the EntityType.
5 - Type in a name for the node, then press the Enter key. The NodeExpander should appear.
6 - Enter a value for each of the NodeExpander slots. The Expand button will become a green Commit button on the last slot. Click the green Commit button.
7 - The editable node and NodeExpander should disappear, and the new Property should appear under the EntityType.
8 - Refresh the web page and locate the new node in the tree view.
9 - Click on the new Property node. The NodeExpander should appear.
10 - Verify that the values entered when creating the new Property are already filled in for each NodeExpander slot.


Shift + N Add Node Keyboard Event

1 - Repeat the steps for adding nodes, but replace steps 2 and 3 with:
Hold the Shift key, then press the N key.

comments

wrote May 26, 2012 at 9:28 PM

Associated with changeset 14970.

wrote Jun 8, 2012 at 2:05 AM

Associated with changeset 15495.

wrote Jun 20, 2012 at 3:38 AM

Associated with changeset 15929.

wrote Jul 28, 2012 at 4:01 AM

wrote Sep 7, 2012 at 12:38 AM

mansimran wrote Sep 26, 2012 at 8:21 AM

Add new property : Not able to locate new node in the tree view after following the repro steps.

wrote Oct 19, 2012 at 10:09 PM

shravya wrote Nov 12, 2012 at 9:04 PM

New node does not appear after following the reproduction steps.

wrote Feb 13, 2013 at 10:51 PM

wrote Apr 22, 2013 at 10:21 PM

wrote Apr 22, 2013 at 10:25 PM

wrote Apr 22, 2013 at 10:42 PM

wrote Apr 23, 2013 at 6:49 PM

wrote Apr 23, 2013 at 6:50 PM

wrote May 3, 2013 at 11:11 PM

wrote May 3, 2013 at 11:19 PM

wrote May 16, 2013 at 9:30 AM

wrote May 16, 2013 at 9:30 AM

wrote Jun 14, 2013 at 6:53 AM