PM 554 "The description of process events..." SOLVED
Code Issue: The description of "process events" does not support the character "&" Cause: Cuando se creaba un nuevo Events de tipo "Intermediate message" al llenar el label "Description" por ejemplo "hola&&mundo", el carcater "&&" no se visualizaba en el listado tal como se registro. Solution: Se valida la creacion de un nuevo "Events", con el caracter "&".
This commit is contained in:
@@ -104,6 +104,8 @@ class Event extends BaseEvent
|
||||
$aData['EVN_UID'] = G::generateUniqueID();
|
||||
}
|
||||
|
||||
$aData["EVN_DESCRIPTION"] = str_replace("__AMP__", "&", $aData["EVN_DESCRIPTION"]);
|
||||
|
||||
$oConnection = Propel::getConnection( EventPeer::DATABASE_NAME );
|
||||
try {
|
||||
$oEvent = new Event();
|
||||
|
||||
@@ -14,7 +14,7 @@ var eventsNewAction = function(oForm) {
|
||||
url : '../events/eventsNewAction',
|
||||
method: 'POST',
|
||||
args : 'PRO_UID=' + getField('PRO_UID').value
|
||||
+ '&EVN_DESCRIPTION=' + getField('EVN_DESCRIPTION').value
|
||||
+ "&EVN_DESCRIPTION=" + stringReplace("\\&", "__AMP__", getField("EVN_DESCRIPTION").value)
|
||||
+ '&EVN_STATUS=' + getField('EVN_STATUS').value
|
||||
+ '&EVN_WHEN=' + getField('EVN_WHEN').value
|
||||
+ '&EVN_WHEN_OCCURS=' + getField('EVN_WHEN_OCCURS').value
|
||||
|
||||
Reference in New Issue
Block a user