Commit Graph

598 Commits

Author SHA1 Message Date
Tuna Aksoy
335a5b87a4 Removed applicationContext from the java classes where possible and used dependency injection instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-21 18:09:49 +00:00
Tuna Aksoy
65e6b0038c Fixed failing unit tests after refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-21 16:49:16 +00:00
Tuna Aksoy
6af9dbd3ca Removed applicationContext from the java classes where possible and used dependency injection instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-21 15:02:02 +00:00
Tuna Aksoy
1eb9453593 RM-1096, RM-1097: Refactored CloseRecordFolderAction, CreateDispositionScheduleAction and CutOffAction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-19 16:36:33 +00:00
Tuna Aksoy
5310eb34b2 RM-1096: Method renamed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@58000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-19 15:31:43 +00:00
Tuna Aksoy
1cdf923e43 RM-1096: Refactored AddRecordTypeAction and CloseFolderAction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-18 19:13:24 +00:00
Tuna Aksoy
b3e6b17e6d RM-1097: Fixed failing tests after Refactoring TransferAction and TransferCompleteAction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-18 15:33:24 +00:00
Tuna Aksoy
c284c817f3 RM-1097: Refactored TransferAction and TransferCompleteAction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-18 14:45:12 +00:00
Tuna Aksoy
1c9195f895 RM-1095: Added TransferService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-18 11:30:16 +00:00
Tuna Aksoy
9e560b2110 RM-1095: Fixed circular dependency issues
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-15 17:41:57 +00:00
Roy Wetherall
a7cf573ab3 RM: Java Docs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-14 21:12:48 +00:00
Tuna Aksoy
9d585a8eec RM-1095: Fixed failing tests after refactoring RecordsManagementService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57919 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-14 14:53:56 +00:00
Tuna Aksoy
f9510836fb RM-1095:
Refactored RecordsManagementService and deprecated the methods. The methods have been moved to RecordService, RecordFolderService and DispostionService. The deprecated method calls in the code have been replaced and the bean definitions have been changed accordingly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@57893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-11-13 22:34:29 +00:00
Roy Wetherall
984fb471fe RM-1078: RMv2SavedSearchPatch is not applying if save a search befare upgrade
* saved search patch no longer hangs when moving from 3.4 to 2.1



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-22 04:46:21 +00:00
Roy Wetherall
63d6f26381 RM-981: Stack specific: "Failed to get lock" error when performing actions with "List of Values" and "Relationships" in Management Console
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-17 05:03:23 +00:00
Tuna Aksoy
365a250bee RM-1071 (Impossible to create folder after upgrade: Access Denied)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-16 10:33:30 +00:00
Roy Wetherall
0286c2a4b8 RM-1071: Impossible to create folder after upgrade: Access Denied
* consolidate loggers for RM module patches to aid debug
  * use log4j.logger.org.alfresco.module.org_alfresco_module_rm.patch=debug



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-16 04:35:48 +00:00
Roy Wetherall
7cf5cb3882 RM-1071: Impossible to create folder after upgrade: Access Denied
* handle cases where rmadmin person object already exists



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-16 04:31:32 +00:00
Tuna Aksoy
8ed4d2a09a RM-1050 (Rule "add record type" work for completed record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-14 20:18:51 +00:00
Tuna Aksoy
95bba58c17 The StringUtis class from the urlrewritefilter jar causes compilation errors when the community version is used as dependency for RM.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-14 19:10:58 +00:00
Tuna Aksoy
eb3736d8f6 RM should not use a class from the enterprise package as this breaks the compatibility with the community version
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-14 13:47:33 +00:00
Roy Wetherall
a54b446daa RM-1066: Set Property action node value substitution breaks declare record when no value set.
RM-1065	 Unable to hide completed records.
RM-1067	 Key French RM term is incorrect




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-11 03:42:10 +00:00
Roy Wetherall
05c30be87e RM-804: Should a user granted Site Manager role be able to delete the Records Management site?
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-09 05:25:45 +00:00
Tuna Aksoy
e059d09647 RM-1034 (Inbound Content Rule executes after creating a new reference)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 14:06:40 +00:00
Tuna Aksoy
a685372a15 RM-1051 (Outbound rule is executed when record references are deleted)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 12:18:21 +00:00
Roy Wetherall
1307977d81 RM-1053: Error cause when Rule "Set property value" try change not enable for editing property
* property value subsitution now available on setProperty action (in RM)
 * this means properties can be set based on other property values or date context
 * provides a (simple atm) means of defining a id generation scheme scoped by file plan context



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 05:52:50 +00:00
Roy Wetherall
6a694cdce3 RM-1039: Can't move folder to Category with disposition schedule.
* improve general reliability of record folder move
  * fix up some issues with the way composite capabilities where being evaluated
  * use capabilities to enforce conditions of move .. not behavior .. this improves the visibility of the move action in the UI
  * unit test
  * reproduced and fixed up UI issue .. was showing No Items red banner in a very specific edge case



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 04:22:34 +00:00
Roy Wetherall
b013a45fcb RM-1043: Inbound Rule "request info" start workflow if complete record move to folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-04 08:05:53 +00:00
Roy Wetherall
157de923f8 RM-1027: Can't copy closed folder.
* then you copy a closed record folder the copy will not be closed
 * ensured that disposition details are freshed when copying a record folder



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 01:45:40 +00:00
Roy Wetherall
0453072522 RM-1030: Can't run Freeze Rule if sub-folder record is freezed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 00:21:54 +00:00
Roy Wetherall
a872353ce7 RM-1021: It's possible to create record for synced content in folder with create record updated rule
* improve stability when defining update rules in collab site



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-02 07:55:34 +00:00
Roy Wetherall
33bca08a2e RM-819: Only the creating user can move a record
RM-942: It's possible to move/copy/link to/from and delete from closed folder

  * general reliability of copy/link/move record actions improved
  * MoveRecords capability added as assignable
  * various scenarios tested and documented expected behaviour on related issues




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-02 04:11:21 +00:00
Roy Wetherall
b3a76102cc RM-1008: It's possible to Edit Hold Details by user with suitable rights BUT with Read Only permissions in File Plan
* hold and transfer container permissions are set up the same as unfiled .. they can not be explicitly set .. instead they inherit from file plan
  * holds and transfers inherit permissions from the containers .. in turn they are effected by changes to overall fileplan permissions
  * in the future explicit permissions will be able to be set or implied but the held or transfered records
  * edit freeze details capability requires filling permission
  * unit test for the various scenarios



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-01 07:28:31 +00:00
Roy Wetherall
ff515bfb1b RM-1007: Couldn't Freeze the folder/record by any user except RM admin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-01 01:49:29 +00:00
Roy Wetherall
0fa2fb6c2b RM-996: Reject action is available for destruction report
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-30 00:16:32 +00:00
Roy Wetherall
b8ea3c9b6b RM-994: Records filed from unfiled container do not pick up vital record review period or disposition schedule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-29 12:20:23 +00:00
Roy Wetherall
b1bc635bf4 RM-1000: Internal Error if open details page of record referenced to record the user have no permissions to
* users will only see references when they have ViewRecords capability on both ends



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-29 03:15:11 +00:00
Roy Wetherall
d46f62fb2c RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
* removed overriden rule service method level security



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 14:57:51 +00:00
Roy Wetherall
a8989a4804 RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 13:22:51 +00:00
Roy Wetherall
dace07164e RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
* all rm module patches are executed in their own transaction
 * all behaviours are turned off when executing a rm module patch



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 12:38:46 +00:00
Roy Wetherall
09cb2a56e9 RM-942: It's possible to move/copy/link to/from and delete from closed folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 08:21:32 +00:00
Roy Wetherall
19625297bb RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 03:26:46 +00:00
Roy Wetherall
400c36c0c1 RM: Typo in if statement
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 01:43:03 +00:00
Craig Tan
444a7a6fc5 RM-880 Cannot upload file into RM site over FTP/NFS file protocols
- Modified onRemoveAspect methods to only switch file name back to the format of "name (identifierId)" if content size is non-zero, else leave it as the original name to avoid CIFS shuffling issues. This fixes the issue seen on Windows Explorer and also allows files on Mac to be dragged across to RM via Finder (hence no more Error Code -43). However, there is still one outstanding issue with Mac and that is the copied files won't get renamed.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 08:39:56 +00:00
Roy Wetherall
f8dd8b207b RM-880: Cannot upload file into RM site over FTP/NFS file protocols
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 05:55:51 +00:00
Roy Wetherall
f09a9dde75 RM: Merged BRANCHES/2.0.1.x To HEAD
55998: [RM-904][MNT-9589] Actions are missing within Records Management Site for Record Series and its children.  
        Add DOD5015 constants for old style audit entries.  Modify callback to look for and parse existing DOD5015 audit entries.  
        Add query to look for DOD5015 audit entries.  This call must be before the query for RM entries for the report to be ordered correctly.   



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 05:14:25 +00:00
Roy Wetherall
15e6ad0a82 Merged BRANCHES/2.0.1.x to HEAD:
55708: [RM-904] Actions are missing within Records Management Site for Record Series and its children. Patches are implemented as components.  Components are loaded in a single thread. The work of a patch should be wrapped in its own transaction to isolate it from the changes of other patches and allowing patches to commit work before working on the next patch.Moved all work of RMv2ModelPatch into the RetryingTransactionCallback.  RetryingTransactionHelper set to create new thread.
Add RetryingTransactionHelper to RMv2FilePlanNodeRefPatch. Move all of the work of the patch into the callback.  Helper creates new thread.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 04:57:47 +00:00
Roy Wetherall
fb24c0a9a8 RM-988: I18N id's not being looked up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 02:44:15 +00:00
Roy Wetherall
9b49cc4aa2 RM-989: Can create a folder within a Record Folder in CIFS which breaks the Share UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:58:09 +00:00
Roy Wetherall
918c1aedfb RM-880: Cannot upload file into RM site over FTP/NFS file protocols
* if record has NO_CONTENT when assoc is created, postpone filling untill NO_CONTENT is removed



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:30:50 +00:00