QWebElement fails to append/set/prepend a string (QString or Python string) if there is an ampersand (&) in the string data

Bug #1198346 reported by Matthew Carpenter on 2013-07-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Undecided
Unassigned

Bug Description

13.04 is where this functionality broken. I've been using an application that does some pretty spectacular graphing/visualization using QtWebKit by inserting DIV's and modifying them using appendInside().
12.04 and 12.10 do not exhibit this problem.

I'm not certain if this is a problem with QT 4.8.4 (12.10 uses 4.8.3) or if this is a problem with python-qt4 4.10.0 (12.10 uses 4.9.3).
If I filter all the & characters before appendInsert-ing them, all works well (but layout is atrocious without the use of  ).

If I create a QString, I can get the data into the QString, but appendInsert( QString ) still doesn't work.

Did libqt4 code include a new filter or something else that breaks with "&" symbols?

Basically, if I allow the code to do QWebElement.appendInside("something with a & symbol") it's like I never called appendInside at all. Nothing changes.

Help?

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-qt4 4.10-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Fri Jul 5 17:37:43 2013
InstallationDate: Installed on 2013-06-24 (11 days ago)
InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: python-qt4
UpgradeStatus: No upgrade log present (probably fresh install)

Matthew Carpenter (matt-eisgr) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers