ProjeQtOr free project management software - Since upgrade to 6.0.7, some notes lost their "formatting" - Page 2 - ProjeQtOr
 

Since upgrade to 6.0.7, some notes lost their "formatting"

More
31 Jan 2017 14:47 #7 by babynus
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 ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
31 Jan 2017 15:30 #8 by climb4fun
Here two screenshots: one of notes and another on description.
It's the same in IE and in FF.

Attachments:

Please Log in or Create an account to join the conversation.

More
31 Jan 2017 23:43 - 31 Jan 2017 23:44 #9 by babynus
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)=='<div>' or substr($test,0,4)=='<ul>' or substr($test,0,4)=='<ol>') {
		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.

Babynus
Administrator of ProjeQtOr web site
Last edit: 31 Jan 2017 23:44 by babynus.
The following user(s) said Thank You: climb4fun

Please Log in or Create an account to join the conversation.

More
01 Feb 2017 07:07 #10 by climb4fun
Workaround confirmed working.

Thanks Babynus.

Klaus

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.054 seconds