Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Context of a ticket...
 
Notifications
Clear all

Context of a ticket : How does it works ?

13 Posts
3 Users
0 Reactions
6,321 Views
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 
[#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

 
Posted : 21 Jan 2019 16H24
babynus
(@babynus)
Posts: 14953
Main Contributor 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


 
Posted : 22 Jan 2019 18H00
Paul Ghobril
(@envergus)
Posts: 46
Active 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.


 
Posted : 23 Jan 2019 10H38
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

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

 
Posted : 23 Jan 2019 10H44
Paul Ghobril
(@envergus)
Posts: 46
Active Member
 

Hi dnaton

you can comment the lines in ContextType.php:

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

till we get the feedback from Babynus


 
Posted : 23 Jan 2019 10H48
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

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

 
Posted : 23 Jan 2019 16H29
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

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

 
Posted : 23 Jan 2019 20H04
Paul Ghobril
(@envergus)
Posts: 46
Active Member
 

Try clearing the browser cache


 
Posted : 23 Jan 2019 20H44
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

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

 
Posted : 24 Jan 2019 13H00
Paul Ghobril
(@envergus)
Posts: 46
Active Member
 

before commenting the two lines:

after commenting:

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


 
Posted : 24 Jan 2019 13H18
Paul Ghobril
(@envergus)
Posts: 46
Active Member
 

Ah ok I've seen your previous screenshot

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


 
Posted : 24 Jan 2019 13H48
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

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

 
Posted : 24 Jan 2019 16H25
babynus
(@babynus)
Posts: 14953
Main Contributor 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".


 
Posted : 25 Jan 2019 16H12
Share:

Scroll to Top