mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-4751 (When starting a workflow with no form configuration duplicated fields are seen), ALF-4859 (Lifecycle review and approve form is incorrect) & ALF-4649 (Node based forms render a form containing system properties when no configuration is present)
The set of default fields for each type of form processor has been updated, default node and type forms now don't return the 'sys' properties previously seen, a default task form no longer returns the identifier field and a default workflow form no longer returns the task level description, priority and due date fields. Also completed a coding standards and comments sweep across all forms code. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -32,7 +32,7 @@ function testGetFormForContentNode()
|
||||
|
||||
var fieldDefs = form.fieldDefinitions;
|
||||
test.assertNotNull(fieldDefs, "field definitions should not be null.");
|
||||
test.assertEquals(22, fieldDefs.length);
|
||||
test.assertEquals(18, fieldDefs.length);
|
||||
|
||||
// as we know there are no duplicates we can safely create a map of the
|
||||
// field definitions for the purposes of this test
|
||||
@@ -154,7 +154,7 @@ function testGetFormForFolderNode()
|
||||
|
||||
var fieldDefs = form.fieldDefinitions;
|
||||
test.assertNotNull(fieldDefs, "field definitions should not be null.");
|
||||
test.assertEquals(11, fieldDefs.length);
|
||||
test.assertEquals(7, fieldDefs.length);
|
||||
|
||||
// as we know there are no duplicates we can safely create a map of the
|
||||
// field definitions for the purposes of this test
|
||||
|
Reference in New Issue
Block a user