Hello,
I updated ProjeqTor from 6.0.5 to 6.0.7 one hour ago.
When I return in my projects, activities, tickets.... (all screen which have a field "notes"), somenotes lost their formatting 🙁
If I create a new notes, sometime the formatting is take into account, sometimes no
If I try to modify a note which lost her formatting, it works sometimes, and sometimes not 🙁
And one another thing special : when I input text, the cursor "jump" sometime to another line !!!!
The field "Description seems to be not concerned,
Has someone th same problem ? How can I retrieve the good "formatting)
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
Hello Dnaton ,
I have reproduced your test case and it is possible that this is an anomaly , i have the same problem.
Anomaly recorded as Ticket #2520.
Thanks.
Roll back to 6.0.5 : it's not possible to work (for me) in this situation
- Too many old notes and description ave lost their formatting and are no more readeable
- re formatting can sometime be applied, and sometime not
- CK Editor has a really special behavior (cursor jump from a line to another, from a position to another and erase part of my text
- New notes (but other fields like description) take formatting into account and sometime no
- ....
It's wiser to wait for the patch (in my situation in any case)
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
Try and replace in tool/projeqtor.php, lines 2816:2882 from
function isTextFieldHtmlFormatted($val) {
if (strtolower(substr($val,0,5))=='' and strtolower(substr(rtrim($val,"rn"),-6))=='') {
return true;
} else {
return false;
}
}
to
function isTextFieldHtmlFormatted($val) {
$test=strtolower(substr(ltrim($val),0,10));
if (substr($test,0,5)=='' or substr($test,0,4)=='' or substr($test,0,4)=='') {
return true;
} else {
return false;
}
}
Posté : 26/01/2017 10:34 am
Hello Babynus
It works fine : all formatting are again here 🙂 and correctly apply if I create new note.
For the other problem (cursor that jump from one to other line, or erase what I type), I think I have found the problem : plugin ADBLOCK is reponsible, and specialy the Easyprivacy List :blink:
Why, I don't still know but the problem source is identified : I have desactived this list and all works fine now.
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
Hi Babynus,
I made upgrade to V6.0.8 today. The issue describe in this ticket below, still exists. In V. 6.0.5 it format's correct. I didn't try your workaround so far.
Regards,
Klaus
Hi,
The workaround is included in V6.0.8.
But it may be uncomplete.
Can you please post some exemples of texts that are not correctly taken into account ?
Quick fix could be to replace lines 2876:2883 in /tool.projeqtor.php
from
function isTextFieldHtmlFormatted($val) {
$test=strtolower(substr(ltrim($val),0,10));
if (substr($test,0,5)=='' or substr($test,0,4)=='' or substr($test,0,4)=='') {
return true;
} else {
return false;
}
}
to
function isTextFieldHtmlFormatted($val) {
$test=strtolower(substr(ltrim($val),0,10));
if (substr($test,0,1)=='<') {
return true;
} else {
return false;
}
}
This will work if all your users use Rich Text Editors.
But if some use some plain text editor, this may be lead to isses., but possibily less serious than present one.
Posté : 01/02/2017 1:43 am
Workaround confirmed working.
Thanks Babynus.
Klaus


