Commit Graph

5622 Commits

Author SHA1 Message Date
Craig Tan
507e09ac64 RM-924 Rule is executed incorrect if Edit Disposition Instructions
RM-923 Several actions don't trigger the updated rule
RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff

- Added dispositionActionDefinition to the list of types to be ignored by rule triggering just so that 'edit disposition steps' will not cause update rules to be triggered to avoid confusion.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 07:40:44 +00:00
Tuna Aksoy
5e8870abed RM-945 (Manage Rules and Manage Permissions are disabled for Unfiled Records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-15 20:29:42 +00:00
Gethin James
b505e0c72e Make compile -> explodedDep depend on fetchWar - FetchWar will automatically download the dependencies with needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-15 12:51:40 +00:00
Tuna Aksoy
547617c5ca Updated the dependency to ENTERPRISE-HEAD build #1486
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-14 20:57:55 +00:00
Roy Wetherall
b5eb202612 RM-880: Cannot upload file into RM site over FTP/NFS file protocols
RM-881: Cannot rename a record over file protocols



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 08:40:09 +00:00
Craig Tan
5a0b2c429d RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff
- Ignored these type of node from being fired by rules:

dispositionSchedule
dispositionAction
eventExecution


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 04:29:30 +00:00
Roy Wetherall
3b31976593 DE, FR, IT and JP translations for RM 2.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 07:08:39 +00:00
Roy Wetherall
0b6c58d495 RM: tweak Audit Service API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:39:52 +00:00
Craig Tan
8de55a0ab6 RM-838 Searching for audit logs by event doesn't work for some events' types
- Added a new Spring config property 'auditedImmediately' to work alongside 'auditable' property to indicate that the action should be audited immediately rather than after transaction commits. The default value of 'auditedImmediately' is false unless it is specified as true by individual action in rm-action-context.xml.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:07:29 +00:00
Roy Wetherall
b8562ac629 RM-953: SOLR searches are not returning results as expected for RM artifacts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:47:56 +00:00
Roy Wetherall
fe2cb389a4 RM-951: FilePlan is not refreshed automatically after creating a category
RM-950: Completed Records are not displayed for RM Admin
RM-949: RM admin can see only own Categories/Folders/Records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:06:40 +00:00
Craig Tan
af972bfae0 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Just tidied things up a little. Added the following override so that by default it is audited immediately and the audit entry isn't removed. This means a lot of the calling clients don't need to understand or define the last two properties.

@Override
public void auditEvent(NodeRef nodeRef, String eventName, Map<QName, Serializable> before, Map<QName, Serializable> after)
{
    auditEvent(nodeRef, eventName, before, after, true, false);
}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 02:42:14 +00:00
Gethin James
03d8b5053d Fixed RM-940 Location of transfer isn't being set when transfer completed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 16:12:02 +00:00
Craig Tan
cf4c105fa1 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Specified a list of properties in Spring's configuration to be ignored by audit.
- If an audit entry ends up with no changes in properties then we discard the entire audit map altogether. Currently this applies only to 'Update RM Object' events as other events still require to be audited even if there are no property changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 09:46:33 +00:00
Roy Wetherall
4e3e0cb7e4 RM-872: "admin" can access all areas of the file plan without have been given an explicit role or permissions.
* it now valid for admin to have access to the file plan
  * rmadmin is still created and always has admin rights to file plans, but by default is created with a random password
  * admin has permissions to reset rmadmin password if administration of RM file plans needs to be delegated
  * rmadmin name I18n'ed
  * rmadmin patch and creation code updated



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 04:49:39 +00:00
Roy Wetherall
f3f9440672 RM-935: Transfers and Holds are not migrated from 2.0.x
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 01:37:33 +00:00
Craig Tan
b16f096df2 RM-936 Audit is producing too many 'object edited' entries.
- To eliminate multiple audit maps from being generated when events with the same name are required to be fired multiple times in the same transaction, the code checks on existing auditedNode stacked for the same combination of nodeRef and eventName. If there exists such an auditNode, update its 'after' properties with the latest set of properties and leave its 'before' properties unchanged so that it retains the original set of properties. The first 'before' and last 'after' will be diff'ed when comes to building the auditMap later when the transaction commits.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:39:18 +00:00
Roy Wetherall
9f8823ae6b RM-895: Can't Freeze record and folder witch contains record if updated rule to Freeze is set
* also dealt with exception that was not being handled by background job



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:32:12 +00:00
Tuna Aksoy
414e90f04e Updated the dependency to ENTERPRISE-HEAD build #1473
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-09 11:21:48 +00:00
Roy Wetherall
f62c4f457f RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
* transfer and hold containers created under file plan
  * holds and transfers now contained within these containers
  * holds named using folder level counter to avoid name clash in container
  * hold and transfer filters now API driven .. so canned query driven .. so *live*
  * unit test updates
  * UI tested



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-09 01:57:58 +00:00
Tuna Aksoy
9b0094fd5d Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-08 07:30:18 +00:00
Gethin James
e79dd2c461 Fixing failing test data - now requires valid "from" param
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 22:08:10 +00:00
Tuna Aksoy
ea9fed1eb5 RM-603 (REST API: users without Map Email Metadata capability can GET, POST, DELETE e-mail mappings)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 21:17:41 +00:00
Tuna Aksoy
c5a0d7b402 RM-915 (The creation of a new Email Mapping: It's possible to type into "map" field any text or spaces.)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 20:09:45 +00:00
Gethin James
1e733fab38 Added more validation and tests as a fix for RM-915: The creation of a new Email Mapping: It's possible to type into "map" field any text or spaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 17:41:02 +00:00
Tuna Aksoy
1722649d12 RM-908 (Add Record Type action is missing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 17:38:25 +00:00
Samuel Langlois
e4fac727bb Incremented version label (2.0.1.1)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 12:19:09 +00:00
Samuel Langlois
fe73bfa98a RM-904 Create V2.0.1.x branch from V2.0.1 tag, to host hotfixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0.1.x@55032 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 11:25:25 +00:00
Roy Wetherall
ca94ab4aeb RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
* unfiled filter is now backed by a canned query so shouldn't be effected by SOLR indexes being out of date
  * todo holds and transfers



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 05:14:15 +00:00
Roy Wetherall
b5903874b4 RM-689: Unclear work of outbound (delete) rules
* ensure freeze doesn't fire if delete pending



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 02:22:28 +00:00
Jared Ottley
47a520e2ac [RM-878] Deleting folder with declared records does not remove groups from the extended groups properties. Add new behaviour to look for child associations where the node is not primary, has the rma:recordOriginatingDetails aspect and where the deleted parent is a folder. If all matches, then remove the extended security properties from the "primary" child node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 22:04:54 +00:00
Tuna Aksoy
406cf49c47 RM-850 (Import is not working)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 18:12:51 +00:00
Gethin James
a807f48b41 Corrected the dependency definition to pull in the correct test jars.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 10:58:28 +00:00
Roy Wetherall
775ec119a7 RM-689: Unclear work of outbound (delete) rules
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 06:57:54 +00:00
Roy Wetherall
07e561a49b RM-830: It's impossible to undo Cut Off for folders and records
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 05:47:59 +00:00
Roy Wetherall
e7994d38a9 RM-902: 13 workflows are started if move record when outbound rule to Request info is set
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 05:19:49 +00:00
Roy Wetherall
8410fc6bc6 RM-910: "File as Record" from Audit Log does not work
RM-909: Export from Audit Log does not work



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 01:22:23 +00:00
Roy Wetherall
f9f5272f47 RM-914: "Retain" action is absent
* ensured scheduled job executes retain successfully
 * added UI action "End Retention" .. allowing user to manually end the retention when eligible



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 00:47:15 +00:00
Roy Wetherall
45f41c2c7a RM-913: A typo in Audit Log
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 23:59:17 +00:00
Roy Wetherall
16224528b2 RM-896: Can't create folder/record if inbound Freeze rule is set for root-node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 23:45:48 +00:00
Jared Ottley
a886335823 [RM-900] MT: Impossible to create RM site as tenant. Add additional wrapper test for rm_config_node to stop re-execution of module bootstrap if it has already been run.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 21:41:04 +00:00
Jared Ottley
29ca16d584 [RM-900] MT: Impossible to create RM site as tenant. Now looks to see if MT is enabled and formats the rmadmin's name in the proper format. Also handles the super tenant which requires no domain name for the user name. Added private method (using RMv2RMAdminUserPatch as example) to create the user if it was not already created during bootstrapDefaultRoles. onCreateRootNode now calls BootstrapImporterModuleComponent.execute() to test for and create rm_config_folder if needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 20:27:20 +00:00
Roy Wetherall
0b00b973a3 RM-829: Could not cut off folder if it's contain a record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 06:59:33 +00:00
Roy Wetherall
6321b99a42 RM: A couple of changes to the condition labels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 02:50:07 +00:00
Jared Ottley
e519cd8a22 [RM-799] Can't move folders. The move action should no longer be visible when there is a disposition schedule attached. Moves are now allowed to other categories. Folder to folder moves are not allowed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 20:48:19 +00:00
Jared Ottley
0d31b03a86 [RM-892] Record metadata is not copied. The record aspects properties will now be copied. The Date Filed property is not copied. This property will be generated during the copy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 17:25:54 +00:00
Tuna Aksoy
590a046176 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 2013-09-03 10:27:29 +00:00
Roy Wetherall
6a68dbc35a RM-886: Audit Log. Filters are applied only on displayed entries.
RM-870: Audit UI layout is incorrect
RM-889: Audit cannot be filtered by property values after rename file
RM-838: Searching for audit logs by event doesn't work for some event types



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 05:10:11 +00:00
Roy Wetherall
b7dd2e3fcb RM-614: Can't complete record without "Complete Record" capability
* added enable/disable property check methods to record service .. useful when setting 'system' properties



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 00:59:04 +00:00
Roy Wetherall
c1c46e1690 RM-898: Manage Permissions are not being set on the File Plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 00:23:04 +00:00