Before:
public function getTitle($col) {
return i18n('col'.$col);
}
After:
public function getTitle($col) {
return i18n('col'.ucfirst($col));
}
See the difference by moving your mouse over environment lists on TestCase, for example.
Before: [colidContext1]
After: environment
By the way, is it possible to have a specific "title" language element? I mean, use i18n('title'.ucfirst($col)) instead of i18n('col'.ucfirst($col)). Our new users doesn't know very well the application so it would be very useful to have a longer description of the field (instead of just the name) so they can see what to do with the field by moving their mouse over (without having to open the documentation every time). If it is too much work for you, maybe you can just add them for the fields with "title" attribute (I think there are only titleIdContext1, titleIdContext2, titleIdContext3). What do you think?
Last edit: 09 Jul 2015 14:54 by papjul. Reason: Resolved
You're right there is a issue.
Your fix is a good start but is not complete.
It seems to work unless you change context type values.
Try and change context type values, then compare result on Ticket and on Test Case...
To get correct values, you'll have to copy the getTitle() function from TicketMain.php to TestCaseMain.php.
This fix will be included in patch V5.0.2.
Anyway thanks a lot for reporting the issue and proposing a fix.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
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
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.