udfs looses value after a exeption is thrown by a script

Discuss problems installing or using TrackStudio.

Postby Die-Planer » Thu Nov 12, 2009 4:40 pm


We tested this Version and the problems ist partly solved.

When the trigger script throws an exception, the values are restored to their former values and the message description is still there. So no resets to default values anymore. That's good and we thank you so far.

But, the changes made in those fields while creating a message are lost. For example, when I add 20 lines of text to a blob field and a script throws an exception on submit, they're lost.

From my point of view (beeing a programmer and barely knowing your code), it seems that you're just loading the values from the task again when an exception occurs. I think the values have to be stored temporary (some Map tempUdfValues) and only written into the object when the script succeeded. But only suggesting here :)

Speaking of code...
We have some small adjustements to make in the code - So when could we expect the source code of this version to be available?
We can't use this version on our live system without these adjustements.
Die-Planer
 
Posts: 16
Joined: Mon Oct 13, 2008 10:38 am

Postby admin » Thu Nov 19, 2009 11:42 am

Going to release .63 next few days, after you confirm that it works fine - we'll release it officialy with source code.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 6519
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby admin » Tue Nov 24, 2009 4:27 pm

admin wrote:Going to release .63 next few days, after you confirm that it works fine - we'll release it officialy with source code.


Please try this one
SA + JRE for Windows: http://www.trackstudio.com/tse-35/Track ... th_jre.exe
SA + JRE for Linux: http://www.trackstudio.com/tse-35/Track ... jre.tar.gz
SA for Windows: http://www.trackstudio.com/tse-35/Track ... indows.exe
SA for UNIX: http://www.trackstudio.com/tse-35/Track ... nix.tar.gz
WAR: http://www.trackstudio.com/tse-35/TrackStudio_3563.zip
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 6519
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby Die-Planer » Thu Dec 10, 2009 3:23 pm

admin wrote:Please try this one
WAR: http://www.trackstudio.com/tse-35/TrackStudio_3563.zip


We could finally put in on our test server and try it. And - It works! :)
Thanks for fixing it.

We are looking forward to the release of this version and its source code.
Die-Planer
 
Posts: 16
Joined: Mon Oct 13, 2008 10:38 am

Postby admin » Thu Dec 24, 2009 4:55 pm

Done! Please try 3.5.68
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 6519
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Previous

Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 0 guests