Forum

Context of a ticket...
 
Notifications
Retirer tout

Context of a ticket : How does it works ?

13 Posts
3 Utilisateurs
0 Reactions
6,320 Vu
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 
[#5698]

Hello,

I want to know how works the fields "Context" in the ticket screen.

By default, Ther is 3 fields, corresponding to environment, OS and browser.

what I'm looking for :

* is it possible to modify the lists of each context ? If yes, where is it possible ?
* is it possible to modify the name of one of theses three contexts.

If I take a look in Parameters/Lis of types, I see type of context but I can't create a new (and can't modify thoses which exist) and I don't see where are the value for each context.

Thanks for your help 🙂


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 21/01/2019 4:24 pm
(@babynus)
Posts: 14952
Membre Admin
 

* is it possible to modify the lists of each context ? If yes, where is it possible ?

Yes, in Environmental parameters / Context

* is it possible to modify the name of one of theses three contexts.

Yes, Parameters / List of Types / Context types


 
Posté : 22/01/2019 6:00 pm
Paul Ghobril
(@envergus)
Posts: 46
Trusted Member
 

Hi Babynus,
The problem is in these two lines in ContextType.php:
public $_noDelete=true;
public $_noCreate=true;

I don't know what is the purpose of these lines and if this persists in new versions.


 
Posté : 23/01/2019 10:38 am
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 

Is it possible to modify the name of one of theses three contexts ?.

Yes, Parameters / List of Types / Context types

In fact, not in my case : I don't have the capability to modify the name of the context : the field is grey 🙁


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 23/01/2019 10:44 am
Paul Ghobril
(@envergus)
Posts: 46
Trusted Member
 

Hi dnaton

you can comment the lines in ContextType.php:

public $_noDelete=true;
public $_noCreate=true;

till we get the feedback from Babynus


 
Posté : 23/01/2019 10:48 am
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 

Thanks 🙂


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 23/01/2019 4:29 pm
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 

Hello,

I've modify the two lines but the result is the same 🙁 (ContextTyp.php in directory "Model")

I have made sometihing wrong ?


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 23/01/2019 8:04 pm
Paul Ghobril
(@envergus)
Posts: 46
Trusted Member
 

Try clearing the browser cache


 
Posté : 23/01/2019 8:44 pm
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 

Done yesterday...but same result 🙁

Fields are grey and can not be modified (and the icons "+" and "save" are grey too


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 24/01/2019 1:00 pm
Paul Ghobril
(@envergus)
Posts: 46
Trusted Member
 

before commenting the two lines:

after commenting:

Could you send a screenshot on how the fields are gray. I don't see it


 
Posté : 24/01/2019 1:18 pm
Paul Ghobril
(@envergus)
Posts: 46
Trusted Member
 

Ah ok I've seen your previous screenshot

check the Access Rights to Contexts Type (it must be write not readonly)


 
Posté : 24/01/2019 1:48 pm
Damien
(@dnaton)
Posts: 248
Reputable Member
Début du sujet
 

Yessss 🙂

It was the only one access right put in "read Only" :silly:

Thanks


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posté : 24/01/2019 4:25 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

You must not comment

public $_noDelete=true;
public $_noCreate=true;

This is important : you must now create new context types, nor delete existing.
The screen is designed for 3 context types, and 3 only.
Adding new of deleting existing will generate issue.
To hide one, just ckeck "closed".


 
Posté : 25/01/2019 4:12 pm
Share:
Retour en haut