Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
[bug] works only in debug mode
Community
›
Forums
›
Technology & Integration
[bug] works only in debug mode
New Post
New Post
Luís Soares
Posted on 2007-04-26
Luís Soares
Rank: #5322
Posted on 2007-04-26
Hello,
I found a possible bug that stopped my work.
I have an action "action A" which returns a Structure with several fields.
One of those fields is a record list, and its always filled with null values!
(but with the correct size!)
However, in DEBUG mode and with a breakpoint in action A, this list is
successfully filled.
SS v.4.0.1.28
hub server is on a remote virtual machine.
Thank you.
Rui Eugénio
Posted on 2007-05-02
Rui Eugénio
Rank: #653
Posted on 2007-05-02
Solution
Hello,
From your description, it seems the problem is in the action itself and not the execute action like you described.
Is the record list of the output structure being filled from the values of a simple query?
If so try, as a workarround, try to add this to the description of the query:
#assert fields all
Hope this helps.
Rui Eugénio
Solution
Luís Soares
Posted on 2007-05-02
Luís Soares
Rank: #5322
Posted on 2007-05-02
Solution
Hi,
"From your description, it seems the problem is in the action itself and not the execute action like you described."
But that way it wouldn't work *only* in debug mode as it worked.
"Is the record list of the output structure being filled from the values of a simple query?"
Yes.
"If so try, as a workarround, try to add this to the description of the query:
#assert fields all"
I tried that and it works now! :)
Using both debug and run modes.
Thank you very much!
Solution
Luís Soares
Posted on 2007-05-03
Luís Soares
Rank: #5322
Posted on 2007-05-03
Solution
Well,
It seems this solution was temporary, since it works only in a random way
which I'm not getting the pattern :(
Solution
Rui Eugénio
Posted on 2007-05-03
Rui Eugénio
Rank: #653
Posted on 2007-05-03
Solution
Hello,
When you insert that comment did a warning started to show up?
If so, the problem is related to query optimization and is the reason why it works when debuging. When debuging an eSpace no query optimizations are done.
There was a previous bug when doing an assign from a query to a output variable of an action, which seens to me that is your case?
What version of Hub Server are you using?
Cheers,
Rui Eugénio
Solution
Luís Soares
Posted on 2007-05-03
Luís Soares
Rank: #5322
Posted on 2007-05-03
Solution
Hello,
"When you insert that comment did a warning started to show up?"
Yes, something like: "forcing SQL to assert..." (only when publishing, not running)
"What version of Hub Server are you using?"
HubServer v. 4.0.1.8
Thanks
Solution
Rui Eugénio
Posted on 2007-05-03
Rui Eugénio
Rank: #653
Posted on 2007-05-03
Solution
Hello,
As I suspect this is an old bug that as been resolved already. If you can, please upgrade your version of hub server.
As a workaround, you can try to pass the output record list in a seasion variable for example.
Cheers,
Rui Eugénio
Solution
Luís Soares
Posted on 2007-05-03
Luís Soares
Rank: #5322
Posted on 2007-05-03
Solution
Thanks! I will update the server then.
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...