Commit Graph

590 Commits

Author SHA1 Message Date
Tuna Aksoy
40fdcfbefd 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
2fd27133e1 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
9be3e71543 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
1be4399d6b 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
dd690c6806 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
5423a96be7 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
7f572695b1 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
81a71c041e 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
9030ab5569 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
50c9b39324 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
fc23c3f0f9 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
cbe6192307 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
1441c42f45 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
2c98bb672f 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
2ca42fc34c 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
426ed0946d 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
7ddeaa5609 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
4c78001a3b 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
f50e604b7e 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
a5c415e3b3 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
df13731bad 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
fa485a9b31 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
cef32a5a6a 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
da9d30ea17 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
4741bb3390 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
d479988de0 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
c1d9a7a7ea 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
ede2db0bbf 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
e014b16b01 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
7e1e69073d 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
8b8bc47833 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
0c34f3a251 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
248e997d89 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
b50335bb83 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
b32d354529 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
7006a49d3a 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
1a477d1af7 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
fea54f71cd 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
1a1df733d3 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
cbe0e084bd 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
0dd217525a 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
fde0de1010 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
706dc33384 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
7583392341 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
78e7885fc9 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
e015cb688b 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
8e3a0b55b9 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
85e99b826e 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
127e0b6f52 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
11a70009b5 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