Commit Graph

586 Commits

Author SHA1 Message Date
Tuna Aksoy
05a7d3ce35 Removed unused field from the code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-03 13:22:28 +00:00
Tuna Aksoy
f544bacec6 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 14:13:28 +00:00
Tuna Aksoy
86bfb347b9 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
* Fixing the failing unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 09:43:54 +00:00
Tuna Aksoy
2d2227e47a RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 23:05:35 +00:00
Tuna Aksoy
885847135d RM-1417 (User with no permissions to Hold container see "Freeze/Add to Hold" action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 16:15:48 +00:00
Tuna Aksoy
7017336638 RM-1424 (Holds the user has read-only permission for are displayed in Add to Hold dialog)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 13:45:28 +00:00
Tuna Aksoy
67a92d96f7 RM-1464 (Item can be added to hold the user has no file permissions for)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-28 20:56:31 +00:00
Tuna Aksoy
5106673ce3 Fixed major issues ("Simplify Boolean Expression") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:42:15 +00:00
Tuna Aksoy
aff70c9637 Fixed major issues ("Bad practice - Method with Boolean return type returns explicit null") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:40:52 +00:00
Tuna Aksoy
9fdbdc2155 Fixed major issues ("Loose coupling") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:36:32 +00:00
Tuna Aksoy
185064a674 Fixed major issues ("Malicious code vulnerability - Field isn't final") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:27:53 +00:00
Tuna Aksoy
a5f1ce8df2 Fixed major issues ("Illegal Throws") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:20:44 +00:00
Tuna Aksoy
65274ea084 Fixed major issues ("Signature Declare Throws Exception") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:00:50 +00:00
Tuna Aksoy
d4dc53a009 Fixed minor issues ("Unread public/protected field") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:18:20 +00:00
Tuna Aksoy
c734b3a1d8 Fixed minor issues ("Unused Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:16:04 +00:00
Tuna Aksoy
6ba4bce0b7 Fixed minor issues ("Redundant Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:13:52 +00:00
Tuna Aksoy
3d11936643 Fixed minor issues ("Constant Name") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:11:59 +00:00
Tuna Aksoy
01498155f0 Fixed minor issues ("Empty Statement") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:10:37 +00:00
Tuna Aksoy
43a65f89bb Fixed minor issues ("Collapsible If Statements") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:09:29 +00:00
Tuna Aksoy
cb632ff834 Fixed minor issues ("Trailing Comment") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:02:42 +00:00
Tuna Aksoy
e002d88fcd Fixed minor issues ("Modifier Order") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 20:49:45 +00:00
Tuna Aksoy
d555ce186a RM-1484 (User with Close Folders capability can't close the folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 14:23:16 +00:00
Tuna Aksoy
8203584ce5 RM-1510 (Audit events are incorrectly displayed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 11:00:47 +00:00
Mark Hibbins
880d842128 RM-1442, changed code to run file report as admin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-22 08:10:40 +00:00
Tuna Aksoy
4668879b06 Fixed RM 2.2 to get it working with Alfresco 4.3.0-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-20 21:32:52 +00:00
Tuna Aksoy
e7e1efd3f0 RM-1484 (User with Close Folders capability can't close the folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 16:20:39 +00:00
Mark Hibbins
1bb7f1bfa0 RM-1437, added checks in open/close folder actions to ensure that the rules work correctly in unfiled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 16:13:51 +00:00
Tuna Aksoy
2d03b705d3 Removed unnecessary hard coded text
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 13:24:42 +00:00
Tuna Aksoy
15c8756f82 RM-1506 (Deleting In-Place Reader or Writer roles breaks Record declaration)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 13:23:12 +00:00
Tuna Aksoy
39e83e31ae Added JIRA-Ticket Info
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-19 08:48:45 +00:00
Tuna Aksoy
3da7035f96 RM-1482 (No message is shown when user tries to file Audit Log as Record to File Pan or closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-15 15:06:50 +00:00
Mark Hibbins
d009e33d23 RM-1481, added no copy behaviour for rma:recordOriginatingDetails aspect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-13 09:37:46 +00:00
Roy Wetherall
4ef4273d29 Updated label and a couple of code tidy-ups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-13 02:14:25 +00:00
Tuna Aksoy
20ad496cf5 RM-1463 (Item the user has read only permissions for can be added to hold in from Records Search results)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-12 19:38:07 +00:00
Roy Wetherall
e3ae5cd053 RM-1340: Couldn't cutoff closed folder
* includes a couple of fixes from the demo prep
  * override of MethodSecurityInterceptor to allow us to report detailed information when an AccessDenied exception is reported as the result of a capability evaluation failure.
  * integration tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-08 06:01:02 +00:00
Mark Hibbins
70fe5509d8 RM-1273, Bug where rules applied to root of file plan were applied to transfers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-06 13:59:43 +00:00
Roy Wetherall
dd58a35e17 Issues found during demo prep.
* a couple of checks for type wheren't doing sub-type of cm:content checks
 * could not view a held record in-place



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@69667 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-06 11:49:27 +00:00
Tuna Aksoy
b223d92183 RM-1482 (No message is shown when user tries to file Audit Log as Record to File Pan or closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 18:24:22 +00:00
Mark Hibbins
275be55b4e RM-1273 - Added check to ensure that rules defined for the root of the file plan are not applied to unfiled, holds or transfers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 11:24:10 +00:00
Roy Wetherall
2ce3c2acd2 Move RM 2.2 dependency to 4.2.2-SNAPSHOT
* fix issues so that RM 2.2 is still backwards compatible with 4.2.1 (and 4.2.0)
 * added 'bean extender' .. a post processor bean that allows us to extend, rather than overrite, core bean definitions.  Gives us a technique we can use that won't be disrupted when changes are made to core bean definitions.
 * unit test for above
 * tested with 4.2.2-SNAPSHOT and 4.2.1



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-30 06:47:22 +00:00
Tuna Aksoy
c47f0d5be5 Removed warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 09:32:44 +00:00
Roy Wetherall
9b1fe80fd3 RM-1211: Generate hold report
* FileHoldReport capability added (and patched)
 * hold report type added to report model
 * hold template added, bootstraped (and patched)
 * UI action to file hold report added and sensitive to capability
 * report actions refactored into a single, general purpose, file report action (can be exposed as rule in future)
 * refactoring and extending of report generators (including declarative report generator)
 * unit test for file report action
 * integration test for hold report generation
 * added Sprin custom property editor registrar and registered QName property editor, this allows short name string forms of
   QNames to be specified and converted to QName from bean definitions (perhaps something useful for core)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 07:21:54 +00:00
Mark Hibbins
3852a69b04 RM-1445m Implemented link-to rule. Also fixed RM-1466 and RM-1470 while refactoring common code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-25 15:51:57 +00:00
Roy Wetherall
60fb01d189 RM-1341: Couldn't complete event if link record before completing it
* some refactoring to ensure complete, undo and refresh logic was encapsulated in the service layer (not in the actions)
 * integration test for complete event to check interactions
 * restructure integration test packages



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-24 04:17:02 +00:00
Tuna Aksoy
ad4e7b616a RM-1444 (As a collaboration user I want to see the records details without leaving the collaboration site so that I never have to visit the file plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-21 19:39:41 +00:00
Roy Wetherall
82a39c2563 Move, copy, link issues
* RM-912: Copy to, Link to and Delete actions are available for cutoff folders/records but not working
  * RM-1286: Strange behavior of copied cutoff record
  * Relates to RM-1342
  * create RM version of copy/move/link webscripts so that error reporting to client could be improved (now reasons for failure are reported)
  * add model behaviours for aspects that shouldn't be copied



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-16 06:02:40 +00:00
Roy Wetherall
3b446da9d0 RM-1420: Impossible to close/reopen folder with frozen record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-14 07:56:26 +00:00
Roy Wetherall
b02f0cc7dc RM-1413: DispositionLifecycleJobExecuter does not execute the disposition action
* corrected logic error in job implementation
 * unit test
 * the disposition actions to execute are now configured via Spring configuration



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-11 04:04:33 +00:00
Roy Wetherall
2f552274d2 Pre sprint demo review: ensure add to and remove from hold actions only appear when the user has holds to remove from or add to
* added capability condition that checks the heldBy (include or exclude) for filling permissions
 * add condition to addTo and removeFrom hold capabilities (UI automatically reflects new condition)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 05:36:01 +00:00
Roy Wetherall
c69df9f8f0 Fix patch to prevent exception that was preventing upgrade from previous schema.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 04:28:30 +00:00