mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-3485: Change naming (#1372)
This commit is contained in:
committed by
GitHub
parent
6e5d37067d
commit
fa04a7264f
@@ -234,7 +234,7 @@ public class RuleSetLinksTests extends RestTest
|
|||||||
STEP("Assert link result is 400");
|
STEP("Assert link result is 400");
|
||||||
restClient.assertStatusCodeIs(BAD_REQUEST)
|
restClient.assertStatusCodeIs(BAD_REQUEST)
|
||||||
.assertLastError().containsSummary(
|
.assertLastError().containsSummary(
|
||||||
"Unable to link to a ruleset because the folder has pre-existing rules or is already linked to a ruleset.");
|
"Unable to link to a rule set because the folder has pre-existing rules or is already linked to a rule set.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -96,7 +96,7 @@ public class RuleSetsImpl implements RuleSets
|
|||||||
|
|
||||||
//The folder shouldn't have any pre-existing rules
|
//The folder shouldn't have any pre-existing rules
|
||||||
if (ruleService.hasRules(folderNodeRef)) {
|
if (ruleService.hasRules(folderNodeRef)) {
|
||||||
throw new InvalidArgumentException("Unable to link to a ruleset because the folder has pre-existing rules or is already linked to a ruleset.");
|
throw new InvalidArgumentException("Unable to link to a rule set because the folder has pre-existing rules or is already linked to a rule set.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the destination folder as a secondary child of the first
|
// Create the destination folder as a secondary child of the first
|
||||||
|
@@ -30,7 +30,7 @@ public class RuleSetLink
|
|||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This id is referring to the node id of the linked-to-folder which contains the ruleset(s)
|
* This id is referring to the node id of the linked-to-folder which contains the rule set(s)
|
||||||
*/
|
*/
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user