Commit Graph

292 Commits

Author SHA1 Message Date
Roy Wetherall
0d187a4970 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
3e0167e4b1 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
887b211919 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
32d070b09e 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
4ba3d15af5 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
a2f61d5358 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
aa1bcd5e56 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
0e67b7fc58 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
2b323c91ff 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
7b1ddbd18a 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
fe70fdc55a 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
08eafa6b4a 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
e287ffc847 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
53e3f9d36b 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
0ced9a82ba 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
b446ae8e07 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
280ba79b5d 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
6b87c6beed 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
03932c2240 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
c9c3812fe5 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
d4ee34041f 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
ffc533fd5b 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
19cbdb8018 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
757496970c 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
Roy Wetherall
9eb2eb00e5 RM: Remove compilation warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-22 13:08:40 +00:00
Tuna Aksoy
9ee39a94f2 Merged DEV/UPDATE to HEAD:
52540: RM-781: RM Dependency update (Reconstruction RM toolbar and documentlist)
   52789: RM-781: RM Dependency update (update to HEAD QA build #165, Deleted overriding files, Bug fixes)
   52790: RM-781: RM Dependency update (Added missing dependencies)
   52822: RM-781: RM Dependency update (Updated the dependency to build #172, bug fixes)
   52823: RM-781: RM Dependency update (Updated the dependency to build #172, bug fixes)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52830 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-19 08:24:25 +00:00
Tuna Aksoy
9b838876c2 RM-781: RM Dependency update (update to HEAD QA build #165, Deleted overriding files, Bug fixes)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UPDATE@52789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-17 17:39:25 +00:00
Roy Wetherall
7f0d671cd2 RM: Missing file
* n00b fail



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-17 06:02:29 +00:00
Roy Wetherall
6d9507a6b9 RM-783: File destruction report
* patch added 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-16 07:24:15 +00:00
Roy Wetherall
21f98c25b4 RM-777: Destruction report generation
* template now correct and matches email notification style
  * record or folder details shown including basic disposition details
  * destroyed records shown if record folder
  * generalised report action
  * other tweaks
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-16 05:27:37 +00:00
Roy Wetherall
0b916c241f RM-783: File destruction report action (part one)
* ReportService added ... will be used to consolidate the various reports withing RM (specifically those needed for DOD complicance)
  * Base and declarative implementations of report generators added
  * Destruction report configured with place holder implementation (still need to do name generation, meta-data and final template)
  * Report model added, with destructionReport type defined
  * FileDestructionReport capability added (and capability patch bean updated)
  * Repository action added to file destruction report
  * UI configured to show 'file destruction report' action .. (creates a report and files it as an unfiled record as the destruction report type)
  * fixed up destruction capabilities and actions (capability to destroy record regardless of its current dispostion state did not work)
  * added "AtLeastOne" composite capability condition
  * TODO destruction report template, name and meta-data generation
  * TODO patch to add report template structure to rm data dictionary area
  * TODO start refactor of existing reports including transfer, accession, userRights, filePlan and audit!!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-14 09:54:27 +00:00
Roy Wetherall
87bd9abe53 RM: RecordsManagementService refactor
* move candiate methods into FilePlanService
  * deprecation of RMService methods
  * remove all deprecation warnings from code
  * update filePlanService unit tests
  * remove all other spurious warnings from RM code
  * a couple of performance enhancements in the bowls of the capability evaluation code
  * first pass at parametising RecordsManagementAuditService with file plan (so capability evaluation had a tangable reference)
  * fix up unit test failures and other fall out from refactors



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-12 06:12:46 +00:00
Roy Wetherall
ba197612d1 RM: Admin service refactor
* move admin service and associated classed into 'admin' package
  * move deprecated origionals and move to compatibility structure
  * update references and spring config
  * fix build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 09:09:02 +00:00
Roy Wetherall
bdf1b2d742 RM: fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 08:21:18 +00:00
Roy Wetherall
f9493ddc46 Merged BRANCHES/V2.0 to HEAD:
52115: RM-732: CLONE - "caveat" functionality of the (dod5015) Records Management Module is not cluster-aware
   52262: RM-757: Permission confusion after upgrade from 1.0
   52264: RM:  Unable to set list of values after migration from 1.0->2.0.3
   52294: RM-769 (Impossible to add access for several values)
   52340: RM: Saved searches where not being upgraded correctly
       * searches resaved on upgrade (to account for updated model)
       * searches are public by defalut
       * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:34:29 +00:00
Roy Wetherall
aa8fa18157 RM: Saved searches where not being upgraded correctly
* searches resaved on upgrade (to account for updated model)
  * searches are public by defalut
  * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:11:17 +00:00
Tuna Aksoy
9eb525f63d RM-769 (Impossible to add access for several values)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-09 15:49:51 +00:00
Roy Wetherall
caf766123f RM: Unable to set list of values after migration from 1.0->2.0.3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-09 01:20:51 +00:00
Roy Wetherall
d243007000 RM-757: Permission confusion after upgrade from 1.0
RM-753: Can't edit former seria untill it's vital



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-08 23:54:08 +00:00
Tuna Aksoy
c8cf1df78c RM-764 (In-Place roles should not appear when managing users and groups)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-08 10:22:53 +00:00
Tuna Aksoy
89982199e9 RM-764 (In-Place roles should not appear when managing users and groups)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-07 08:35:42 +00:00
Craig Tan
bdf16ff712 RM-682 User with Manage Rules capability can't delete the rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-05 05:25:22 +00:00
Roy Wetherall
e5c487db07 RM-732: CLONE - "caveat" functionality of the (dod5015) Records Management Module is not cluster-aware
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-04 01:41:20 +00:00
Tuna Aksoy
c914e2f02e RM-756 (Rule do not fire within collaboration site)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-03 13:14:59 +00:00
Roy Wetherall
40db3b7787 RM: Fix up unit test and event web script
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 06:11:34 +00:00
Roy Wetherall
338472e090 Merged BRANCHES/V2.0 to HEAD:
51415: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        * 50932: RM-741: Allow category and folder id to be editable upon creation.
   51418: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50934: RM-742:  Search sort order now works as expected
   51419: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50953: Creating an RM site was not possible (ref RM-742)
   51420: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50970: RM-735 (DOD Recert: Bugs on the "Edit Custom Metadata" page)
   51421: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50975: RM-736 (DOD Recert: Bugs on the "List of Values" page)
   51423: Merged DEV/DODRECERT TO BRANCHES/V2.0:
   51425: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r51082: RM Audit
           * improved display so it's easier to see what's going on
           * RM 744: audit user creation
        - r51095: RM-738 (DOD Recert: Add events and properties to the "Audit" page)
        - r51099: Fix upgrade issue
        - r51108: RM-745:  Simple support for event and property filtering on audit
        - r51134: Upgrade issues
           * added patch to fill in missing file plan root node reference
           * default site id set when retrieving saved searches
        - r51212: RM-746: Space in the property name
   51426: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r51218: RM-747: Search for undeclared records results in exception
        - r51219: RM-748: Editing a disposition schedule did not work for a non admin user
        - r51220: RM-749: Fixed Accession Report
   51504: RM: Fix build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 04:39:47 +00:00
Roy Wetherall
2a1be53bc5 Merged BRANCHES/V2.0 to HEAD:
48720: RM-657: Items section is not displayed on Start Workflow page when RM installed   
   48749: RM-664 (Not possible to edit event without changing the name)
   48772: RM-664 (Not possible to edit event without changing the name)
   49445: RM-675: CLONE - Document Details page: 'Comment' link is not working



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 04:13:49 +00:00
Roy Wetherall
8020cfebd1 Merged BRANCHES/V2.0 to HEAD:
47857: RM-626: Alfresco is not started with RM module applied



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 01:51:08 +00:00
Craig Tan
bb48b9d084 RM-694 A records manager has the following list of available rule conditions
More check-in for bug fixes from developer test.

* Fixed issues for "Has Disposition Action", "Is Kind" and "Is Record Type".
* Added transaction or security context around the contents in RecordsManagementActionConditionEvaluatorAbstractBase.init() so that action conditions can use RecordsManagementActionService (the capitalised one) in Spring config.
* Removed "File Plan" from Is Kind action condition dropdown list selection.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 00:35:23 +00:00
Tuna Aksoy
42ade1b592 Getting the list of all the properties in the rm rules edit page was not possible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-28 16:01:35 +00:00