BUG 15394 "Cambiar el password despues de aplicar..." SOLVED

- Cambiar el password despues de aplicar el hotfix 2.5.2.3
- Problema resuelto, se agrega una validacion para esta version de processmaker "2.5.2.4" o "2.8", cuando sean estas
  versiones, se crea un flag que se registra en la tabla "configuration" y se hace una actualizacion de registros en la tabla
  "USERS_PROPERTIES", la actualizacion de los datos solo se realizar una vez.
This commit is contained in:
Luis Fernando Saisa Lopez
2014-08-13 11:19:00 -04:00
parent 26e63131ed
commit 713b39d29d

View File

@@ -95,6 +95,7 @@ class p11835 extends patch
//Fix BUG-15394
G::LoadClass("configuration");
$conf = new Configurations();
if (!$conf->exists("HOTFIX")) {
@@ -108,7 +109,7 @@ class p11835 extends patch
$pmVersion = self::pmVersion(System::getVersion()) . "";
if (($pmVersion == "2.5.3" || $pmVersion == "2.8") && !in_array("15394", $arrayHotfix)) {
if (($pmVersion == "2.5.2.4" || $pmVersion == "2.8") && !in_array("15394", $arrayHotfix)) {
$cnn = Propel::getConnection("workflow");
$stmt = $cnn->prepareStatement("UPDATE USERS_PROPERTIES SET USR_LOGGED_NEXT_TIME = 0");
$rs = $stmt->executeQuery();