Bug 362956

Summary: Copying partition into another partition returns an error
Product: [Applications] partitionmanager Reporter: Andrius Štikonas <andrius>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrius Štikonas 2016-05-11 20:08:36 UTC
Copying partition into another partition returns an error due to wrong block device

Reproducible: Always

Steps to Reproduce:
1. create partition 1
2. create partition 2
3. copy partition 1 into partition 2.

It tries to copy to /dev/sdb instead of /dev/sdb2

Actual Results:  
File system check fails
Comment 1 Andrius Štikonas 2016-05-19 11:13:17 UTC
Git commit 96eaf6abae7d53bde02316bb550f6b6154456a98 by Andrius Štikonas.
Committed on 19/05/2016 at 11:11.
Pushed by stikonas into branch 'master'.

Fix overwriting partitions.

M  +1    -1    src/ops/copyoperation.cpp

http://commits.kde.org/kpmcore/96eaf6abae7d53bde02316bb550f6b6154456a98