GonzaloTorreras / HubSpot-Developer-Extension

A Chrome Extension for HubSpot Developers
https://chrome.google.com/webstore/detail/hubspot-developer-extensi/gebemkdecnlgbcanplbgdpcffpdnfdfo
33 stars 26 forks source link

Developer Menu does not render properly if Default Homepage setting changed #235

Closed MarkLopresto closed 3 years ago

MarkLopresto commented 4 years ago

Describe the bug Links in Developer menu are no longer resolving properly. When inspected, the link seems to be doubling protocol and domain name.

To Reproduce Steps to reproduce the behavior:

  1. Go to Portal
  2. Click on Developer dropdown
  3. Hover or click on any menu item
  4. See error

Expected behavior Link to resolve to page

Screenshots

Screenshot 2020-04-24 19 42 40

Desktop (please complete the following information):

Additional context The Content Settings link works, but resolves with warning about problem loading account name setting.

MarkLopresto commented 4 years ago

Update: I discovered this issue only occurs if changing your Default Home Page, in Basic info, to anything other than Dashboards.

TheWebTech commented 4 years ago

Yep this is confirmed, had a second report of this exact same situation Screen Shot 2020-06-05 at 10 28 03 AM

TheWebTech commented 4 years ago

Related code: https://github.com/TheWebTech/HubSpot-Developer-Extension/blob/7e6588f8f3ed595a122c784af4e1243c858ede5b/design-manager.js#L262-L314