Skip to content

Commit

Permalink
Merge pull request #639 from yast/incompatible_modules
Browse files Browse the repository at this point in the history
Fixed crash when selecting incompatible modules/extensions (bsc#1210668)
  • Loading branch information
lslezak committed May 5, 2023
2 parents 6e577b0 + a421e83 commit 62a900a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 5 08:34:49 UTC 2023 - Ladislav Slezák <lslezak@suse.com>

- Fixed crash when selecting incompatible modules/extensions from
the Full medium in SLED (bsc#1210668)
- 4.5.17

-------------------------------------------------------------------
Mon Feb 20 14:25:37 UTC 2023 - Ladislav Slezák <lslezak@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.5.16
Version: 4.5.17
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/lib/y2packager/dialogs/addon_selector.rb
Expand Up @@ -152,7 +152,7 @@ def select_dependent_products
new_items.each do |p|
# the dependencies contain also the transitive (indirect) dependencies,
# we do not need to recursively evaluate the list
selected_items.concat(p&.depends_on)
selected_items.concat(p&.depends_on || [])
end

selected_items.uniq!
Expand Down

0 comments on commit 62a900a

Please sign in to comment.