mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Resolved issue where title, description and author could be missing, basically when aspect was not applied
- Added ability for transient properties to use standard controls and pick up config git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,12 +20,12 @@ function testGetFormForContentNode()
|
||||
|
||||
var fieldDefs = form.fieldDefinitions;
|
||||
test.assertNotNull(fieldDefs, "field definitions should not be null.");
|
||||
test.assertEquals(22, fieldDefs.length);
|
||||
test.assertEquals(23, fieldDefs.length);
|
||||
|
||||
// This dataHash is now an integer-keyed hash of the field definition data objects.
|
||||
var fieldDefnDataHash = form.fieldDefinitionData;
|
||||
test.assertNotNull(fieldDefnDataHash, "field definition data should not be null.");
|
||||
test.assertEquals(22, fieldDefnDataHash.length);
|
||||
test.assertEquals(23, fieldDefnDataHash.length);
|
||||
|
||||
var nameField = getFieldDefnFromMap('cm:name', fieldDefnDataHash);
|
||||
var titleField = getFieldDefnFromMap('cm:title', fieldDefnDataHash);
|
||||
|
Reference in New Issue
Block a user