View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Bad display on opportunity report - ProjeQtOr
 

Bad display on opportunity report

More
26 May 2019 20:00 #1 by bvd
HI,
Since I Upgraded to 8.0.3 (I am now on 8.0.4) when I run an opportunity or a risk report, the page appears with full "div" valides instead of expecteed page.

See in capture.

NB : it is the same with print or export as pdf function.

Regards
Attachments:

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

More
28 May 2019 08:37 - 28 May 2019 08:38 #2 by babynus
Hi,

Which report ?
Can you please give the name of the report ?

NB : for "risks management plan", I cannot reproduce, all works fine...

Babynus
Administrator of ProjeQtOr web site
Attachments:
Last edit: 28 May 2019 08:38 by babynus.

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

More
01 Jun 2019 17:59 #3 by bvd
Hi,
The report is about opportunities plann actual status.

When I display an actual status for risk management, all is OK. The text wich has been entered with the rich editori displays good.

But when I display an actual status for opportunities plan, the tex wich was entered with tich editor displays with coding characters like <div> and so on.

Regards

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

More
01 Jun 2019 18:28 #4 by bvd
HI,

I Solved my issue.

I had to remove "htmlEncode" string in opportunityPlan.php (in report folder) anywhere I saw :

. htmlEncode($opportunity->description)
. htmlEncode($opportunity->impact
. htmlEncode($opportunity->cause

So Yet, the strings are now :

. ($opportunity->description)
. ($opportunity->impact
. ($opportunity->cause

I did this becaus there where no htmlEncode in riskManagementPlan.php in the same lines :

ex : if ($opportunity->description and $opportunity->name!=$opportunity->description) { echo ':<br/>' . ($opportunity->description); }


So problem soved for me.

Can you please check if htlmEncode should or not be present in opportunityPlan.php, and if not, provide a patch next time ?

Thanks in advance,

Boris

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

More
04 Jun 2019 12:21 #5 by babynus
Hi,

You're right.
Risks management was correct, but not opportunity plan.

Your fix is good. Must be completed for $opportunity->result.
Patch will be included in next version

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.060 seconds

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.