I have an empty field (ex.: customer).
I click on "Search/View item" button.
I see "preparing view", but no list are displayed.
So, I see the number of items to "1" in the header window (see : attachment).
I add a second customer and I have the same issue.
I test it with Firefox and Chrome.
I flushed the cache and I use admin user.
No error in the log. Just this trace.
2015-06-30 08:47:32.154 ..... SCRIPT .... 10.0.2.2 /projeqtor/view/comboSearch.php
2015-06-30 08:47:32.156 ..... SCRIPT .... 10.0.2.2 Page=comboSearch.php
2015-06-30 08:47:32.180 ..... SCRIPT .... 10.0.2.2 ->/view/comboSearch.php
2015-06-30 08:47:32.189 ..... SCRIPT .... 10.0.2.2 ->/view/objectList.php
2015-06-30 08:47:32.195 ..... SCRIPT .... 10.0.2.2 ->/tool/displayFiletrList.php
2015-06-30 08:47:33.221 ..... SCRIPT .... 10.0.2.2 /projeqtor/tool/jsonQuery.php
2015-06-30 08:47:33.223 ..... SCRIPT .... 10.0.2.2 Page=jsonQuery.php
2015-06-30 08:47:33.248 ..... SCRIPT .... 10.0.2.2 ->/tool/jsonQuery.php
Hi Richard,
I cannot reproduce.
Which OS / Browser / Version are you using ?
Could you please check for errors in the browser console ?
Is the list of customers correctly displayed on customer screen ?
I use Ubuntu OS.
I have no Apache error.
FireFox 38 :
GET /projeqtor/tool/jsonQuery.php?objectClass=Client&comboDetail=true HTTP/1.1" 200 148 "http://localhost:4568/projeqtor/view/comboSearch.php?objectClass=Client&mode=search" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
Chrome 43
"GET /projeqtor/view/comboSearch.php?objectClass=Client&mode=search HTTP/1.1" 200 3450 "http://localhost:4568/projeqtor/view/main.php" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
Can you try directly to go to url : /projeqtor/tool/jsonQuery.php?objectClass=Client&comboDetail=true
(must be done on new tab, with exiting tab already connected to the application)
Response is :
{"identifier":"id", "items":[{"id":"000002","name":"Customer 2","nameClientType":"","clientCode":"","paymentDelay":"","tax":"","idle":"0"},{"id":"000001","name":"Customer","nameClientType":"business prospect","clientCode":"","paymentDelay":"","tax":"","idle":"0"}] }
Response is correct.
So there must be a browser error.
Please check browser console.
What you first displayed looks like result of network tab.
Be sure to check console tab.
You should at least have traces like
=> 858ms | page='objectMain.php' | destination='centerDiv'
In web console :
L'utilisation d'XMLHttpRequest de façon synchrone sur le fil d'exécution principal est obsolète à cause de son impact négatif sur la navigation de l'utilisateur final. Consulter http://xhr.spec.whatwg.org/ pour plus d'informations. dojo.js:15:0
L'encodage de caractères d'un document dans un cadre n'a pas été déclaré. Le document peut apparaître différent s'il est visionné sans le document qui l'encadre. comboSearch.php
"dojo/parser::parse() error" TypeError: dijit.byId(...) is undefined
Trace de la pile :
anonymous@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116 line 15 > Function:2:4
_50c/</_512@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:137219
.cache["dijit/_Widget"]/</_10e2<._onShow@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:662093
_277@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:59358
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._onShow@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:275275
_277@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:59358
.cache["dijit/layout/ContentPane"]/</<._onShow@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:450540
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._layout@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:274122
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._scheduleLayout@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:273932
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<.resize@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:273842
size@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:456157
.cache["dijit/layout/utils"]/</_bbe.layoutChildren/<@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:457728
.cache["dojo/_base/array"]/</_4af.forEach@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:125806
.cache["dijit/layout/utils"]/</_bbe.layoutChildren@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:456920
.cache["dijit/layout/BorderContainer"]/</_d24<._layoutChildren@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:515911
.cache["dijit/layout/BorderContainer"]/</_d24<.layout@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:514864
.cache["dijit/layout/_LayoutWidget"]/</<.resize@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:359885
_277@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:59358
.cache["dijit/layout/BorderContainer"]/</_d24<.resize@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:515560
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._layoutChildren@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:274633
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._layout@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:274442
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<._onShow@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:275226
_277@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:59358
.cache["dijit/layout/ContentPane"]/</<._onShow@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:450540
.cache["dijit/layout/_ContentPaneResizeMixin"]/</<.startup@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:273268
_277@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:59358
.cache["dijit/layout/ContentPane"]/</<.startup@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:448686
_333/<@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:113128
.cache["dojo/_base/array"]/</_4af.forEach@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:125806
_333@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:113042
.cache["dojo/Deferred"]/</_3e7@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:106231
.cache["dojo/Deferred"]/</_3e6/_3f4.then@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:108125
.cache["dojo/parser"]/</_31d._instantiate@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:113178
.cache["dojo/parser"]/</_31d.parse/p<@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:120799
.cache["dojo/Deferred"]/</_3e7@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:106231
.cache["dojo/Deferred"]/</_3e6/_3f4.then@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:108125
.cache["dojo/parser"]/</_31d.parse@ http://localhost:4568/projeqtor/external/dojo/projeqtorDojo.js?version=V5.0.1.0116:15:120700
.cache["dojo/_base/lang"]/</lang.hitch/<@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:92229
.cache["dojo/ready"]/</_4fa@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:135092
_346@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:88324
.cache["dojo/domReady"]/</_348@ http://localhost:4568/projeqtor/external/dojo/dojo.js?version=V5.0.1.0116:15:88519
projeqtorDojo.js:15:120915
L'utilisation de « getAttributeNode() » est obsolète. Utiliser « getAttribute() » à la place.
So there is a javascript error.
Issue is that it is an Dojo internal error, and I cannot guess where it comes from.
Reported error is "dijit.byId(...) is undefined" but this function is part of dojo core...
Maybe some previious issue prohibits correct load of dojo modules.
Could you please try and disconnect and test again with console open from the stat, and report every issue pointed out.
Thanks.
