HOR-3366
This commit is contained in:
@@ -15439,6 +15439,12 @@ msgstr "Add users"
|
|||||||
msgid "Remove selected"
|
msgid "Remove selected"
|
||||||
msgstr "Remove selected"
|
msgstr "Remove selected"
|
||||||
|
|
||||||
|
# TRANSLATION
|
||||||
|
# LABEL/ENTER_VALID_URL
|
||||||
|
#: LABEL/ENTER_VALID_URL
|
||||||
|
msgid "Enter a valid URL to be redirected when entry will be completed"
|
||||||
|
msgstr "Enter a valid URL to be redirected when entry will be completed"
|
||||||
|
|
||||||
# TRANSLATION
|
# TRANSLATION
|
||||||
# LABEL/ID_EVENT_ADD_DYNAVAR
|
# LABEL/ID_EVENT_ADD_DYNAVAR
|
||||||
#: LABEL/ID_EVENT_ADD_DYNAVAR
|
#: LABEL/ID_EVENT_ADD_DYNAVAR
|
||||||
|
|||||||
@@ -4068,7 +4068,8 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
|||||||
( 'LABEL','ID_SMTP_ERROR_MET_TURN_SMTP_NOT_IMPLEMENTED','en','The method TURN of the SMTP is not implemented','2014-10-21') ,
|
( 'LABEL','ID_SMTP_ERROR_MET_TURN_SMTP_NOT_IMPLEMENTED','en','The method TURN of the SMTP is not implemented','2014-10-21') ,
|
||||||
( 'LABEL','ID_EVENT_ADD_CURRENT','en','Add current task user','2014-02-12') ,
|
( 'LABEL','ID_EVENT_ADD_CURRENT','en','Add current task user','2014-02-12') ,
|
||||||
( 'LABEL','ID_EVENT_ADD_USERS','en','Add users','2014-02-12') ,
|
( 'LABEL','ID_EVENT_ADD_USERS','en','Add users','2014-02-12') ,
|
||||||
( 'LABEL','ID_EVENT_REMOVE_SELECTED','en','Remove selected','2014-02-12') ;
|
( 'LABEL','ID_EVENT_REMOVE_SELECTED','en','Remove selected','2014-02-12') ,
|
||||||
|
( 'LABEL','ENTER_VALID_URL','en','Enter a valid URL to be redirected when entry will be completed','2014-06-30') ;
|
||||||
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
||||||
|
|
||||||
( 'LABEL','ID_EVENT_ADD_DYNAVAR','en','Add dynavar','2014-02-12') ,
|
( 'LABEL','ID_EVENT_ADD_DYNAVAR','en','Add dynavar','2014-02-12') ,
|
||||||
|
|||||||
@@ -350,6 +350,10 @@ class WebEntryEvent
|
|||||||
if (!empty($arrayData["USR_UID"])) {
|
if (!empty($arrayData["USR_UID"])) {
|
||||||
$process->throwExceptionIfNotExistsUser($arrayData["USR_UID"], $this->arrayFieldNameForException["userUid"]);
|
$process->throwExceptionIfNotExistsUser($arrayData["USR_UID"], $this->arrayFieldNameForException["userUid"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($arrayData["WE_CALLBACK"] === "CUSTOM" && empty($arrayData["WE_CALLBACK_URL"])) {
|
||||||
|
throw new \Exception(\G::LoadTranslation("ENTER_VALID_URL"));
|
||||||
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user