Commit Graph

318 Commits

Author SHA1 Message Date
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
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
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
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
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
Roy Wetherall
ea6e47bf1a RM-775: rmscript action appears in collaboration site rule UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 23:23:11 +00:00
Roy Wetherall
a104557a28 RM-740: Audit "view audit" action
* View audit, start audit, stop audit and clear audit are all now audited actions.
  * further improvements to the service code
  * event list sorted in audit UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 08:07:23 +00:00
Roy Wetherall
fd84a4d905 RM-853: File Record audit event is absent
* file, move, copy and link are all now present in the event drop down
  * they are all audited as separate events



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 05:38:26 +00:00
Jared Ottley
4aa64013e8 [RM-799] Can't Move folders. Make the file utility method public. Folder moves need to call the method to update any record children.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:44:17 +00:00
Jared Ottley
5d0285ca86 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy for record categories that does not allow them to be copied into record folders.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:16:46 +00:00
Jared Ottley
4f1b1d61c0 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy to not allow copy record folder into another record folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:03:43 +00:00
Jared Ottley
d0a9e6d63f [RM-795] Can't copy/link to record. Links failed because during the RM permission check the applicationContext was being lost. The applicationContext was used to get the internal NodeService bean so that RM could skip additional permission checks beyond the ones that RM was already doing. The bean was already injecting the internal nodeServce bean in the spring bean config. Removed the ApplicationAwareContext and the bean lookup to use the already injected nodeService fixes linking.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 16:44:42 +00:00
Roy Wetherall
50c8869c40 RM-853: File Record audit event is absent
* refactored audit events to be spring configurable, registerable beans
  * adjusted how actions are audited
  * added missing action I18N labels
  * adjusted how audit events are stored against the transaction so that more than one is recorded per transaction (previously it was the last event to happen that was recorded)
  * unit test running and share tested



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 00:54:23 +00:00
Jared Ottley
6963a50287 [RM-795] Can't copy/link to record. Reworked Copy policies. The record aspect is now not copied. A new Unique Record Identifier is generated on for the copy. Other record properties are generated when the record is copied into new record folder. Removed old copy behaviour. Behaviour filter is now added to the policy. The filter is used to disable the id check at the end of copy (on commit) so that a new id can be added to the copy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 20:16:27 +00:00
Jared Ottley
eae029e265 [RM-795] Can't Copy/Link Record. Add IdentifierService to RecordsManagementServiceRegistry.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 18:57:30 +00:00
Craig Tan
665012c957 RM-853 File Record audit event is absent
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 11:37:18 +00:00
Roy Wetherall
ba902f5fd3 RM: fix failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-27 07:05:25 +00:00
Roy Wetherall
d14434f141 RM-817: Error: "Unknown aspect specified in query: rma:unpublishedUpdate" in alfresco with RM
* ensure the job doesn't execute before the RM content model is loaded



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 10:00:17 +00:00
Roy Wetherall
c060e948c0 RM-452: RM seurity context will break core Alfresco if Alfresco's public services change
* unit test to show this working
  * added package for issue specific unit tests
  * fix to file plan service so that isFilePlanComponent works for non file plan artifacts



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 09:45:17 +00:00
Roy Wetherall
cc18dc8a75 RM: Fixed null pointer error noticed during testing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-26 05:46:34 +00:00
Roy Wetherall
4f4a5c13be RM-802: Errors if user doesn't have read and file permissions on root-node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 01:43:11 +00:00
Roy Wetherall
3b6da48a3a RM-831: No actions for Completed/Reopened Record on Details page
* hard coded READ permission check causes RM all kinds of issues



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 00:59:40 +00:00
Craig Tan
2b75f6a362 RM-697 The set property action should be available when creating a RM rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-20 12:34:29 +00:00
Tuna Aksoy
1a2b342eac Fixes the following bugs:
- RM-249 (Disposition steps sequence can be violated)
- RM-790 (Cannot delete disposition schedule step)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-19 08:37:48 +00:00
Tuna Aksoy
a8ad377da0 RM-832 (It's impossible to Update Disposition As of Date)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-16 21:12:48 +00:00
Tuna Aksoy
72b00c8548 RM-843 (Undo Cutoff is available after next disposition step is completed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-16 19:07:16 +00:00
Tuna Aksoy
2507a6b7ce RM-282 (Search with NOT operator in the beginning performs as without NOT operator)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 21:01:04 +00:00
Roy Wetherall
0438a8e6ad RM: prevent publication of changes if node no longer exists
* fix occasional build failure



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:57:48 +00:00
Roy Wetherall
08f4bddd65 RM: Remove build warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:32:10 +00:00
Roy Wetherall
8d7a5bcd5c RM-784: Possible to create categories/folders with the same identifier
* started out adding a RM query DOA so canned queries could be added .. turned out this wasn't required, but it's a handy
   bit of framework to have in place for the future so I've left it in with an example query and unit test.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-15 06:25:18 +00:00
Tuna Aksoy
481fc654a8 RM-825 (Records Search by XSS query works wrong)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-14 19:36:33 +00:00
Tuna Aksoy
7635d28048 RM-745 (Event and property filtering not available for audit)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-14 12:38:59 +00:00
Tuna Aksoy
9714ce7727 RM-812 (Unable to audit for events that happened on a single day only, that is, date from and to being the same)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-12 11:28:15 +00:00
Tuna Aksoy
4b2011eb84 RM-479 (Cannot edit custom metadata)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-07 21:44:24 +00:00
Tuna Aksoy
edb1f02fec RM-796 (Add Scanned Record Metadata results in properties error)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-07 15:04:46 +00:00
Roy Wetherall
6f62d5c8ea RM-777: Record name duplication within the in-place container is not allowed.
* records are now renamed when they are created to incorporate the record identifier
  * rejecting a record resotres the origional name



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-06 03:36:54 +00:00
Roy Wetherall
a53482f732 RM: make logger protected so can be reused in other module patches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-06 00:38:21 +00:00
Tuna Aksoy
c68a460928 RM-766 (Rule property substitutions missing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-04 00:20:46 +00:00
Craig Tan
ed2d38246f RM-771 rmadmin user has no first or last name set
* The change includes modifying RMv2RMAdminUserPatch.java to include the default first name and last name on RM admin user creation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-01 04:52:39 +00:00
Craig Tan
8922af14f5 RM-737 RM rule compensating JS scripts ...
* Added a new patch RMv21BehaviorScriptsPatch that creates the new "Records Management Behavior Scripts" folder and moves existing behavior scripts from the old "Records Management Scripts" folder to the new folder.
* Removed rma_isClosed.js from being created in bootstrap from 2.1 onwards.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-31 04:46:14 +00:00