View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Ticket #2399 - Error Creating project inside ticket creation - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Ticket #2399 - Error Creating project inside ticket creation

More
28 Nov 2016 15:57 - 29 Nov 2016 16:59 #1 by antonio.grr
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.
Last edit: 29 Nov 2016 16:59 by protion.

Please Connexion or Create an account to join the conversation.

More
28 Nov 2016 16:27 #2 by babynus
Wery strange use case, but issue confirmed.

Recorded as Ticket #2399

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
29 Nov 2016 08:42 - 29 Nov 2016 09:29 #3 by antonio.grr
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.
Last edit: 29 Nov 2016 09:29 by antonio.grr.

Please Connexion or Create an account to join the conversation.

More
29 Nov 2016 11:23 #4 by babynus
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.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
29 Nov 2016 12:16 - 29 Nov 2016 16:17 #5 by antonio.grr
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 ?
Last edit: 29 Nov 2016 16:17 by antonio.grr.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.043 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.