PM-1635 "PM-1635 y PM-1154" SOLVED
Issue:
- PM-1635: No debe estar disponible la importacion de diagramas con extension .bpmn en ProcessMaker 2.9
- PM-1154: When importing a .pmx (PM 3) process into PM 2.8 Community, it opens the new BPMN designer
Cause:
Ninguna
Solution:
Se a agregado validacion de la siguiente manera:
- Si la version es >= 3 entonces se aceptan archivos con la extension ----> .pm, .pmx, .bpmn
- Si la version es < 3 entonces se aceptan archivos con la extension ----> .pm
This commit is contained in:
@@ -1213,7 +1213,7 @@ importProcess = function()
|
||||
handler : function(){
|
||||
var arrayMatch = [];
|
||||
|
||||
if ((arrayMatch = eval("/^.+\.(pm|pmx|bpmn)$/i").exec(Ext.getCmp("form-file").getValue()))) {
|
||||
if ((arrayMatch = eval("/^.+\.(" + arrayPmFileExtension.join("|") + ")$/i").exec(Ext.getCmp("form-file").getValue()))) {
|
||||
var fileExtension = arrayMatch[1];
|
||||
|
||||
switch (fileExtension) {
|
||||
|
||||
Reference in New Issue
Block a user