[Geoprisma-dev] Error on update to r913 with QueryOnClick
Yves Moisan
yves.moisan at boreal-is.com
Mon Oct 18 14:29:01 EDT 2010
An unrelated update : r913 (all revisions > 905 IIRC) depends on Ext
3.2.1 which is not bundled in thee 7z/zip archives on Geoprima.org.
Will update.
Yves
> 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
> _______________________________________________
> Geoprisma-dev mailing list
> Geoprisma-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geoprisma-dev
>
More information about the Geoprisma-dev
mailing list