Bug 208040 - Error when entering shares information
Summary: Error when entering shares information
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 02:29 UTC by gumper1034
Modified: 2009-09-24 23:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Trace report (171.16 KB, text/plain)
2009-09-22 02:23 UTC, gumper1034
Details
Screen shot before selecting "Add" (28.27 KB, image/png)
2009-09-22 02:24 UTC, gumper1034
Details
Snapshot of units page (15.70 KB, image/png)
2009-09-23 02:43 UTC, gumper1034
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gumper1034 2009-09-21 02:29:27 UTC
Version:           0.5.1_beta (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

When adding information using the "Purchase/Sell Shares" tab, after hitting the "Add" button I received the following message and the operation is not created.

[ERR-5]: Operation creation failed
[ERR-8]: No object returned in [v_unit] for [id=0]
Comment 1 Stephane MANKOWSKI 2009-09-21 09:32:56 UTC
Hi,

I am not able to reproduce the problem.
Could you help me by doing this ?

1- export SKGTRACE=20
2- skrooge --nofork > trace.txt
3- attach trace.txt here.

Could you attach a screen capture of the "Purchase/Sell Shares" tab before clicking on Add to understand how you did ?

Thank you for your help.
Comment 2 gumper1034 2009-09-22 02:23:38 UTC
Created attachment 37105 [details]
Trace report
Comment 3 gumper1034 2009-09-22 02:24:49 UTC
Created attachment 37106 [details]
Screen shot before selecting "Add"
Comment 4 gumper1034 2009-09-23 02:40:56 UTC
I stumbled across what is causing the above errors that I reported. It appears that I didn't have a value entered for the "Reference Unit" on the Units page. See attached snapshot.

Sorry for the false alarm!
Comment 5 gumper1034 2009-09-23 02:43:19 UTC
Created attachment 37117 [details]
Snapshot of units page
Comment 6 Guillaume DE BURE 2009-09-23 11:24:52 UTC
Thanks for reporting back ! Closing the bug.
Comment 7 Stephane MANKOWSKI 2009-09-23 12:37:04 UTC
I keep this incident because I think that we can generate a better error message.
Comment 8 Stephane MANKOWSKI 2009-09-23 20:57:38 UTC
Even without values on unit, this problem is not reproduced on 0.5.2.
I close this incident.
Comment 9 Stephane MANKOWSKI 2009-09-24 23:19:22 UTC
SVN commit 1027833 by smankowski:

BUG: 208040: Error when entering shares information 

 M  +1 -0      CHANGELOG  
 M  +8 -2      skgbasegui/skgdateedit.cpp  
 M  +2 -2      skgbasegui/skgdateedit.h  
 M  +6 -0      skrooge_operation/skgoperationpluginwidget.cpp  
 M  +3 -3      skrooge_operation/skgoperationpluginwidget_base.ui  
 M  +7 -2      skrooge_scheduled/skgscheduledpluginwidget_base.ui  
 M  +2 -2      skrooge_unit/skgunitpluginwidget_base.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1027833