You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by iu...@apache.org on 2022/07/15 08:36:43 UTC

[brooklyn-ui] branch revert-350-fixes/blueprint-service created (now 8365dab9)

This is an automated email from the ASF dual-hosted git repository.

iuliana pushed a change to branch revert-350-fixes/blueprint-service
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


      at 8365dab9 Revert "Fix parameter validation with the regex constraint"

This branch includes the following new commits:

     new 8365dab9 Revert "Fix parameter validation with the regex constraint"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[brooklyn-ui] 01/01: Revert "Fix parameter validation with the regex constraint"

Posted by iu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

iuliana pushed a commit to branch revert-350-fixes/blueprint-service
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 8365dab972599726539d9ede9cc04e40accbff37
Author: Iuliana Cosmina <iu...@gmail.com>
AuthorDate: Fri Jul 15 09:36:39 2022 +0100

    Revert "Fix parameter validation with the regex constraint"
---
 .../app/components/providers/blueprint-service.provider.js              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
index 4307b4d7..9bebe048 100644
--- a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
+++ b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
@@ -487,7 +487,7 @@ function BlueprintService($log, $q, $sce, paletteApi, iconGenerator, dslService,
                         }
                         break;
                     case 'regex':
-                        if (isSet() && !(new RegExp(args).test(val()))) {
+                        if (isSet() && !(new RegExp(args).test(val))) {
                             message = `<samp>${config.name}</samp> does not match the required format: <samp>${args}</samp>`;
                         }
                         break;