Forum

Bad display on oppo...
 
Notifications
Clear all

Bad display on opportunity report

5 Posts
2 Users
0 Reactions
2,567 Views
(@bvd)
Posts: 124
Active Member
Topic starter
 
[#6010]

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


 
Posted : 26 May 2019 22H00
(@babynus)
Posts: 14952
Member Admin
 

Hi,

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

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


 
Posted : 28 May 2019 10H37
(@bvd)
Posts: 124
Active Member
Topic starter
 

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

and so on.

Regards


 
Posted : 01 Jun 2019 19H59
(@bvd)
Posts: 124
Active Member
Topic starter
 

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 ':
' . ($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


 
Posted : 01 Jun 2019 20H28
(@babynus)
Posts: 14952
Member Admin
 

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


 
Posted : 04 Jun 2019 14H21
Share:

Scroll to Top