BUG 8659 nombre de archivo al exportar versionado de exportacion SOLVED
- Se estaba truncando el nombre del proceso a 30 caracteres - Ahora se esta truncando a 245 caracteres, el maximo comun para nombres de archivo es de 255, los 10 caracteres restantes para la extension y la version - Se agrando un poco el panel donde muestra los links de los archivos .pm y .xpdl
This commit is contained in:
@@ -2376,7 +2376,7 @@ class Processes {
|
||||
if ( !is_dir($path) ) {
|
||||
G::verifyPath($path, true);
|
||||
}
|
||||
$proTitle = (substr(G::inflect($data->process['PRO_TITLE']), 0, 30));
|
||||
$proTitle = (substr(G::inflect($data->process['PRO_TITLE']), 0, 245));
|
||||
$proTitle = preg_replace("/[^A-Za-z0-9_]/", "", $proTitle);
|
||||
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ class Xpdl extends processes
|
||||
if ( !is_dir($path) ) {
|
||||
G::verifyPath($path, true);
|
||||
}
|
||||
$proTitle = (substr(G::inflect($oData->process['PRO_TITLE']), 0, 30));
|
||||
$proTitle = (substr(G::inflect($oData->process['PRO_TITLE']), 0, 245));
|
||||
$proTitle = preg_replace("/[^A-Za-z0-9_]/", "", $proTitle);
|
||||
$index = '';
|
||||
$lastIndex = '';
|
||||
|
||||
@@ -370,7 +370,7 @@ var processmap=function(){
|
||||
this.tmp.exportProcessPanel = panel =new leimnud.module.panel();
|
||||
panel.options={
|
||||
limit :true,
|
||||
size :{w:440,h:230},
|
||||
size :{w:600,h:230},
|
||||
position:{x:50,y:50,center:true},
|
||||
title :G_STRINGS.ID_PROCESSMAP_EXPORT_PROCESS+": "+this.data.db.title.label,
|
||||
theme :this.options.theme,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dynaForm name="processes_Export" type="xmlform" width="400px" labelWidth="100px">
|
||||
<dynaForm name="processes_Export" type="xmlform" width="580px" labelWidth="130px">
|
||||
|
||||
<TITLE type="title">
|
||||
<en>processes Info</en>
|
||||
|
||||
Reference in New Issue
Block a user