Bug 1540165 - [modularity] info prints incorrect messages for locked modules
Summary: [modularity] info prints incorrect messages for locked modules
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2018-01-30 12:09 UTC by Eva Mrakova
Modified: 2018-07-25 06:30 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-25 06:30:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eva Mrakova 2018-01-30 12:09:33 UTC
Description of problem:
when there are multiple streams of a module and one of them is locked, 
'dnf module info' for non-locked streams prints incorrect output

Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
1. create two streams of a module (e.g. ModuleA:f26, f27)
2. enable and lock one of them (e.g. f26)
3. run info for non-locked one: 
   dnf module info ModuleA:f27

Actual results:
# dnf module list ModuleA    
<snip>
Name            Stream          Version         Profiles                        
ModuleA         f26 [e]         2 [l]           client [i], default, ...        
ModuleA         f27             1               client, default, ...            
# dnf module info ModuleA:f27
<snip>
'ModuleA:f27' is locked to version: 2
Error: No such module: ModuleA:f27

Expected results:
info for ModuleA:f27 is printed correctly

Comment 2 Fedora End Of Life 2018-02-20 15:32:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 4 Martin Hatina 2018-07-25 06:30:47 UTC
Locking of modules was dropped.


Note You need to log in before you can comment on or make changes to this bug.