File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
marklogic-data-hub/src/main/java/com/marklogic/hub/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public void clearUserModules() {
389389 transformsList .findValuesAsText ("name" ).forEach (
390390 x -> {
391391 // may be missing ml: prefix
392- if (!(transforms .contains (x ) || transforms .contains (x .substring (3 )))) {
392+ if (!(transforms .contains (x ) || transforms .contains (x .substring (3 )) || x . startsWith ( "ml:" ) )) {
393393 transformExtensionsManager .deleteTransform (x );
394394 }
395395 }
@@ -401,7 +401,7 @@ public void clearUserModules() {
401401 resourceExtensions .findValuesAsText ("name" ).forEach (
402402 x -> {
403403 // may be missing ml: prefix
404- if (!(services .contains (x ) || services .contains (x .substring (3 )))) {
404+ if (!(services .contains (x ) || services .contains (x .substring (3 )) || x . startsWith ( "ml:" ) )) {
405405 resourceExtensionsManager .deleteServices (x );
406406 }
407407 }
You can’t perform that action at this time.
0 commit comments