We're updating the issue view to help you get more done. 

React error screen when switching wrangler connections

Description

Using a recent build of the 6.2.0 sandbox, I see an error screen when I switch between Wrangler connections, and sometimes when I delete a workspace. See attached screenshot.

In the browser console, I see:

Release Notes

None

Activity

Show:
Edwin Elia
May 11, 2020, 6:30 PM

Regression came from the update of React Router. There's a bug in react router where the underlying Route component always gets rerendered whenever there is a route change, even if the route doesn't match the current component's route. The fix is to remove the 404 catcher in the component, since the nonexisting route is already handled in the parent (DataPrepConnection) component.

 

Relevant react router issue: https://github.com/ReactTraining/react-router/issues/6362

Edwin Elia
May 11, 2020, 6:31 PM

Validated:

  • GCS Connection

  • BigQuery

  • FileSystem

  • BigQuery going into nested database

  • GCS going into bucket

  • breadcrumb

Fixed

Assignee

Edwin Elia

Reporter

Albert Shau

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Blocker
Configure