[Vtigercrm-developers] inconsistent html escaping

srihari Tp srihari.tp at vtiger.com
Fri Feb 17 04:20:48 PST 2012


Hi Adam,

 Are you referring to only picklist values? We have tried to reproduce it
with picklist values and noticed in [Mass] Edit -> Save, we get escaped
html entities.But in Detailview edit , we don't get escaped html entities.
We have attached some screen shots. Please review them and let us know
whether you are talking about the same issue.


On Thu, Feb 16, 2012 at 1:04 AM, Adam Heinz <amh at metricwise.net> wrote:

> I just figured out why I'm seeing inconsistent html escaping.  I am
> working on a custom module that generates an XML (SOAP) request
> whenever a quote is saved.  When I do [Mass] Edit -> Save, I get
> escaped html entities.  When I do DetailView -> DetailViewAjax edits,
> I don't get escaped html entities.  It ends up that CRMEntity
> retrieve_entity_info() calls PearDatabase query_result() calls
> to_html() which SOMETIMES calls htmlentities()!  It seems like a
> fairly clear MVC violation to broadly assume that our only response
> format is HTML based on the request.  That said... eesh... what a
> blast radius on this one as well!
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Best Regards,
Srihari,
*vtiger team.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120217/e8b36584/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detailview edit.png
Type: image/png
Size: 62973 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120217/e8b36584/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mass edit.png
Type: image/png
Size: 50209 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120217/e8b36584/attachment-0005.png 


More information about the vtigercrm-developers mailing list