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();
|
||||
@@ -503,12 +505,12 @@ class Event extends BaseEvent
|
||||
$estimatedDuration = (float) $aData['EVN_TAS_ESTIMATED_DURATION'];
|
||||
$when = (float) $aData['EVN_WHEN'];
|
||||
$whenOccurs = $aData['EVN_WHEN_OCCURS'];
|
||||
|
||||
|
||||
if ($oCalendar->pmCalendarUid == '') {
|
||||
$oCalendar->getCalendar(null, $aData['PRO_UID'], $aData['TAS_UID']);
|
||||
$oCalendar->getCalendarData();
|
||||
}
|
||||
|
||||
|
||||
if ($whenOccurs == 'AFTER_TIME') {
|
||||
//for multiple $sDueDate = date('Y-m-d H:i:s', $oDates->calculateDate($aData['DEL_DELEGATE_DATE'], $estimatedDuration, 'days', 1));
|
||||
$sDueDate = $aData['DEL_TASK_DUE_DATE'];
|
||||
@@ -619,7 +621,7 @@ class Event extends BaseEvent
|
||||
$estimatedDuration = (float) $aData['EVN_TAS_ESTIMATED_DURATION'];
|
||||
$when = (float) $aData['EVN_WHEN'];
|
||||
$whenOccurs = $aData['EVN_WHEN_OCCURS'];
|
||||
|
||||
|
||||
if ($oCalendar->pmCalendarUid == '') {
|
||||
$oCalendar->getCalendar(null, $aData['PRO_UID'], $aData['TAS_UID']);
|
||||
$oCalendar->getCalendarData();
|
||||
|
||||
Reference in New Issue
Block a user