-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKAN installs recommendations even if told otherwise on "Audit recommendations" #2604
Comments
I think it's because I used CKAN/GUI/MainRecommendations.cs Line 339 in 7413c23
This sets CKAN/Core/Relationships/RelationshipResolver.cs Lines 190 to 202 in 7413c23
Normal installation uses this: Lines 122 to 123 in 7413c23
It'd be nice if there was an alternative to |
Ha! I forgot to write something in the issue, added now:
@HebaruSan do you want to add it to your PR or should I/You make a new one? |
I guess my question is, what would be the user intention behind doing that? If they intend to install the change set, I would think they would do that before messing with Audit recommendations. Maybe we should disable the Audit recommendations menu option when there's a change set, similar to how the apply changes button is disabled when there isn't one. That way this scenario wouldn't be possible. |
That's the 3rd option :) |
OK, third option added to the fix PR. We can change it later if someone presents a compelling case. |
Background
CKAN Version:
1.25.4
Operating System:
Linux - Kubuntu 18.04.1
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Nope
Problem
What steps did you take in CKAN?
What did you expect to happen?
After you deselect the recommendation, it shouldn't get installed.
Changeset is saved.
What happened instead?
It was installed, and a recommendation of this recommended mod as well.
Changeset was not saved.
It seems that CKAN skips the recommendation evaluation (recursively) if you go over File > Audit recommendations instead of the Apply Changes button.
Furthermore, the in step 2 install-marked mod is unmarked again, so the changeset is not saved.
I might look myself into this bug tomorrow.HebaruSan was faster.The text was updated successfully, but these errors were encountered: