spartacus
4th December 2008, 10:53
we have got a strange behavior with the import from a field-variable wich is executed in a zoom.from.all-section (we are on ERP5c).
- we use "start.session()" to start the child modeless
- in the child wie do in a zoom.from.all something like:
import("abpur204.rqno",zoom.var)
1. I think that works for some days without problem
2. Debugging the code I found that it works somtimes, but sometimes there is a "ZZZZZZ" fild into "zoom.var", while in the calling process abpur204.rqno in the parent contains the right value, just a number (but the domain is a string). Without debugger it seems to work not at all. With "message()" I checked, that there is always a "ZZZZZZ" filled in.
2. Using in the calling process an other external variable like:
myvar = abpur204.rqno
start.session(...)
it works!!!!
3. Execute the import in "before.program" it works also with abpur204.rqno
I never noticed that there is a problem with the import of field-variables in "zoom.from.all" till now. I think there has to be an other problem???
- we use "start.session()" to start the child modeless
- in the child wie do in a zoom.from.all something like:
import("abpur204.rqno",zoom.var)
1. I think that works for some days without problem
2. Debugging the code I found that it works somtimes, but sometimes there is a "ZZZZZZ" fild into "zoom.var", while in the calling process abpur204.rqno in the parent contains the right value, just a number (but the domain is a string). Without debugger it seems to work not at all. With "message()" I checked, that there is always a "ZZZZZZ" filled in.
2. Using in the calling process an other external variable like:
myvar = abpur204.rqno
start.session(...)
it works!!!!
3. Execute the import in "before.program" it works also with abpur204.rqno
I never noticed that there is a problem with the import of field-variables in "zoom.from.all" till now. I think there has to be an other problem???