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.

[SOLVED] ContextTyp...
 
Notifications
Clear all

[SOLVED] ContextType

3 Posts
2 Users
0 Reactions
1,545 Views
 M
(@mkavurcic)
Posts: 43
Active Member
Topic starter
 
[#8782]

it is not possible to create new ContextTypes;

to enable I've altered code in ContextType.php:

comment lines 39 and 40:
#public $_noDelete=true;
#public $_noCreate=true;

alter line 53:
private static $_fieldsAttributes=array("name"=>"required", "description"=>"required");

regards


 
Posted : 01 Mar 2023 14H43
 M
(@mkavurcic)
Posts: 43
Active Member
Topic starter
 

just disregard this post - mea culpa - I thought it woud be easy to implement new context types (test cases, tickets), but application logic makes it usesless


 
Posted : 02 Mar 2023 11H01
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Yes, 
Tickets can display only 3 contexts, one of each type, so there is no need to add a contaxt type.
You cvan (and should) only change name of context type to change its meaning.


 
Posted : 02 Mar 2023 11H24
Share:

Scroll to Top