roxana
0a79d24def
Renamed method for calculating next disposition step and added null check.
2016-10-31 14:41:58 +02:00
roxana
adc144e971
Update disposition schedule action for a record when linking or unlinking it.
2016-10-31 12:18:34 +02:00
roxana
20d2bfb7d6
Run as system when getting disposition schedule for a record.
2016-10-25 15:51:39 +03:00
roxana
cb3357080d
I've tweaked the tests a bit to handle daylight savings.
2016-10-24 15:30:37 +03:00
roxana
4abeb19938
Added null check
2016-10-24 11:09:32 +03:00
roxana
9e7ae77cd5
When the last step of the current disposition is completed, no more calculation is needed.
2016-10-24 10:16:58 +03:00
roxana
7d82844048
Checking if disposition as of date was changed manually.
2016-10-21 11:13:51 +03:00
Tom Page
699e29bb28
Merge feature-2.3/RM-3386_ManuallySetDate into release/V2.3.
2016-10-20 15:20:00 +01:00
Tom Page
48a65f5067
Merge release/V2.3 into RM-3386_ManauallySetDate.
2016-10-19 08:31:13 +01:00
David Webster
5077b83ddc
Merge branch 'release/V2.2' into merge-2.3/HF-2.2.0.2-merge
2016-10-18 16:40:14 +01:00
David Webster
063479a0c0
Merge remote-tracking branch 'origin/release/V2.2.0.x' into release/V2.2
2016-10-18 16:36:10 +01:00
roxana
d82c27e6a4
Fixed unit test for linking.
2016-10-18 11:49:15 +03:00
roxana
1dea4c9d2d
Modified validation for link conditions to compare the original disposition of the record with the target one.
2016-10-18 10:57:08 +03:00
Tom Page
891ea35956
RM-2526 Fix copy/paste error.
2016-10-17 16:47:43 +01:00
roxana
c827e843ed
Added check for adding disposition lifecycle aspect.
2016-10-17 17:50:12 +03:00
Tom Page
531f10c458
RM-2526 Treat null as the largest date possible.
...
If a disposition step has an "as of" date of null then it requires human
interaction. Consequently there is no length of time we can wait before the
step triggers - so we treat it as the latest step if there are multiple
disposition schedules.
2016-10-17 15:27:43 +01:00
roxana
3ea86fa148
Fixed tests (for disposition schedules with event based actions).
2016-10-17 11:01:22 +03:00
Tom Page
c8577fe90c
RM-3386 Persist the fact that an "as of" date has been manually set.
...
If a "disposition as of" date is manually set using "Edit Retention Date"
then don't update it when changing the disposition schedule steps. Use a
new property to store the fact that the "disposition as of" date has been
manually set.
2016-10-14 16:15:16 +01:00
David Webster
14b3e8e212
MNT-16852: Optimise list conversion as per code review comment
2016-10-13 11:06:11 +01:00
David Webster
eca62dfc83
MNT-16852: Add comment explaining reason behind extracting mapping to properties file
2016-10-12 15:31:12 +01:00
David Webster
60c2cb693b
MNT-16852: Remove unnecessary imports
2016-10-12 15:25:06 +01:00
David Webster
9ed162ae2f
MNT-16852: First pass at extracting permission mapping to properties file.
2016-10-12 15:08:17 +01:00
David Webster
f9dd2df5a1
MNT-16852: Fix issue reading properties in Outlook Integration
2016-10-12 09:22:14 +01:00
roxana
fa042c81ae
Changed calculating as of date
2016-10-12 02:13:53 +03:00
David Webster
5cfcd584a5
MNT-16852: Refactor hasPermission method for readability
2016-10-11 12:57:38 +01:00
David Webster
66c9ffe848
MNT-16852: Give write properties permission to file records
2016-10-11 12:51:25 +01:00
roxana
d9bb9b2e00
I've changed the method that calculates the as of date to take in consideration the record creation date instead of the action creation date.
2016-10-11 12:28:07 +03:00
Tom Page
f55111fe6c
RM-2526 Fix NPE found by integration tests.
2016-10-10 14:45:06 +01:00
Tom Page
b80bff48aa
Merge release/V2.3 into feature-2.3/RM2526_BlendedDispositionSchedule.
2016-10-10 14:34:36 +01:00
Tom Page
4d58308d9a
Merge feature-2.3/RM-3386_DispositionCreatedDate into release/V2.3.
...
RM-3386 Ensure that we always use the same method when calculating the "disposition as of" date for the next disposition step.
2016-10-10 14:20:57 +01:00
roxana
f0370a443b
Addresed code review comments.
2016-10-09 20:50:28 +03:00
Tom Page
9a9600c782
RM-3386 Fix the logger to be private static final.
2016-10-07 15:14:36 +01:00
roxana
6b916b977f
Changed a bit the methods to be more readable.
2016-10-07 10:45:49 +03:00
Mihai Cozma
fc1e4a5710
Merge branch 'feature-2.3/RM-2368_Initial_version_record_does_not_inherit_document' into release/V2.3
2016-10-07 09:36:59 +03:00
David Webster
1605c715db
MNT-16852: First pass at Write Properties permission handling
2016-10-06 21:59:11 +01:00
Mihai Cozma
98ca0abe19
RM-2368 Initial version record does not inherit document type and
...
aspects from original document
2016-10-06 13:03:40 +03:00
Tom Page
2e6d11128f
RM-3386 Create unit tests for persistPeriodChanges and calculateAsOfDate.
2016-10-05 16:37:21 +01:00
Tom Page
70eb0cb399
RM-3386 Centralise the logic for recalculating "disposition as of" dates.
2016-10-04 16:42:28 +01:00
Tom Page
726c2284b8
RM-3386 Replace apache logger with slf4j.
...
Use slf4j to remove the need for a log level check. Note that the constant
strings will be concatenated at compile time so we don't have to worry
about the performance issue here.
2016-10-04 16:42:28 +01:00
Tom Page
ef1c5a2cfd
RM-3386 Refactor duplicated disposition date code into method.
2016-10-04 16:41:04 +01:00
roxana
db231f62db
Added implementation for handling multiple dispositions schedule record based.
2016-10-04 10:34:08 +03:00
Tuna Aksoy
276aed6179
Merge branch 'feature-2.3/RM-4162_MergeToV2.3' into release/V2.3
2016-10-03 17:02:06 +01:00
Tuna Aksoy
853220b997
Merge branch 'release/V2.3.0.x' into feature-2.3/RM-4162_MergeToV2.3
...
Conflicts:
rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/CopyMoveLinkFileToBaseAction.java
rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/DestroyAction.java
rm-server/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/issue/IssueTestSuite.java
2016-10-03 16:06:45 +01:00
Mihai Cozma
17099d1731
RM-2368 Initial version record does not inherit document type and
...
aspects from original document
2016-10-03 18:02:20 +03:00
Roxana Lucanu-Ghetu
80c64b59eb
Merge branch 'feature-2.4/RM-3060' into 'release/V2.4'
...
Feature 2.4/rm 3060 - Record linked to folder with the same disposition schedule couldn't be cut off
Added search by name for current disposition action; when the record has multiple disposition schedules the current disposition action may not be found by id.
See merge request !157
(cherry picked from commit d9883a3b02
)
2016-10-03 12:10:20 +03:00
Tuna Aksoy
03750d0f45
Merge branch 'hotfix-2.3/RM-4095_Fix_Failing_InplaceRecordPermissionTest' into release/V2.3.0.x
2016-10-03 07:32:34 +01:00
Tuna Aksoy
4cb13c0052
RM-4095 (Fix failing tests after merging 2.3.0.x up to master)
2016-10-01 21:56:18 +01:00
Tuna Aksoy
228bcbd960
RM-4101 (Link to, Copy to and File to rules fail when not run in background)
2016-10-01 17:21:57 +01:00
David Webster
8470ed38f8
Merge remote-tracking branch 'origin/release/V2.2' into feature-2.3/merge_from_v2.2.0.1
2016-09-30 16:33:49 +01:00
Tom Page
66771a2973
RM-4162 RM-4907 Merge release/V2.3.0.x into release/V2.3.
2016-09-30 16:23:58 +01:00