Bug 341139

Summary: Version 1.1.1 doesn't save data if confidence levels had been removed from units
Product: [Applications] parley Reporter: Marko Käning <mk-lists>
Component: generalAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: inge
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In:

Description Marko Käning 2014-11-20 21:57:04 UTC
I was running parley's version 1.1.1 (KDE 4.14.1) built on MacPorts/KDE 4.13.3

The application doesn't save the collection confidence data if the current confidence levels had been removed from some (or all) subunits.

Probably the file doesn't get marked dirty after removing the levels.

Reproducible: Always

Steps to Reproduce:
1. Go from dashboard into a unit (having confidence levels set)
2. Remove confidence levels by right-clicking unit and selecting the removal action
3. Levels are shown as cleared in the dialog
4. Click "Dashboard" button
5. Re-enter same unit


Actual Results:  
6. Confidence levels are set as before (i.e. NOT cleared as requested and shown further up)

Expected Results:  
6. Confidence levels should be cleared as requested previously
Comment 1 Inge Wallin 2015-01-18 14:45:41 UTC
This proved to be more difficult to fix than I had thought. The reason is that in the internal structure of the keduvocdocument there is no way to go from a unit to the document itself. Some refactoring is necessary, but I am on it.
Comment 2 Inge Wallin 2015-01-20 09:53:26 UTC
A solution is on the review board.  Hopefully this will be gone tonight.
Comment 3 Inge Wallin 2015-01-20 17:32:27 UTC
Fixed by patching libkdeedu (kde4) and libkeduvocdocument (frameworks 5)