fix bug assigning min=0 to slices by default
This commit is contained in:
parent
847858c131
commit
bb8fde3682
|
@ -1556,6 +1556,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
outcome.setPath(fixedPathDest(contextPathDst, outcome.getPath(), redirector, contextPathSrc));
|
||||
updateFromBase(outcome, currentBase);
|
||||
outcome.setSlicing(null);
|
||||
outcome.setMin(0); // were in a slice, so it's only a mandatory if it's explicitly marked so
|
||||
if (!outcome.getPath().startsWith(resultPathBase))
|
||||
throw new DefinitionException(context.formatMessage(I18nConstants.ADDING_WRONG_PATH));
|
||||
result.getElement().add(outcome);
|
||||
|
|
Loading…
Reference in New Issue