Bug 341139 - Version 1.1.1 doesn't save data if confidence levels had been removed from units
Summary: Version 1.1.1 doesn't save data if confidence levels had been removed from units
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: MacPorts macOS
: NOR normal
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 21:57 UTC by Marko Käning
Modified: 2015-01-20 17:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)