Needs review
Project:
Ubercart EDI
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 May 2012 at 15:32 UTC
Updated:
28 May 2012 at 15:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
deggertsen commentedI found a similar issue for views export that might be adapted to work here. Can somebody help me figure out how though? I'm not too good with PHP.
http://drupal.org/node/897830
Comment #2
deggertsen commentedI have set a bounty on this issue. Thanks for any help.
http://drupal.org/node/1595258
Comment #3
WorldFallz commentedI'm not able to create a patch at the moment, but there's a simple way you might be able to fix this:
change line 572 of uc_edi.module from:
to
Comment #4
jvizcarrondo commentedI just made a patch, this should work to restore only & and not other html entities removed by check_plain function.
Juan
Comment #5
fulgent commentedHello
The above patch is not valid for uc_edi 6.x-1.0 version.
It is only apply for new development version uc_edi 6.x-1.x-dev.
So I have attached two files respective for their proble:
uc_edi 6.x-1.0 : uc_edi.patch
uc_edi 6.x-1.x-dev : uc_edi-default.tpl.php_.txt (Please put this file into your theme folder /sites/all/themes/
/uc_edi-default.tpl.php) rename it to uc_edi-default.tpl.php
Thanks
Comment #6
deggertsen commentedThanks for the fast response everyone. Currently testing and will get back to you. Don't know who I should pay assuming these options work...
Comment #7
fulgent commentedPatch is also the right method But tpl is the more drupal standard way that is better then to patch because When you will to update module(Currently this is in the dev environment) in future, do not worries about patch and tpl is in your theme folder so it will not effect while you will update your uc_edi module.
Comment #8
deggertsen commentedI was able to fix the problem using a mixture of what was given above. I simply added the htmlspecialchars_decode function in my tpl.php file to all the variables that we were having issues with.
It would be nice to apply a more permanent solution to the module so that it is not necessary to do this, but for now this works. I will wait until a maintainer to see the issue and decide if it is something that should be fixed in the module before marking this as fixed.
Thanks for everyone's help.
Comment #8.0
deggertsen commentedhaha, ampersand code output character. added code tags to fix this.