diff --git a/backend/app_sdk/app_base.py b/backend/app_sdk/app_base.py
index b2ba3b61..52cc5e83 100644
--- a/backend/app_sdk/app_base.py
+++ b/backend/app_sdk/app_base.py
@@ -1985,7 +1985,7 @@ class AppBase:
errors = False
error_msg = ""
try:
- self.logger.info("In liquid")
+ #self.logger.info("In liquid")
if len(template) > 10000000:
self.logger.info("[DEBUG] Skipping liquid - size too big (%d)" % len(template))
return template
@@ -2197,9 +2197,9 @@ class AppBase:
actualitem = re.findall(match, data, re.MULTILINE)
#self.logger.debug(f"\n\nHandle static data with JSON: {data}\n\n")
#self.logger.info("STATIC PARSED: %s" % actualitem)
- self.logger.info("[INFO] Done with regex matching")
+ #self.logger.info("[INFO] Done with regex matching")
if len(actualitem) > 0:
- self.logger.info("[DEBUG] Matches: ", actualitem)
+ #self.logger.info("[DEBUG] Matches: ", actualitem)
for replace in actualitem:
try:
to_be_replaced = replace[0]
@@ -3078,7 +3078,7 @@ class AppBase:
found_error = ""
while True:
iteration_count += 1
- if iteration_count > 10:
+ if iteration_count >= 10:
newres = {
"success": False,
"reason": "Iteration count more than 10. This happens if the input to the action is wrong. Try remaking the action, and contact support@shuffler.io if this persists.",
@@ -3091,7 +3091,7 @@ class AppBase:
break
except TypeError as e:
newres = ""
- self.logger.info(f"[DEBUG] Got exec error: {e}")
+ self.logger.info(f"[DEBUG] Got exec type error: {e}")
try:
e = json.loads(f"{e}")
except:
@@ -3107,11 +3107,12 @@ class AppBase:
except:
e = f"{e}"
- raise Exception(json.dumps({
+ newres = json.dumps({
"success": False,
"reason": "An exception occurred while running this function. See exception for more details and contact support if this persists (support@shuffler.io)",
"exception": e,
- }))
+ })
+ break
elif "got an unexpected keyword argument" in errorstring:
fieldsplit = errorstring.split("'")
if len(fieldsplit) > 1:
@@ -3125,9 +3126,10 @@ class AppBase:
else:
newres = json.dumps({
"success": False,
- "reason": "You may be running an old version of this action. Please delete and remake the node.",
+ "reason": "You may be running an old version of this action. Try remaking the node, then contact us at support@shuffler.io if it doesn't work with all these details.",
"exception": f"TypeError: {e}",
})
+ break
except Exception as e:
self.logger.info("[ERROR] Something is wrong with the input for this function. Are lists and JSON data handled parsed properly?")
@@ -3136,11 +3138,12 @@ class AppBase:
except:
e = f"{e}"
- raise Exception(json.dumps({
+ newres = json.dumps({
"success": False,
"reason": "An exception occurred while running this function. See exception for more details and contact support if this persists (support@shuffler.io)",
"exception": e,
- }))
+ })
+ break
# Forcing async wait in case of old apps that use async (backwards compatibility)
try:
diff --git a/backend/go-app/main.go b/backend/go-app/main.go
index 4527ada4..ec7faacb 100644
--- a/backend/go-app/main.go
+++ b/backend/go-app/main.go
@@ -1224,7 +1224,7 @@ func checkAdminLogin(resp http.ResponseWriter, request *http.Request) {
// Should run calculations
if len(org.SSOConfig.OpenIdAuthorization) > 0 {
- log.Printf("[DEBUG] Found OpenID url (PKCE). Extra redirect check: %s", request.URL.String())
+ log.Printf("[DEBUG] Found OpenID url (PKCE!!). Extra redirect check: %s", request.URL.String())
baseSSOUrl = org.SSOConfig.OpenIdAuthorization
codeChallenge := uuid.NewV4().String()
diff --git a/docker-compose.yml b/docker-compose.yml
index e2b52f15..1435d058 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,7 +1,7 @@
version: '3'
services:
frontend:
- build: ./frontend
+ #build: ./frontend
image: ghcr.io/frikky/shuffle-frontend:nightly
container_name: shuffle-frontend
hostname: shuffle-frontend
@@ -16,7 +16,7 @@ services:
depends_on:
- backend
backend:
- build: ./backend
+ #build: ./backend
image: ghcr.io/frikky/shuffle-backend:nightly
container_name: shuffle-backend
hostname: ${BACKEND_HOSTNAME}
@@ -49,7 +49,7 @@ services:
environment:
- SHUFFLE_WORKER_VERSION=nightly
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
- - BASE_URL=http://${OUTER_HOSTNAME}:${BACKEND_PORT}
+ - BASE_URL=http://${OUTER_HOSTNAME}:5001
- DOCKER_API_VERSION=1.40
- SHUFFLE_BASE_IMAGE_NAME=${SHUFFLE_BASE_IMAGE_NAME}
- SHUFFLE_BASE_IMAGE_REGISTRY=${SHUFFLE_BASE_IMAGE_REGISTRY}
@@ -86,7 +86,7 @@ services:
soft: 65536
hard: 65536
volumes:
- - ${DB_LOCATION}:/usr/share/opensearch/data:rw
+ - ${DB_LOCATION}:/usr/share/opensearch/data:z
ports:
- 9200:9200
networks:
diff --git a/frontend/src/components/ParsedAction.jsx b/frontend/src/components/ParsedAction.jsx
index 11774893..064d02f7 100644
--- a/frontend/src/components/ParsedAction.jsx
+++ b/frontend/src/components/ParsedAction.jsx
@@ -2687,9 +2687,9 @@ const ParsedAction = (props) => {
disableScrollLock: true,
}}
value={
- selectedActionEnvironment === undefined ||
- selectedActionEnvironment.Name === undefined
- ? ""
+ selectedActionEnvironment === undefined || selectedActionEnvironment === null ||
+ selectedActionEnvironment.Name === undefined || selectedActionEnvironment.Name === null
+ ? isCloud ? "Cloud" : "Shuffle"
: selectedActionEnvironment.Name
}
SelectDisplayProps={{
@@ -2738,13 +2738,17 @@ const ParsedAction = (props) => {
workflow.execution_variables !== null &&
workflow.execution_variables.length > 0 ? (
-
Set execution variable (optional)
+
Execution variable (optional)