Bug 252009 - Kalzium export has Exact Mass in Electron Affinity
Summary: Kalzium export has Exact Mass in Electron Affinity
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 07:46 UTC by Nikita Skovoroda
Modified: 2010-09-22 19:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Skovoroda 2010-09-22 07:46:57 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Kalzium 2.3.80

Reproducible: Always

Steps to Reproduce:
Open export.
Select some atoms (for example, Hydrogen), select to export all data.
Select any format (i checked html, xml). Press enter.

Actual Results:  
…
Exact Mass  1.007825032
Ionization  13,5984 kJ/mol
Electron Affinity  1.007825032
…

Expected Results:  
…
Exact Mass  1.007825032
Ionization  13,5984 kJ/mol
Electron Affinity  0,754204 eV
…

In UI, everything is fine. Something is wrong with export.
Comment 1 Nikita Skovoroda 2010-09-22 07:51:27 UTC
http://websvn.kde.org/trunk/KDE/kdeedu/kalzium/src/exportdialog.cpp?view=markup

126: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Exact Mass" ), ChemicalDataObject::exactMass ) );
127: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Ionization" ), ChemicalDataObject::ionization ) );
128: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Electron Affinity" ), ChemicalDataObject::exactMass ) );
Comment 2 Etienne 2010-09-22 19:03:34 UTC
SVN commit 1178300 by erebetez:

Exact Mass was linked to Electron Affinity in the exportdialog.
Thanks Nikita Skovoroda for reporting the bug;)
BUG: 252009

 M  +1 -1      exportdialog.cpp  


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