Hi.
I'm trying this sequence :
I go to ticket page and choose "Add ticket".
In this page, instead of choosing an existing project I try to create a new one opening the dynamic dialog, and add a project.
When I save the project the application goes back to ticket creation form but with a javascript error :
TypeError: _180 is undefined
http://gundam/projeqtor/external/dojo/projeqtorDojo.js?version=V6.0.1
Line 2 col 49069
...0,corner:_181,pos:{x:{"L":x,"R":x+_17d,"M":x+(_17d>>1)}[_180.charAt(1)],y:{"T":y...
--------------------------------------------------------^
Thank you for your attention.
Wery strange use case, but issue confirmed.
Recorded as Ticket #2399
I can now add some more extra information that could be useful to fix the issue.
I fixed ( temporarely) it modifying the function push in projeqtorDojo.js
adding cases "right" and "left" that were not handled. At the moment my version is as follows :
switch(pos){
case "above-centered":
push("TM","BM");
break;
case "below-centered":
push("BM","TM");
break;
case "after-centered":
ltr=!ltr;
case "before-centered":
push(ltr?"ML":"MR",ltr?"MR":"ML");
break;
case "right":
case "after":
ltr=!ltr;
case "left":
case "before":
push(ltr?"TL":"TR",ltr?"TR":"TL");
push(ltr?"BL":"BR",ltr?"BR":"BL");
break;
case "below-alt":ltr=!ltr;
case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;
case "above-alt":ltr=!ltr;
case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;
default:push(pos.aroundCorner,pos.corner);
}
In this way I can avoid the javascript error; but the new project is not accept during current ticket creation,as it is not in combo list.
Hi,
Solution can not be in projeqtorDojo.js : this is a fiel auto-generated from Dojo framework, so may change on each dojo upgrade.
In fact, it is the possibility to create a project from a ticket that should not be allowed : the project must exist before the ticket, and you should have defined corresponding allocations to the project in order to give rights to add tickets on the project. You get this strange use case, I think, because you create tickets with admin profile.
In patch V6.0.2 this possibility has been removed to avoid this issue and improve consistency of the process.
Same way, hability to create a status from ticket has been removed as staut smust exist before being used, and moreover should havr been included in workflow in order ot be used.
Anyway, I think that projeqtorDojo.js bug has to be reported to Dojo group.The possibility to create a Project on-the-fly was useful for me to handle request from customers outside from an existing project; any hint for this ?