Commit Graph

2199 Commits

Author SHA1 Message Date
Roy Wetherall
8e13464ad8 Merge branch 'feature-2.4/RM-2967_RMAuditErrorIfUserIsDeleted' into 'release/V2.4'
Feature 2.4/rm 2967 rm audit error if user is deleted

RM-2967 - The admin tools audit throws an error when trying to access full information if deleted users created/updated data.
   - Added exists check in RecordsManagementAuditServiceImpl.java to avoid the illegal argument exception.
   - Added an empty check in rm-audit.js to remove the "-" if the username is empty because if the user is deleted the text is "Create Person -"
   - Added a null check in AuditLogGet.java because if you delete the RM site and access the audit page you get a null pointer exception

While testing the issue I noticed that the Create Person audit entry appears only after the user is deleted. The audit event is created with immediate auditing on false which makes sense if we only want to audit users related to RM site. If the "Create Person" log appears only after the user was deleted there isn't a reason to try getting the username property at all from a node that we know it doesn't exist.

See merge request !95
2016-04-04 01:55:11 +01:00
Ana Bozianu
3be929afae RM-2967 - added exists, null and empty checks to solve the problems 2016-04-01 19:02:29 +03:00
Tuna Aksoy
1aecba721e RM-3229 (Repo AMP contains unwanted libraries) 2016-03-30 20:12:39 +01:00
Roy Wetherall
645d80edcb Consolidate pluginExecution sections in root POM 2016-03-30 09:57:54 +11:00
Roy Wetherall
20a7a01760 Merge branch 'release/V2.4' of gitlab.alfresco.com:records-management/records-management into feature-2.4/RM-3148-RuleInheritancePatch 2016-03-30 09:44:33 +11:00
Ana Bozianu
5c8d4eec36 Merge branch 'feature-2.4/RM-3000_setPropertyValueInRMRulesNotWorking' into 'release/V2.4'
Feature 2.4/rm 3000 set property value in rm rules not working

RM-3000 - The set property value action can not be used in RM rules page.

Because the actions were not working as expected in other languages the mechanism has been changed to use localization in MNT-6350 and a caching mechanism has been implemented. So the getLocalizedParameterDefinitions is called only once at server startup. The actions in RM have been added before this change and we continued to implement getParameterDefintions.

The method getLocalizedParameterDefinitions which is protected calls addParameterDefinitions to build the results so I've overridden addParameterDefinitions to include the delegate's parameters for DelegateAction.

The actions executeScript and sendEmail were also affected by this change. I've added unit test to cover all 3 of them.

See merge request !81
2016-03-24 06:28:19 +00:00
Roy Wetherall
49d91d9f79 RM-3148: Patch unit test 2016-03-24 13:35:23 +11:00
Roy Wetherall
2a6b2f0751 RM-3148 - File Plan containers rule inheritance patch implementation 2016-03-24 13:07:56 +11:00
Roy Wetherall
491923ef38 Adjust POM's so plugin execution errors are masked in Eclipse 2016-03-24 12:24:07 +11:00
Ana Bozianu
426d782923 RM-3000 - fixed issue for setPropertyValue, executeScript and sendEmail and added unit test 2016-03-23 13:03:34 +02:00
Tuna Aksoy
28ca3ace3a Removed .gitattributes file as it was causing problems. 2016-03-23 08:18:51 +00:00
Tuna Aksoy
39e051e812 Merge branch 'feature-2.4/crlf' into release/V2.4 2016-03-22 07:52:34 +00:00
Jean-Pierre Huynh
76b947b534 BDE-548:
- Modified pom to use the maven-release-plugin
- Disable doclint
- Removed the explicit call to maven-source-plugin. The source jars will be created by the maven-release-plugin
2016-03-18 16:01:54 +00:00
David Webster
283e4bb1d2 CRLF: Update following review. Remove explicit binary types and trust Git to work it out on its own 2016-03-16 14:45:32 +00:00
David Webster
8130c6392d Configure CRLF line endings for whole repo
(cherry picked from commit 5f594edd19e37e0c6a838104c80d0da93943c428)
(cherry picked from commit d179e44f7cba552554be5aa3bf30c5eec20dd2e5)
2016-03-16 14:42:00 +00:00
Tuna Aksoy
8b9734d873 RM-3132 (Update license headers) 2016-03-16 10:26:58 +00:00
Tuna Aksoy
633feb7461 RM-3132 (Update license headers) 2016-03-15 15:48:38 +00:00
Roy Wetherall
209c3ed9a5 Merge branch 'release/V2.4' of gitlab.alfresco.com:records-management/records-management into feature-2.4/RM-3148-FilePlanInheritedRulesNotFiring 2016-03-15 11:59:32 +11:00
Roy Wetherall
44a188dabf Remove now unessesary checks from rule execution (RM-3148) 2016-03-15 11:59:13 +11:00
Roy Wetherall
1c6e95efe8 Extend integration test to show rule inheritance on record categories working as expected (RM-3148) 2016-03-15 11:20:53 +11:00
Roy Wetherall
e0cef2c6e1 Ensure that rules are not inherited onto the file plan, unfiled records, holds and transfers root containers (RM-3148) 2016-03-15 10:49:19 +11:00
Tuna Aksoy
5947f2922a RM-3132 (Update license headers) 2016-03-14 17:15:02 +00:00
Tuna Aksoy
5880454ce9 RM-3132 (Update license headers) 2016-03-14 17:04:23 +00:00
Tuna Aksoy
4b13ec18b4 RM-3132 (Update license headers) 2016-03-14 17:01:03 +00:00
Tuna Aksoy
35c87ba6f5 Merge branch 'feature-2.4/RM-3132_Update_license_headers' into release/V2.4
Conflicts:
	rm-community/rm-community-share/config/alfresco/site-webscripts/org/alfresco/rm/customizations/components/rules/rules-header.get.js
	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/context/webscript-context.xml
	rm-enterprise/rm-enterprise-repo/src/main/java/org/alfresco/module/org_alfresco_module_rm/classification/package-info.java
	rm-enterprise/rm-enterprise-repo/src/main/java/org/alfresco/module/org_alfresco_module_rm/referredmetadata/package-info.java
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/config/rule-config-action.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/config/rule-config-condition.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/rule-details.get.js
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/rm-enterprise/components/rules/rule-edit.get.js
2016-03-14 16:37:43 +00:00
Tuna Aksoy
80839e161e RM-3132 (Update license headers) 2016-03-14 16:17:53 +00:00
Tuna Aksoy
0fa4725b5b RM-3132 (Update license headers) 2016-03-14 16:12:09 +00:00
Tuna Aksoy
8237b6df2a RM-3132 (Update license headers) 2016-03-14 16:07:46 +00:00
Tuna Aksoy
ba3b6d337e RM-3132 (Update license headers) 2016-03-14 16:05:44 +00:00
Tuna Aksoy
672c1c0eef RM-3132 (Update license headers) 2016-03-14 15:26:32 +00:00
Tuna Aksoy
1d98c47a5d RM-3132 (Update license headers) 2016-03-14 11:54:37 +00:00
Tuna Aksoy
406999cdbf RM-3132 (Update license headers) 2016-03-14 11:49:29 +00:00
Tuna Aksoy
621f50691a RM-3132 (Update license headers) 2016-03-14 09:51:05 +00:00
Tuna Aksoy
b11ddb49e3 Reverted all license header related changes 2016-03-13 21:48:44 +00:00
Tuna Aksoy
a8a9c49618 RM-3132 (Update license headers) 2016-03-13 20:52:10 +00:00
Tuna Aksoy
61119c85d7 Merge branch 'feature-2.4/RM-3082_UpdateAlfrescoCommunityDependency' into release/V2.4 2016-03-13 20:22:42 +00:00
Tuna Aksoy
38076ece48 Reverted changes 2016-03-13 20:22:25 +00:00
Tuna Aksoy
e23c77ad91 Merge branch 'feature-2.4/RM-3132_Update_license_headers' into release/V2.4 2016-03-13 16:41:46 +00:00
Tuna Aksoy
2acd47950f RM-3132 (Update license headers) 2016-03-11 23:03:18 +00:00
Tuna Aksoy
cf287b5d62 RM-3132 (Update license headers) 2016-03-11 17:28:49 +00:00
Tuna Aksoy
2649d94a4a RM-3132 (Update license headers) 2016-03-11 17:05:12 +00:00
Tuna Aksoy
c68713ad5d RM-3132 (Update license headers) 2016-03-11 16:50:48 +00:00
Tuna Aksoy
a2d696d4a5 RM-3132 (Update license headers) 2016-03-11 16:44:23 +00:00
Tuna Aksoy
863cf6dbe2 Merge branch 'feature-2.4/RM-3082_UpdateAlfrescoCommunityDependency' into 'release/V2.4'
Feature 2.4/rm 3082 update alfresco community dependency

See merge request !69
2016-03-11 12:03:08 +00:00
Tuna Aksoy
a527d1488a Merge branch 'release/V2.4' into feature-2.4/RM-3082_UpdateAlfrescoCommunityDependency 2016-03-11 11:53:06 +00:00
Tuna Aksoy
421ec292b8 RM-3132 (Update license headers) 2016-03-11 11:40:15 +00:00
Tuna Aksoy
b938f45784 License headers should not be added to html files 2016-03-11 10:00:35 +00:00
Tuna Aksoy
e7be7ea22e RM-3082 (Update RM Community dependency to 5.1.e) 2016-03-11 09:57:41 +00:00
Roy Wetherall
4deba195ea updated and added headers where required. 2016-03-07 15:05:05 +11:00
Roy Wetherall
c01deb55b9 Merge branch 'release/V2.4' of gitlab.alfresco.com:records-management/records-management into RM-2969_UpdateLicenseHeaders 2016-03-07 14:19:08 +11:00