Commit Graph

55 Commits

Author SHA1 Message Date
Victor Saisa Lopez
37d9035f9b PM-1764 "0016908: Case scheduler execution stops being..." SOLVED
Issue:
    0016908: Case scheduler execution stops being executed after the "Start date" pass
Cause:
    Hora hardcodeada a "24" cuando se trataba de las cero horas ("00")
Solution:
    - Se ha eliminado esta linea
    - Se ha aplicado el cast-to-int para las horas y minutos
    - Se ha agregado los files requeridos por el cron.php
2015-03-06 14:30:44 -04:00
Victor Saisa Lopez
69f5ca8c23 PM-1679 "No se ejecuta el cron en Servidores Windows" SOLVED
Issue:
    No se ejecuta el cron en Servidores Windows
Cause:
    - En PHP-5.4 se incorpora de manera predefinida
      la constante E_STRICT, siendo este la causa para los "Warnings PHP Strict Standards"
    - No se esta cargando los files de "processmaker/workflow/engine/src/ProcessMaker"
Solution:
    - Se ha corregido codigo para respetar el "PHP Strict Standards"
    - Se ha agregado codigo para cargar los files
      requeridos de "processmaker/workflow/engine/src/ProcessMaker"
2015-02-26 17:02:34 -04:00
marcelo.cuiza
af7904fd59 PM-1468
si no se tiene configurado las opciones de email, en consola sale un mensaje de error al ejecutar el cron.

al no ser un bug, lo que se hizo fue agregar un nivel mas de mensaje que es WARNING que se muestra siempre y cuando no exista una coniguracion de email registrada en la base de datos.
2015-02-05 10:24:19 -04:00
marcelo.cuiza
f1327e4876 PM-1468
si no se tiene configurado las opciones de email, en consola sale un mensaje de error al ejecutar el cron.

al no ser un bug, lo que se hizo fue agregar un nivel mas de mensaje que es WARNING que se muestra siempre y cuando no exista una coniguracion de email registrada en la base de datos.
2015-02-04 16:51:50 -04:00
marcelo.cuiza
af144a668f PM-1468
si no se tiene configurado las opciones de email, en consola sale un mensaje de error al ejecutar el cron.

al no ser un bug, lo que se hizo fue agregar un nivel mas de mensaje que es WARNING que se muestra siempre y cuando no exista una coniguracion de email registrada en la base de datos.
2015-02-04 16:29:19 -04:00
marcelo.cuiza
a028cbce11 PM-1468
si no se tiene configurado las opciones de email, en consola sale un mensaje de error al ejecutar el cron.

al no ser un bug, lo que se hizo fue agregar un nivel mas de mensaje que es WARNING que se muestra siempre y cuando no exista una coniguracion de email registrada en la base de datos.
2015-02-04 14:24:17 -04:00
marcelo.cuiza
ea36750293 PM-1466
si no se tiene configurado las opciones de email, en consola sale un mensaje de error al ejecutar el cron.

al no ser un bug, lo que se hizo fue agregar un nivel mas de mensaje que es WARNING que se muestra siempre y cuando no exista una coniguracion de email registrada en la base de datos.
2015-02-04 13:19:27 -04:00
jennylee
4a6f3930b5 PM-1039 Aniadiendo files para a obviar codigo en la version community. 2014-12-04 10:23:06 -04:00
Julio Cesar Laura
410d000205 Issues found in the demo meeting solved 2014-10-31 16:37:50 -04:00
Julio Cesar Laura
c248fa5f0c IMPROVEMENT in method log from class G 2014-10-03 11:09:45 -04:00
Julio Cesar Laura
a180e59bd3 Improvement in the cron_single.php file when load required classes (wsResponse) 2014-09-11 11:45:17 -04:00
Julio Cesar Laura
f486ea0c11 Improvement in the cron_single.php file when load required classes 2014-09-11 11:30:48 -04:00
jennylee
e2617d0295 BUG-14598. NEW FEATURE SelfService One Execution.
A dropdown was added in the SelfService configuration, this dropdown let you set if the trigger seted in the self service is gonna be executed ONE time or every time that cron is executed.

Some validations where added in the cron_single.php file to save the data in the new table 'APP_TIMEOUT_ACTION_EXECUTED' when the Execution is set in ONCE. If the app_UID is find in this table the trigger will not be executed, if is not find the trigger will be executed.
2014-09-08 16:29:45 -04:00
jennylee
e116e77379 BUG-14598. NEW FEATURE SelfService One Execution.
A dropdown was added in the SelfService configuration, this dropdown let you set if the trigger seted in the self service is gonna be executed ONE time or every time that cron is executed.

Some validations where added in the cron_single.php file to save the data in the new table 'APP_TIMEOUT_ACTION_EXECUTED' when the Execution is set in ONCE. If the app_UID is find in this table the trigger will not be executed, if is not find the trigger will be executed.
2014-09-08 13:28:14 -04:00
Julio Cesar Laura
7b4804cb09 Merge remote branch 'upstream/master' 2014-07-03 16:37:34 -04:00
jennylee
864d73cf04 LOGINFAILED LOG
Se aumento 'date' para el registro del log en la clase Logger (class.logger.php) y se quito el date en los mensajes enviados a dicha clase.

Cuando el usuario falla 3 veces consecutivas el logeo, se crea si no existiese, el file shared/log/loginFailed.log y se agrega un nuevo registro con los siguientes datos:

2014-07-02 16:55:22 | Many failed authentication attempts for USER: admin | IP: 192.168.10.109 | WS: dmuz | Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
2014-07-03 14:58:53 -04:00
jennylee
83368cc38e LOGINFAILED LOG
Se aumento 'date' para el registro del log en la clase Logger (class.logger.php) y se quito el date en los mensajes enviados a dicha clase.

Cuando el usuario falla 3 veces consecutivas el logeo, se crea si no existiese, el file shared/log/loginFailed.log y se agrega un nuevo registro con los siguientes datos:

2014-07-02 16:55:22  |  Many failed authentication attempts for USER: admin  |  IP: 192.168.10.109  |   WS: dmuz  |  Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
2014-07-03 10:32:25 -04:00
Brayan Osmar Pereyra Suxo
1d17893c90 Arreglo de cron 2014-07-01 16:13:46 -04:00
Julio Cesar Laura
a869888d78 BUG 15153 Call to undefined function SOLVED
- The pmFunctions from the plugins not loaded before include pmScript class
- Change the includes order of the related classes
2014-06-20 16:21:23 -04:00
Julio Cesar Laura
adeea26e32 BUG 13938 Line error_reporting(E_ALL) in cron.php and cron_single.php is generating unnecesary errors SOLVED
- Unnecesary lines to set the configuration for "display_errors" and "error_reporting"
- Delete unnecesary lines and now this configurations is setted with the processmaker configuration (env.ini)
2014-01-21 13:02:08 -04:00
julceslauhub
95c503dad7 Merge pull request #2175 from Jennydmz/BUG-10181a
BUG-10181 Modificando la clase Calendar.
2013-11-29 05:49:40 -08:00
jennylee
e2e56cc7d6 BUG-10181 Modificando la clase Calendar.
Modificar las funciones de la clase Calendar para que ahora se realize el calculo de NewDate tomando en cuenta los weekends.
2013-11-27 17:22:13 -04:00
Julio Cesar Laura
6197d1c404 Reverting G::log call in cron_single file 2013-11-27 17:10:20 -04:00
Julio Cesar Laura
424e03d1b6 Add "getCronFiles" method to the plugin class and change cron_single file to execute old cron files and new registered cron files 2013-11-27 17:05:51 -04:00
jennylee
1245dd6d3c BUG-10181 Modificando la clase Calendar.
Modificar las funciones de la clase Calendar para que ahora se realize el calculo de NewDate tomando en cuenta los weekends.
2013-11-26 17:36:40 -04:00
julceslauhub
5783af2b51 Merge pull request #2164 from gproly/BUG-13506
Bug 13506 SOLVED La sección ADMIN / Logs, opción Cron, se queda cargando y en consola de navegador se muestra el error 500 internal Server Error.
2013-11-26 07:22:17 -08:00
Julio Cesar Laura
e97a04943f Add "registerCronFile" method to the plugin class 2013-11-25 13:01:30 -04:00
Roly Gutierrez
65bb06ff4e BUG-13506 SOLVED La sección ADMIN / Logs, opción Cron, se queda cargando y en consola de navegador se muestra el error 500 internal Server Error. 2013-11-22 17:05:10 -04:00
Luis Fernando Saisa Lopez
1c257dd01c BUG 12749 "Incrementar el valor del memory_limit..." SOLVED
- Incrementar el valor del memory_limit que viene por defecto en el env.ini y en el php.ini
- Problema resuelto, se ha incrementado de valor del "memory_limit" de 128M a 256M.
* Available from version ProcessMaker-2.5.2-testing.1
2013-08-27 16:58:13 -04:00
Marco Antonio Nina
1d5e74094b BUG-11555 PMFDerivateCase: No cambia el estado de DRAFT SOLVED
- El estado no era actualizado correctamente ya que al ejecutar el trigger se tenia datos antiguos con el cual se reescribia el estado del caso.
- al ejecutar un trigger se realiza el unset de las variables APP_STATUS, APP_PROC_STATUS, APP_PROC_CODE, APP_PIN  para que no sean modificadas.
2013-07-03 09:48:46 -04:00
Julio Cesar Laura
12f5f99d1d BUG 10346 Al ejecutar el Cron en los servidores estos no concluyen y sale un error SOLVED
- En primer lugar si concluyen (vea la palabra Finished en cada una de las imagenes)
- Segundo, de los 3 errores reportados solo el ultimo  es un bug (servidor 153), los otros dos son errores de sintaxis en triggers en el proceso (152 es el trigger 78833007850cbc2e42e54c9046912155 y para el 130 es el trigger 23068400950cbacf5dd2054031426893)
- Para el tercero que si es un error se agrego la inicializacion de la variable RBAC
2013-01-10 15:17:01 -04:00
ralph
eae5d655a1 Adding more model classes to Cron 2012-12-11 15:59:20 -04:00
ralph
4577497b93 Adding BaseDelegationPeer 2012-12-11 15:53:14 -04:00
ralph
95132e7892 Adding sysGeneric Model Classes to the autoloader. 2012-12-07 16:10:36 -04:00
ralph
c990eac5eb Adding Groupwf 2012-12-07 15:55:38 -04:00
Brayan Osmar Pereyra Suxo
b54dcce906 Performance to cron 2012-11-27 15:46:44 -04:00
Victor Saisa Lopez
995be39eb9 BUG 4940 "Add option to set a time limit on 'self serve'..." SOLVED
- New feature
- Add option to set a time limit on "Self service" routing
- Added new feature in properties task
- This new feature is activated by the execution of cron.php:
      cron.php [+wWORKSPACE] unassigned-case
* Available from version 2.0.45
2012-10-22 13:55:35 -04:00
Victor Saisa Lopez
3b797f7788 BUG 9709 "Add a new option in ADMIN -> Logs for the cron" SOLVED
- New feature
- Add a new option in ADMIN -> Logs for the cron
- Added new feature
* Available from version 2.0.44
2012-09-24 11:51:45 -04:00
Julio Cesar Laura
23b3cac2b4 Change the order of the execution of the actions to prevent that a problem in the plugin blocks the other actions 2012-09-21 10:45:13 -04:00
Victor Saisa Lopez
331cb04a2c BUG 9630 "cron.php script can have several instances running..." SOLVED
- cron.php script can have several instances running at the same time
- Problem solved, added validation in cron.php script to avoid run
  several times
- Variable time added to control execution of cron
* Available from version 2.0.44
2012-09-03 11:32:52 -04:00
Victor Saisa Lopez
dfb10bc7aa BUG 9630 "cron.php script can have several instances running..." SOLVED
- cron.php script can have several instances running at the same time
- Problem solved, added validation in cron.php script to avoid run
  several times
* Available from version 2.0.44
2012-08-30 15:05:39 -04:00
Victor Saisa Lopez
92e24c3e78 BUG 9597 "cron.php sending old emails need to be configured" SOLVED
- cron.php it forwards all the emails without importing if they are
  or not very old
- Problem solved, is taken into account the parameter "+d" as the
  starting date for the forwarding of mail, if not define this
  parameter will be forwarded emails from 7 days ago, forward
2012-08-20 12:33:18 -04:00
Marco Antonio Nina
66a3f4a446 BUG 8038 Case Scheduler add a way to schedule tasks more often than... SOLVED
- According to the specifications.
- Was added the option "Every" that run the task each X hours.
2012-08-16 17:55:46 -04:00
Julio Cesar Laura
b1c730bef5 BUG 9368 Cron script not reading timezone configuration
- The system configuration was not loaded in the cron
- Load the system configuration to the begin of the cron
2012-07-20 13:33:28 -04:00
Victor Saisa Lopez
167bab6b6e BUG 9319 "Problema con el Case Label" SOLVED
- By changing the "Case Label", this is not updated in the APP_CACHE_VIEW table
- Solved problem to changing the "Case Label", now is updated in the APP_CACHE_VIEW table
- Improvement in file, compliance with the standard PSR2

Note:
- When you change the "Case Title" of a task, affecting every case,
  if it is the current task of the case (otherwise it would not affect
  the APP_CACHE_VIEW table)
- If a task is saved empty the "Case Title" the APP_TITLE take the value
  #APP_NUMBER (all cases are in the task, this in APP_CACHE_VIEW table)
2012-07-03 18:20:20 -04:00
Brayan Osmar Pereyra Suxo
786d298130 BUG 5737 Add logs to new case with CaseScheduler SOLVED
I add logs to CaseScheduler
I add logs to executeEvents
2012-06-25 12:37:06 -04:00
Alvaro Campos
907f47163d BUG 5737 The cron.php script should write something ... solved
- The cron.php script should write something in the shared/log/cron.log file when a new case started or an event is executed
2012-06-21 18:29:13 -04:00
Herbert Saal Gutierrez
5cf35c71d9 BUG 9180 Correct Solr update and counters implementation
The following changes were made:
- fix update Solr index process
- implement casesenuLoader using Solr server to display counters
- fix cron missing reference to system class
- add function and classes documentation
2012-05-29 17:07:53 -04:00
Erik Amaru Ortiz
f83fef3f7a BUG 6945 "Country in Language code causes Javascript error and causes..." SOLVED
The html tags on xml label section was causing the problem, but it is fixed now
2011-05-27 10:48:20 -04:00
Erik Amaru Ortiz
4aec62825b BUG 0000 adding a missing folder workflow/engine/bin/plugins 2011-05-26 15:39:08 -04:00