Skip to content

open displays a spurious error dialog after opening App Store.app #217

@phatblat

Description

@phatblat

Describe the bug

Using the mas open command works to open the app store app, but an error dialog always appears a few seconds later.

To Reproduce

  1. Run mas open with no appID
  2. Observe the app store app open
  3. Observe "Loading" spinner in center of
  4. See error dialog saying "

Expected behavior

The app store app opens to the "★ Discover" tab.

Actual behavior

An error dialog appears after a few seconds with the following message:

Cannot Connect to App Store
[Retry] [OK]

Screenshots

This is the dialog that appears after a few seconds.

screen shot 2019-02-04 at 2 11 10 pm

Desktop (please complete the following information)

  • mas version 1.6.22
  • macOS version: 10.14.3
  • How did you install mas? built from source

Additional context

Using the mas open appstore command behaves the same.

Note that clicking a link such as macappstore:// (or running the open macappstore:// command in Terminal) does the same thing. This seems to be the current behavior of the MAS GUI app on Mojave. Perhaps there is a specific host or path that needs to be added to the URL to indicate the desired landing page and prevent this message.

Also, the macappstore://showUpdatesPage URL (discovered on an OS X Daily post) successfully opens the MAS GUI app to the "⬇ Updates" tab without error.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions