Bug 252009

Summary: Kalzium export has Exact Mass in Electron Affinity
Product: [Applications] kalzium Reporter: Nikita Skovoroda <chalkerx>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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