Commit Graph

217 Commits

Author SHA1 Message Date
Luis Fernando Saisa Lopez
40d43369be BUG 13400 "Adjuntar dos archivos con el mismo..." SOLVED
- Adjuntar dos archivos con el mismo nombre en un correo (PM v. 2.5.1).
- Problema resuelto:
  Se agrega un nuevo metodo "PMFAddAttachmentToArray" el cual permite validar el indice de un array, si los indices
  son iguales se diferenciara, si no lo son, se mantendra el mismo indice.

  El metodo recibe los siguientes parametros:
    > $arrayData: Array, valor de entrada, en donde contendra los nuevos datos.
    > $index: Nuevo nombre de indice
    > $value: Nuevo valor que contendra el indice
    > $suffix: Cadena que se concatenara al indice diferente por default es: "$suffix = Copy({i})"
               Ejemplo de cadena de concatenacio:
                       Fotografia Copy(1).jpg

      Nota.- Suffix es un parametro opcional como se muestra en los ejemplos y su aplicabilidad:

            PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes");
            PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes", " Numero de copias-({i})");
            PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes", "");

    > La nueva funcion es:

    function PMFAddAttachmentToArray($arrayData, $index, $value, $suffix = " Copy({i})")
    {
        ...
    }

    Este metodo puede ser utilizado al momento de crear triggers en: DESIGNER>Triggers>New

  Disponible para la version 2.5.2
2013-11-22 12:37:10 -04:00
Luis Fernando Saisa Lopez
f5bb7d341a BUG 13400 "Adjuntar dos archivos con el mismo nombre en un correo." SOLVED
- Adjuntar dos archivos con el mismo nombre en un correo (PM v. 2.5.1).
- Problema resuelto:
  Se agrega un nuevo metodo "arrayDocumentAddElement" el cual permite validar el indice de un array, si los indices
  son iguales se diferenciara, si no lo son, se mantendra el mismo indice.

  El metodo recibe los siguientes parametros:
    > $arrayData: Array, valor de entrada, en donde contendra los nuevos datos.
    > $index: Nuevo nombre de indice
    > $value: Nuevo valor que contendra el indice
    > $suffix: Cadena que se concatenara al indice diferente por default es: "$suffix = Copy({i})"
               Ejemplo de cadena de concatenacio:
                       Fotografia Copy(1).jpg

      Nota.- Suffix es un parametro opcional como se muestra en los ejemplos y su aplicabilidad:

            arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes");
            arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes", " Numero de copias-({i})");
            arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes", "");

    > La nueva funcion es:

    function arrayDocumentAddElement($arrayData, $index, $value, $suffix = " Copy({i})")
    {
        ...
    }

    Este metodo puede ser utilizado al momento de crear triggers en: DESIGNER>Triggers>New

  Disponible para la version 2.5.2
2013-11-21 16:37:24 -04:00
Julio Cesar Laura
bd82850abe IMPROVEMENT in PM function PMFDerivateCase 2013-07-15 10:31:11 -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
ralpheav
06466df921 Bug 8665 3K issue:
Description: ./files directory cannot be up 32000 directories max at ext3 configuration.
Solution : split the uid case directory at 3 level to create a tree structure. Apply this new structure to all PM. Set a upgrade procedure at time to use processmaker upgrade <workspace> commnand as su.
2013-04-29 16:48:29 -04:00
Hector Cortez
e028c95639 BUG 10620 setCaseTrackerCode function does not work SOLVED
- When you send an empty string in the parameter "Code" always returns 0. When you enter the correct parameters always returns 1.
- Changed documentation of the return value.
2013-04-01 09:57:21 -04:00
Marco Antonio Nina
638cdee160 Add hook before create user 2013-03-20 10:58:19 -04:00
ralph
07c322c210 Adding extra parameter to newCaseImpersonate 2013-03-19 11:36:06 -04:00
ralph
f5d94ebbf9 Adding optional taskid parameter to newCaseImpersonate function 2013-03-19 10:45:04 -04:00
Julio Cesar Laura
2d0fff6c4d Improvement in the PM function "setCaseTrackerCode" 2013-03-07 15:15:54 -04:00
Julio Cesar Laura
b986dd1a7d IMPROVEMENT in PMFunction PMFGetNextAssignedUser 2013-02-19 11:36:10 -04:00
Brayan Osmar Pereyra Suxo
43d10b6185 BUG 10594 I added to validation in SSL and added memory limit SOLVED
I added to validation in SSL and added memory limit
2013-02-04 15:49:46 -04:00
Julio Cesar Laura
1a2d5ed666 Improvment for the PM function PMFSendVariables when the case to be updated is the current case 2013-02-01 18:05:33 -04:00
Julio Cesar Laura
521c10b2ae BUG 10620 setCaseTrackerCode function does not work SOLVED
- Incorrect condition in update logic
- Fix incorrect condition
2013-02-01 12:51:03 -04:00
Victor Saisa Lopez
a3cf657fa0 BUG 10547 "PMFGetCaseNotes function. The wizard does not..." SOLVED
- PMFGetUserEmailAddress and PMFGetCaseNotes function. The wizard does not work properly.
- Solved problem, corrected default values of the parameters
* Available from version ProcessMaker-2.0.46
2013-01-29 15:05:04 -04:00
Brayan Osmar Pereyra Suxo
c148800df9 PMSQL I added to change to PMFDerivateCase SOLVED
I added to change to PMFDerivateCase
2013-01-29 11:33:32 -04:00
Marco Antonio Nina
4de03be550 BUG 10261 Faltan descripciones o se muestan cortadas en Triggers SOLVED
- Not was have descriptions for triggers in the wizard.
- Was add descriptions.
2013-01-04 13:59:20 -04:00
Marco Antonio Nina
7dfc160989 BUG 10257: P.M. 2.0.46 Error al crear un trigger (PMFSendMessage) IMPROVEMENT
- All fields are required.
- was changed some fields a optional.
2013-01-03 11:01:16 -04:00
Marco Antonio Nina
7ffbecdb60 BUG 10156 Cron execution stop if an error is found in any event SOLVED
- To run cron was stopped in one case in the function PMFGetUserEmailAddress for a nonexistent user id.
- was add validation to nonexistent user
2012-12-12 14:45:16 -04:00
Victor Saisa Lopez
eb774203d5 BUG 10087 "PM functions y Web Services de ProcessMaker no..." SOLVED
- Problem with the variable $_SESSION
- The variable $_SESSION should not lose the default values ..set
- Added functions to save and restore the values ..of the variable $_SESSION
- Revised class.pmFunctions.php functions and class.wsBase.php
- The QA team should test this functions (most of these functions running
  triggers, try running triggers):
    PMFAddInputDocument
    PMFGenerateOutputDocument
    PMFDerivateCase, WSDerivateCase, wsBase::derivateCase
    PMFNewCase, WSNewCase, wsBase::newCase
    PMFRedirectToStep
    PMFDeleteCase, WSDeleteCase, wsBase::deleteCase
    PMFCancelCase, WSCancelCase, wsBase::cancelCase
    PMFPauseCase, WSPauseCase, wsBase::pauseCase
    PMFUnpauseCase, WSUnpauseCase, wsBase::unpauseCase
    wsBase::executeTrigger
    wsBase::reassignCase
* Available from version 2.0.46
2012-11-29 17:04:31 -04:00
Julio Cesar Laura
4cdbd2668a Changed references to deprecated file "cases_List" 2012-11-28 15:57:55 -04:00
Victor Saisa Lopez
23d03a7d2e BUG 8283 "PMFAddInputDocument function request" SOLVED
- New feature
- PM Function for add a input document
- Added function "PMFAddInputDocument" in "class.pmFunctions.php"
- The QA team should test with:
    * Dynaforms
    * KnowledgeTree plugin
* Available from version 2.0.46
2012-11-27 12:56:10 -04:00
Victor Saisa Lopez
ee7ec4f2df BUG 9935 "DEL_INDEX PM Table Value" SOLVED
- Every time I send E-mails with PMFSendMessage() function, it doesn't
  keep a track in DEL_INDEX field from APP_MESSAGE table
- Added parameter $delIndex to the function
* Available from version 2.0.46
2012-11-23 10:46:59 -04:00
Victor Saisa Lopez
e10d68ba58 BUG 7752 "No webservice to add notes" SOLVED
- New feature
- Web Services for add case note
- Added functions "PMFAddCaseNote, WSAddCaseNote" in "class.pmFunctions.php"
- Added function "addCaseNote" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.46
2012-11-19 14:35:10 -04:00
Victor Saisa Lopez
ebd1a4747c BUG 8596 "Web Services needs a userInfo() function" SOLVED
- New feature
- Web Services for getting information of user
- Added functions "PMFInformationUser, WSInformationUser" in "class.pmFunctions.php"
- Added function "informationUser" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.46
2012-11-15 12:56:33 -04:00
Julio Cesar Laura
afc2a589fb Add new properties to function PMFGenerateOutputDocument 2012-11-12 10:47:22 -04:00
Julio Cesar Laura
e07093203b BUG 9946 Cases paused with the PMFPauseCase function are redirecting to the inbox and Paused folder at the same time SOLVED
- The triggers was paused the current case
- Add validation when the trigger pause/cancel the current case
2012-10-29 15:24:21 -04:00
Marco Antonio Nina
530565f543 BUG 9937 PMFSendMessage way to not log in history... SOLVED
- The registration messages are displayed by default.
- was add in PMFSendMessage a feature in the last parameter.
2012-10-29 11:45:05 -04:00
Hector Cortez
d9d3eed6ff BUG 9321 executeQuery() does not return the number of records affected..SLOVED
- ExecuteQuery() is supposed to return the number of records affected by DELETE, UPDATE and INSERT commands.
- Adjustment in the number of records for different Engines.
2012-10-12 16:57:47 -04:00
Fernando Ontiveros
eba4b6e7d7 CODE STYLE class.pmFunctions.php 2012-10-09 12:56:31 -04:00
Victor Saisa Lopez
3fc8719472 BUG 5494 "Request for a web service function to cancel..." SOLVED
- New feature
- Web Services for pause and unpause case
- Added functions "PMFPauseCase, PMFUnpauseCase, WSPauseCase, WSUnpauseCase" in "class.pmFunctions.php"
- Added function "pauseCase, unpauseCase" in "class.wsBase.php"
- Added functionality for applications using Web Services
- Cancel case it's solved in bug 7385
- Function "pauseCase" from "class.pmFunctions.php" has changed its name to "PMFPauseCase"
* Available from version 2.0.44
2012-09-12 14:46:26 -04:00
Victor Saisa Lopez
128b193768 BUG 7385 "PMF functions required for handling cases..." SOLVED
- New feature
- Web Services for delete and cancel case
- Added functions "PMFDeleteCase, PMFCancelCase, WSDeleteCase, WSCancelCase" in "class.pmFunctions.php"
- Added function "deleteCase, cancelCase" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.44
2012-09-11 16:41:05 -04:00
Victor Saisa Lopez
3ffa50d602 BUG 4119 "Need web service for updating user accounts" SOLVED
- New feature
- Web Services for updating user accounts
- Added functions "PMFCreateUser, PMFUpdateUser, WSCreateUser, WSUpdateUser" in "class.pmFunctions.php"
- Added function "updateUser" in "class.wsBase.php"
- Added functionality for applications using Web Services
2012-07-25 18:27:48 -04:00
Julio Cesar Laura
b4390b0c1a BUG 9414 PMFSendVariables doesn't work
- The function don't use the context execution values
- Merge the case variables with the execution context values if exists
2012-07-23 20:50:41 -04:00
Victor Saisa Lopez
31f8bcdfd4 BUG 9291 "Formatting files to PSR2" SOLVED
- Formatting files to PSR2
2012-07-11 15:24:11 -04:00
Victor Saisa Lopez
5e6f4ad09b BUG 9291 "Creating user via web services - no option to set..." SOLVED
- Creating user via web services, no option to set expiry date
- Create user via web services, can now be set parameters:
  expiry date and status (in the functions: createUser, WSCreateUser and PMFCreateUser)
- These changes in functions must be documented in the wiki.processmaker.com
2012-07-11 12:52:43 -04:00
Hector Cortez
260458b977 Merge remote branch 'upstream/master' into BUG-5359 2012-07-04 17:19:01 -04:00
Julio Cesar Laura
29036c842e BUG Adjustment for standardization of code SOLVED 2012-07-04 11:33:29 -04:00
Julio Cesar Laura
3f6da015e6 BUGS 9407 and 9411 fixed for release 2.0.42
- Added required validations
2012-07-03 17:35:19 -04:00
Hector Cortez
9b1f2ced57 BUG Adjustment for standardization of code SOLVED 2012-07-02 18:35:54 -04:00
Hector Cortez
43a77c5878 BUG 5359 Trigger wizard should indicate that the return value... SOLVED
- The interface for the Trigger wizard should say that the return value variable is option (not required).
- Adjustment string description and change values "None" by "Not required" of the return value of Trigger wizard.
2012-06-20 17:18:20 -04:00
Hector Cortez
21f000be20 BUG 9087 Procedimientos Almacenado que empiezan con BEGIN ...SOLVED
- Procedimientos Almacenado no funcionan con executeQuery en Triggers.
- Several Adjustments for execution the Queries, CRUDs, Stored Procedures and User Defined Functions in Oracle.
2012-06-12 17:19:07 -04:00
Marco Antonio Nina
fc9690c526 BUG 9094 PMFGenerateOutputDocument() doesn't work for Output Document... SOLVED
- By using the function PMFGenerateOutputDocument was not versioned documents.
- According to the analysis was appropriate to change the $ for SUID for $ outputID as only used for the query to find if the document existed.
2012-05-14 16:20:45 -04:00
Victor Saisa Lopez
bcec188036 BUG 9145 "Text instruction in Trigger Wizard for PMFSendMessage()..." SOLVED
- Text instruction in Trigger Wizard for PMFSendMessage() function is wrong, asks for semicolon instead of coma to separate emails
- Replaced the word "semicolon" with the word "comma"
2012-05-11 12:34:06 -04:00
Marco Antonio Nina
80045f99df BUG 9043 Variable for Case Notes content needed SOLVED
- Se crearon varias funciones para este caso.
- La funcion getCaseNotes en la class.case.php con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se modifico la funcion getNotesList para poder traer las notas por un determinado usuario y por defecto recupera las notas de todos los usuarios.
- en class.pmFunctions.php se creo la funcion PMFGetCaseNotes con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- En class.wsBase.php la funcion getCaseNotes con los parametros applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios, esta funcion nos devuelve un array con los fieds en minuscula.
- En soap2.php getCaseNotes donde se tienen los siguiente parametros: sessionId, se necesita iniciar una session para poder utilizarlo, applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se adiciono la funcion para utilizarlo en SoapServer.
- En wsResponse se creo un nuevo template para la respuesta del webservice wsGetCaseNotesResponse con los campos status_code, message, notes, timestamp.
- En pmos2.wsdl se agregaron los datos necesarios para la salida correcta del webservice.
2012-05-02 09:56:30 -04:00
Victor Saisa Lopez
4b8d867af3 BUG 8984 "PMFNewCaseImpersonate(), WSNewCaseImpersonate() and..." SOLVED
- The PMFNewCaseImpersonate(), WSNewCaseImpersonate() and newCaseImpersonate() web service, do not return the UID and number of the new case like PMFNewCase(), WSNewCase() and newCase()
- It improved the code of the PMFNewCaseImpersonate method, for to returns the UID of case, as PMFNewCase
- It improved the code of the WSNewCaseImpersonate method, for to returns the UID of case, as WSNewCase
- Corrections made in the methods "Simple Trigger Web Services", including the files involved
2012-04-25 17:19:54 -04:00
Victor Saisa Lopez
e92bde8b9e BUG 8985 "Update comments for the PMFDerivateCase field to include..." SOLVED
- The Trigger Wizard doesn't include the fourth parameter $sUserLogged for the PMFDerivateCase() function
- Added in the trigger wizard the fourth parameter $sUserLogged for the PMFDerivateCase() function
2012-04-20 11:06:27 -04:00
Marco Antonio Nina
51977f4504 BUG 7650 Function PMFRedirectToStep didnt work properly SOLVED
- In the triggers do not run properly because it addresses before saving the data
- Data is captured and stored before redirect
2012-03-06 19:17:16 -04:00
Erik Amaru Ortiz
ec9875d537 BUG 8438 8341 " $from parameter for the PMFSendMessage() function .." SOLVED
- Now the user can set from account for PMFSendMessage() function.
2012-02-14 10:32:48 -04:00
Hector Cortez
5433b8f331 BUG 7953 Adjustment in the PMFGetNextAssignedUser function. 2011-11-17 09:37:28 -04:00