Field show ID <1000000> not the value of reference (table direct, search)

169 views
Skip to first unread message

Ladislav Nagy

unread,
Oct 7, 2015, 2:22:52 AM10/7/15
to iDempiere

Hello,

I've just migrated adempiere 3.6 to idempiere development branch, I've 1 custom documents table + window, which has referecne for AD_Org_ID and C_Bpartner_ID.

This window works fine for a while, but after 1-2 hour it doesn't show value of from referenced tables. <100rec_ID> is showed, but not for all rows but on 99%. cache reset sovle the problem for next hours.

there is nothing special in logs.

Where can be the problem? Any solution?




Carlos Antonio Ruiz Gomez

unread,
Oct 7, 2015, 8:41:30 AM10/7/15
to idem...@googlegroups.com
Hi Ladislav, we have identified the solution to this ticket as the problem:
https://idempiere.atlassian.net/browse/IDEMPIERE-2672

We're having problems to find the exact steps to reproduce - seems like
random issue and that makes it hard to solve it.

Please if somebody can find steps to reproduce.

Regards,

Carlos Ruiz

Ladislav Nagy

unread,
Oct 8, 2015, 4:11:13 AM10/8/15
to iDempiere
Hello Carlos,
after 3 days of testing and cleaning log, rebuilting and run release (no custom plugins just som callouts), the problem stil is there.
(patches from 2672 was applied, but we don't think it is the problem in our case )
We've about 60 organizations, 1 user in all, 1 role with user acces org, 1 client,
the problem happens when just 1-5 users logged in.
the only errors what now is in logs is like

08:15:35.408===========> DesktopImpl.service: [Desktop z_pc:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [39]
08:15:45.998===========> DesktopImpl.service: [Desktop z_ob1:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [27]
08:18:42.551===========> DesktopImpl.service: [Desktop z_nd:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [47]
08:18:46.847===========> DesktopImpl.service: [Desktop z_od:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [47]
08:18:50.215===========> DesktopImpl.service: [Desktop z_pd:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [33]
08:19:12.699===========> DesktopImpl.service: [Desktop z_xgl:/index.zul] client error: Failed to process
script
zkau is not defined (ReferenceError) [29]

Regards, Ladislav

Dňa streda, 7. októbra 2015 14:41:30 UTC+2 Carlos Antonio Ruiz Gómez napísal(-a):

Ladislav Nagy

unread,
Oct 8, 2015, 4:26:13 AM10/8/15
to iDempiere
when the server run to trouble, users are not able to create new record --> the fields are RO, the default organization is not loaded to field. (@#AD_Org_ID).
sometime it happens just when thej going to level 2 tab to create new record. (bpartner location for example)  closing tabs and cache reset solve the problem for a while..



Dňa štvrtok, 8. októbra 2015 10:11:13 UTC+2 Ladislav Nagy napísal(-a):

Ladislav Nagy

unread,
Oct 8, 2015, 8:59:47 AM10/8/15
to iDempiere

the next detection is, that can be some language problem because when i switch between  slovak and english language, the slovak is not working, but the english is OK.In the picture is Role window, and you can see ORG Access tab is show the organization name, but in slovak there is just space - no refresh is working on field.  slovak language works for a while the it breaks. But when I change language to english it is ok, back to slovak and its still broken








Dňa štvrtok, 8. októbra 2015 10:26:13 UTC+2 Ladislav Nagy napísal(-a):

Ladislav Nagy

unread,
Oct 9, 2015, 3:07:18 AM10/9/15
to iDempiere

Hello everybody, we reproduced the problem on test.idempiere.org.

new detections on https://idempiere.atlassian.net/browse/IDEMPIERE-2880,

best regards

Ladislav





Dňa štvrtok, 8. októbra 2015 14:59:47 UTC+2 Ladislav Nagy napísal(-a):

Michal Zilincar

unread,
Oct 9, 2015, 3:52:29 AM10/9/15
to iDempiere
at this moment bug is NOT visible on demo.idempiere.org.
What we have realized during testing, that after 2 hours iDempiere cache expires  and if Admin logins, cache gets correct values.

Ladislav Nagy

unread,
Oct 9, 2015, 6:50:13 AM10/9/15
to iDempiere

I've made a simple test, opened up all orgs, create TEST20 organization, at the save on tam OrgInfo immediatly shows up <1000020>.

after I go to Roles -> GW Admin, chceck orgaccess and the TEST20 Ogr name missing there..






Dňa piatok, 9. októbra 2015 9:52:29 UTC+2 Michal Zilincar napísal(-a):

muriloht

unread,
Oct 9, 2015, 9:07:55 AM10/9/15
to iDempiere
Hi Ladislav,

It's not final solution, but reverting the IDEMPIERE-2672 modifications (attached patch) the issue stoped.

We are trying to find the exact cause of the problem too... 
fillmandatoryerror.patch

Ladislav Nagy

unread,
Oct 9, 2015, 2:06:21 PM10/9/15
to iDempiere
Hello, thank you I was looking on 2672, but this patch is not there.  the first tests was passed, Im goint to put this to release, and let known next veek.


Dňa piatok, 9. októbra 2015 15:07:55 UTC+2 muriloht napísal(-a):

Carlos Antonio Ruiz Gomez

unread,
Oct 10, 2015, 10:48:23 AM10/10/15
to idem...@googlegroups.com
Thanks Murilo, unfortunately reverting is not an option in my case because 2672 solves a security issue.

I'll try to follow steps reported in JIRA, if reproducible can be solved.

Regards,

Carlos Ruiz




On 09/10/15 a las 08:07, muriloht wrote:
Hi Ladislav,

It's not final solution, but reverting the IDEMPIERE-2672 modifications (attached patch) the issue stoped.

We are trying to find the exact cause of the problem too... 




Em sexta-feira, 9 de outubro de 2015 07:50:13 UTC-3, Ladislav Nagy escreveu:

I've made a simple test, opened up all orgs, create TEST20 organization, at the save on tam OrgInfo immediatly shows up <1000020>.

after I go to Roles -> GW Admin, chceck orgaccess and the TEST20 Ogr name missing there..








Dňa piatok, 9. októbra 2015 9:52:29 UTC+2 Michal Zilincar napísal(-a):
at this moment bug is NOT visible on demo.idempiere.org.
What we have realized during testing, that after 2 hours iDempiere cache expires  and if Admin logins, cache gets correct values.
--

Carlos Antonio Ruiz Gómez

unread,
Oct 11, 2015, 2:14:32 PM10/11/15
to iDempiere
Hi, committed
can you please test and provide feedback.

Regards,

Carlos Ruiz

Ladislav Nagy

unread,
Oct 12, 2015, 3:54:51 AM10/12/15
to iDempiere
Hello, this patch works fine, today there is no problem in production version under pressure.



Dňa piatok, 9. októbra 2015 15:07:55 UTC+2 muriloht napísal(-a):
Hi Ladislav,

Ladislav Nagy

unread,
Oct 12, 2015, 3:55:52 AM10/12/15
to iDempiere
Hello, thank you, I'm going to test.

Dňa nedeľa, 11. októbra 2015 20:14:32 UTC+2 Carlos Antonio Ruiz Gómez napísal(-a):
Reply all
Reply to author
Forward
0 new messages