Import fails if single quote is in a probe description

Bug #531552 reported by Daniel Bültmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openWNS Wrowser
Fix Committed
Undecided
Ramin Rezai Rad

Bug Description

The importing of probes fails if the probe description contains a single quote.
It seems like the SQL queries are poorly escaped.

This also clarifies why PDF probes were not imported to the database, as we discussed offline.

03.03.10 20:17:08 - Reading all PDF probes in: /scratch/dbn/lteUMSN5VoIPSimpleFixedPhy/20595
03.03.10 20:17:08 - Writing to database: traffic.generator.packet.loss
03.03.10 20:17:08 - Probe import for simId 20595 failed (Exception caught: syntax error at or near "s"
LINE 1: ...ffic.generator.packet.loss_Node8_PDF', 'Generator's packet l...

Regards,
  Daniel

Changed in openwns-wrowser:
status: New → Confirmed
assignee: nobody → Klaus Sambale (ksw-comnets)
Changed in openwns-wrowser:
milestone: none → 0.9
Changed in openwns-wrowser:
assignee: Klaus Sambale (ksw-comnets) → Ramin Rezai Rad (rrr-comnets)
Changed in openwns-wrowser:
milestone: 0.9 → 1.0beta1
Changed in openwns-wrowser:
status: Confirmed → In Progress
Changed in openwns-wrowser:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.