ProjeQtOr free project management software - Bad display on opportunity report - ProjeQtOr
 

Bad display on opportunity report

More
26 Mai 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 Connexion or Create an account to join the conversation.

More
28 Mai 2019 08:37 - 28 Mai 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 Mai 2019 08:38 by babynus.

Please Connexion or Create an account to join the conversation.

More
01 Jui 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 Connexion or Create an account to join the conversation.

More
01 Jui 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 Connexion or Create an account to join the conversation.

More
04 Jui 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.089 seconds