latest version breaks autopilot-qt
Bug #1144448 reported by
Michael Zanetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Invalid
|
Critical
|
Unassigned | ||
Autopilot Qt Support |
Fix Released
|
Critical
|
Unassigned | ||
XPathSelect |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
The latest update to xpathselect breaks autopilot-qt.
The issue is that the root node is created by reading the application name (which always has been that way) which can contain spaces. This hasn't been an issue so far, but only starts failing all the test with the latest upgrade of xpathselect.
Related branches
lp:~thomir-deactivatedaccount/autopilot-qt/fix-for-1144448
- PS Jenkins bot: Approve (continuous-integration)
- Michael Zanetti (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifieddriver/rootnode.cpp (+1/-1)
lp:~mzanetti/autopilot-qt/workaround-xpathselect
- Mathieu Trudel-Lapierre (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Thomi Richards: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifieddriver/rootnode.cpp (+1/-1)
Changed in xpathselect: | |
status: | New → In Progress |
Changed in autopilot-qt: | |
status: | Confirmed → Fix Committed |
Changed in autopilot: | |
importance: | Undecided → Critical |
assignee: | nobody → Thomi Richards (thomir) |
Changed in autopilot-qt: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Michael,
This is indeed a change in behavior between the xpathselect versions, but only because the new version actually enforces node naming rules.
I looked in to the possibility of allowing spaces in nodes, but it makes the grammar much much more complicated - it introduces many edge cases that need to be explicitly caught in xpathsleect grammar.
Since this is really only a problem for the root node, I suggest the best place to plug this is in autopilot-qt itself. Perhaps for the root node you can translate "App Name" to "App_Name" or "AppName"?