Commit Graph

11 Commits

Author SHA1 Message Date
jennylee
98b138d5be BUG-15087 User Owner Field is Erased.
Problem:
Case 1: The same user 'A', creates and imports the process, using the option: "Update the current process...".

 Result: The user that created the process, user A in the example, is allways the User Owner of the process.

Case 2: User 'A' creates the process, and user 'B' imports the process, using the option: "Update the current process...".

 Result: The user that created the process, user A in the example, is allways the User Owner of the process.

Case 3: User 'A' creates the process, then this user 'A' is deleted, and user 'B' imports the process, using the option: "Update the current process...".

 Result: The User Owner is showed empty.

 Razon: When the user 'A' (the one that created the process) is deleted, the delete is only logical not physical in the db, and it is updated with the Status 'CLOSED' and the username of this user is changed to an empty string " ". So, when the process is updated the username is copy like it is in the db, and copy into the User Owner field, showing the empty string " ".

Solution:
A validation was added asking if the user exist, if this dosen't the User Owner is changed to the current user logged, and the same if the user exist but his status is CLOSED.
2014-06-05 16:15:49 -04:00
jennylee
af1030236d BUG 11846 Al importar un proceso PM siempre debe tomar al usuario actual como Process Owner.
Cuando se importaba un proceso que fue creado en el mismo servidor, pero eliminado y del cual el usuario que lo creo fue tambien eliminado, PM aun importaba el proceso con el nombre del usuario q lo creo como Process Owner, aunq este ya no existiera, ya que al ser la eliminacion de usuarios solo un borrado logico, aun este usuario estaba registrado en la BD y podia ser asignado.

Ahora PM asigna por defecto a todos los procesos que se importan el usuario actual como Process Owner.
2013-07-12 12:10:14 -04:00
Julio Cesar Laura
64e518fb49 Doc System, change hardcoded labels 2013-03-14 15:15:04 -04:00
Marco Antonio Nina
13fdae14fe BUG 10410: Error al exportar un proceso que tiene grupos asignados... SOLVED
- No has changes the uid of user in permissions..
- Was add valitadation.
2013-01-17 12:18:45 -04:00
jennylee
b9cbaa695d BUG-7987 When importing a process which is created by a user that does not exist, the 'Process Owner' column shows empty.
I added a validation in file 'workflow/engine/methods/processes/processes_Import_Ajax.php' to change PROCESS.PRO_CREATE_USER value in the database to the current user.
2012-12-05 16:13:08 -04:00
jennylee
e1c36895b1 BUG-7987 When importing a process which is created by a user that does not exist, the 'Process Owner' column shows empty.
I added a validation in file 'workflow/engine/methods/processes/processes_Import_Ajax.php' to change PROCESS.PRO_CREATE_USER value in the database to the current user.
2012-12-05 15:14:17 -04:00
Fernando Ontiveros
d0806cfe65 CODE STYLE removing the xpdl class and related files 2012-10-17 13:43:05 -04:00
jennylee
27ac82a803 CODE STYLE
workflow/engine/methods/processes/process_Delete.php
workflow/engine/methods/processes/processes_DeleteObjectPermission.php
workflow/engine/methods/processes/processes_doUpload.php
workflow/engine/methods/processes/processes_DownloadFile.php
workflow/engine/methods/processes/processes_DownloadFileXpdl.php
workflow/engine/methods/processes/processes_checkProperties.php
workflow/engine/methods/processes/processes_Export.php
workflow/engine/methods/processes/processes_GetFile.php
workflow/engine/methods/processes/processes_Import.php
workflow/engine/methods/processes/processes_Import_Ajax.php
2012-10-17 12:03:40 -04:00
Julio Cesar Laura
029b8542fd BUG 9846 fallo en importacion de proceso SOLVED
- Se ha detectado que el archivo encargado de la importacióstaba usando short tags de PHP
- Se ha cambiado el short tag a un tag estandar de php
- Como workaround para otras versiones se debe habilitar el uso de short tags en el php.ini
2012-09-27 11:23:47 -04:00
Victor Saisa Lopez
68509275f3 BUG 9649 "Uso de palabras reservadas en la creacion de PM Tables." SOLVED
- In the creation/editing of PMTables/ReportTables, not validated the
  use of reserved words
- It has validated the use of keywords in the creation/editing of
  PMTables/ReportTables
- It has been validated using reserved words to importing a process with
  ReportTables (old version)
* Available from version 2.0.44
2012-09-04 12:40:47 -04:00
Hector Cortez
8a3936c46b BUG 9098 Migrate Import Process to ExtJS SOLVED
- Migrate Import Process in Desiggner to ExtJS (from master branch).
- Import Process ExtJS migrated from the master branch.
2012-05-02 18:17:17 -04:00