Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Disabled core packages couldn't be enabled from UI #271

Closed
xeron opened this issue Oct 26, 2014 · 7 comments
Closed

Disabled core packages couldn't be enabled from UI #271

xeron opened this issue Oct 26, 2014 · 7 comments
Assignees
Labels

Comments

@xeron
Copy link

xeron commented Oct 26, 2014

Disabled core packages are missing from installed packages list.

Only way to enable them is to edit config.cson and remove lines from "disabledPackages" array.

This issue affects only core packages. I can't reproduce it with 3rd party ones.

@kevinsawicki
Copy link
Contributor

Do you mean the package isn't showing in the menu on the left hand side of the settings view?

I tried disabling the Archive View package to reproduce, but I still see it in the list there.

Can you share a screenshot of what you are seeing? Thanks.

@xeron
Copy link
Author

xeron commented Oct 28, 2014

Yes this is what I mean.

Steps to reproduce:

  1. Disable any core package (I'm testing with "Git Diff")
  2. Restart Atom
  3. Try to enable this package again using UI

screenshot 2014-10-28 16 14 40

@lee-dohm
Copy link
Contributor

Verified with Atom v0.141.0-7ed6e68 on OS X 10.10 using the autosave package.

@lee-dohm
Copy link
Contributor

It looks like the issue is at:

https://github.com/atom/settings-view/blob/master/lib/settings-view.coffee#L109

Core installed packages don't have a package.json so metadataPath is null.

@kevinsawicki
Copy link
Contributor

@lee-dohm Thanks, that is definitely it.

@kevinsawicki kevinsawicki self-assigned this Oct 29, 2014
@kevinsawicki
Copy link
Contributor

This will be fixed in 0.141, thanks for reporting it.

@xeron
Copy link
Author

xeron commented Oct 29, 2014

Awesome, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants