[Geoprisma-dev] Error on update to r913 with QueryOnClick
Alexandre Dube
adube at mapgears.com
Mon Oct 18 13:39:07 EDT 2010
Hi,
Which sample is showing the issue ?
Also, 'displayfields' is not a supported option of the queryonclick
widget and should be removed from any config :
http://www.geoprisma.org/dist/build/html/widgets/list/QueryOnClick.html#mandatory-options
http://www.geoprisma.org/dist/build/html/widgets/list/QueryOnClick.html#optional-options
Regards,
Alexandre
On 10-10-18 12:32 PM, Yves Moisan wrote:
> 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
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Geoprisma-dev
mailing list