[Geoprisma-dev] Error on update to r913 with QueryOnClick
Yves Moisan
yves.moisan at boreal-is.com
Mon Oct 18 12:32:49 EDT 2010
Hi All,
I have an error since I updated from r805 to r913 :
Fatal error: Uncaught exception 'DOMException' with message 'Invalid
Character Error' in
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\ConfigElement.php:80
Stack trace: #0
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\ConfigElement.php(80):
DOMDocument->createElement('0', 'cg_complaint_id') #1
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\ConfigElement.php(72):
org_geoprisma_ConfigElement->getDomElements(0, 'cg_complaint_id',
Object(DOMDocument)) #2
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\ConfigElement.php(72):
org_geoprisma_ConfigElement->getDomElements('field', Array,
Object(DOMDocument)) #3
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\option\Option.php(103):
org_geoprisma_ConfigElement->getDomElements('displayfields', Array,
Object(DOMDocument)) #4 C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geo
in
C:\Borealis\pnglng\ms4w\Apache\htdocs\gp\lib\geoprisma-r913\src\server\core\org\geoprisma\ConfigElement.php
on line 80
I narrowed down that the issue is with the QueryOnClick, more
specifically the displayFields. Here's the config :
<queryonclick>
<name>QueryOnClick</name>
<options>
<displayfields>
<field>cg_complaint_id</field>
...
<field>lca_daily_report_issue_id</field>
</displayfields>
<dropDownList>true</dropDownList>
<results>
<result>ResultExtGrid</result>
</results>
</options>
</queryonclick>
Looks like this has something to do with
http://trac.osgeo.org/geoprisma/ticket/162. If I comment out the
displayfields I get a blank page.
Pointers appreciated,
Yves
More information about the Geoprisma-dev
mailing list