Recommendations with virtual dependencies don't appear in GUI #2268
Labels
Bug
Something is not working as intended
GUI
Issues affecting the interactive GUI
Relationships
Issues affecting depends, recommends, etc.
Background
CKAN Version:
1.22.6 and current HEAD
KSP Version:
1.3.1
Operating System:
Windows 7, Windows 10
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Problem
What steps did you take in CKAN?
What did you expect to happen?
Scatterer should appear in the list of recommended mods to install
What happened instead?
Other recommendations appear, but Scatterer doesn't.
Screenshots:
CKAN error codes (if applicable):
I instrumented the code with various exception handlers in
Main.GetShowableMods
:That function turns off handling of virtual mods and turns on consistency checks:
CKAN/GUI/MainInstall.cs
Lines 410 to 417 in dfd03d7
Then when it does a consistency check, it discovers that Scatterer has unsatisfied dependencies, since they're virtual, and the
InconsistentKraken
makes it skip to the next recommendation:CKAN/GUI/MainInstall.cs
Lines 423 to 438 in dfd03d7
Scatterer's metadata isn't actually invalid, so it should be possible for another mod to recommend it.
Thanks to @Sigma88 for reporting this via forum PM.
The text was updated successfully, but these errors were encountered: