Skip to content

Warnings in developer console #2302

@maxceem

Description

@maxceem

There are several warnings in browser console. Not something critical, but probably can find some time to clean them up.

  1. Page http://local.topcoder-dev.com:3000/projects

    warning.js:33 Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `GridView`. See https://fb.me/react-warning-keys for more information.
     in Placeholder (created by GridView)
     in GridView (created by ProjectsGridView)
     in div (created by ProjectsGridView)
     in ProjectsGridView (created by branch(ProjectsGridView))
     in branch(ProjectsGridView) (created by branch(branch(ProjectsGridView)))
     in branch(branch(ProjectsGridView)) (created by Projects)
     in div (created by Projects)
     in section (created by Projects)
     in div (created by Projects)
     in Projects (created by Connect(Projects))
     in Connect(Projects) (created by Route)
     in Route (created by withRouter(Connect(Projects)))
     in withRouter(Connect(Projects)) (created by AuthenticatedComponent)
     in div (created by AuthenticatedComponent)
     in AuthenticatedComponent (created by Route)
     in Route (created by withRouter(AuthenticatedComponent))
     in withRouter(AuthenticatedComponent) (created by Route)
     in div (created by Layout)
     in div (created by Layout)
     in Layout (created by Layout)
     in Layout (created by Connect(Layout))
     in Connect(Layout) (created by App)
     in App (created by Route)
     in Route (created by Route)
     in Switch (created by Route)
     in Route
     in Switch (created by Routes)
     in Routes (created by Route)
     in Route (created by withRouter(Routes))
     in withRouter(Routes)
     in Router (created by BrowserRouter)
     in BrowserRouter
     in GatewayProvider
     in Provider
     in AppContainer
    
  2. Page http://local.topcoder-dev.com:3000/projects/6706/plan
    This warning actually because of not correct development backend data. Probably it should just stay as it's higlights the valid issue.

    Warning: Failed prop type: The prop `members[0].handle` is marked as required in `TeamManagement`, but its value is `undefined`.
    in TeamManagement (created by Uncontrolled(TeamManagement))
    in Uncontrolled(TeamManagement) (created by TeamManagementContainer)
    in div (created by TeamManagementContainer)
    in TeamManagementContainer (created by Connect(TeamManagementContainer))
    in Connect(TeamManagementContainer) (created by Route)
    in Route (created by withRouter(Connect(TeamManagementContainer)))
    in withRouter(Connect(TeamManagementContainer)) (created by ProjectInfoContainer)
    in div (created by ProjectInfoContainer)
    in div (created by ProjectInfoContainer)
    in ProjectInfoContainer (created by Connect(ProjectInfoContainer))
    in Connect(ProjectInfoContainer) (created by ProjectPlanContainer)
    in div (created by Sticky)
    in div (created by Sticky)
    in Sticky (created by MediaQuery)
    in MediaQuery (created by ProjectPlanContainer)
    in aside (created by Unknown)
    in Unknown (created by ProjectPlanContainer)
    in div (created by TwoColsLayout)
    in TwoColsLayout (created by ProjectPlanContainer)
    in ProjectPlanContainer (created by Connect(ProjectPlanContainer))
    in Connect(ProjectPlanContainer) (created by Route)
    in div (created by ProjectDetailView)
    in ProjectDetailView (created by branch(ProjectDetailView))
    in branch(ProjectDetailView) (created by branch(branch(ProjectDetailView)))
    in branch(branch(ProjectDetailView)) (created by ProjectDetail)
    in ProjectDetail (created by Connect(ProjectDetail))
    in Connect(ProjectDetail) (created by Route)
    in Route (created by withRouter(Connect(ProjectDetail)))
    in withRouter(Connect(ProjectDetail)) (created by Route)
    in Route
    in Switch
    in div (created by ProjectViewLayout)
    in ProjectViewLayout (created by AuthenticatedComponent)
    in div (created by AuthenticatedComponent)
    in AuthenticatedComponent (created by Route)
    in Route (created by withRouter(AuthenticatedComponent))
    in withRouter(AuthenticatedComponent) (created by withProps(withRouter(AuthenticatedComponent)))
    in withProps(withRouter(AuthenticatedComponent)) (created by Route)
    in div (created by Layout)
    in div (created by Layout)
    in Layout (created by Layout)
    in Layout (created by Connect(Layout))
    in Connect(Layout) (created by App)
    in App (created by Route)
    in Route (created by Route)
    in Switch (created by Route)
    in Route
    in Switch (created by Routes)
    in Routes (created by Route)
    in Route (created by withRouter(Routes))
    in withRouter(Routes)
    in Router (created by BrowserRouter)
    in BrowserRouter
    in GatewayProvider
    in Provider
    in AppContainer
    
  3. Page http://local.topcoder-dev.com:3000/projects/6706/plan

    Warning: `value` prop on `input` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.
    in input (created by TextInput)
    in div (created by TextInput)
    in TextInput (created by Formsy(TextInput))
    in Formsy(TextInput) (created by EditStageForm)
    in div (created by EditStageForm)
    in div (created by EditStageForm)
    in form (created by Formsy)
    in Formsy (created by EditStageForm)
    in div (created by EditStageForm)
    in div (created by EditStageForm)
    in EditStageForm (created by Connect(EditStageForm))
    in Connect(EditStageForm) (created by Route)
    in Route (created by withRouter(Connect(EditStageForm)))
    in withRouter(Connect(EditStageForm)) (created by MediaQuery)
    in div (created by MediaQuery)
    in div (created by MediaQuery)
    in MediaQuery (created by PhaseCard)
    in div (created by PhaseCard)
    in PhaseCard (created by Connect(PhaseCard))
    in Connect(PhaseCard) (created by ProjectStage)
    in ProjectStage (created by Uncontrolled(ProjectStage))
    in Uncontrolled(ProjectStage) (created by PhaseFeedContainer)
    in PhaseFeedContainer (created by Connect(PhaseFeedContainer))
    in Connect(PhaseFeedContainer) (created by ProjectStages)
    in section (created by Section)
    in Section (created by ProjectStages)
    in ProjectStages (created by Route)
    in Route (created by withRouter(ProjectStages))
    in withRouter(ProjectStages) (created by ProjectPlanContainer)
    in div (created by Unknown)
    in div (created by Unknown)
    in Unknown (created by ProjectPlanContainer)
    in div (created by TwoColsLayout)
    in TwoColsLayout (created by ProjectPlanContainer)
    in ProjectPlanContainer (created by Connect(ProjectPlanContainer))
    in Connect(ProjectPlanContainer) (created by Route)
    in div (created by ProjectDetailView)
    in ProjectDetailView (created by branch(ProjectDetailView))
    in branch(ProjectDetailView) (created by branch(branch(ProjectDetailView)))
    in branch(branch(ProjectDetailView)) (created by ProjectDetail)
    in ProjectDetail (created by Connect(ProjectDetail))
    in Connect(ProjectDetail) (created by Route)
    in Route (created by withRouter(Connect(ProjectDetail)))
    in withRouter(Connect(ProjectDetail)) (created by Route)
    in Route
    in Switch
    in div (created by ProjectViewLayout)
    in ProjectViewLayout (created by AuthenticatedComponent)
    in div (created by AuthenticatedComponent)
    in AuthenticatedComponent (created by Route)
    in Route (created by withRouter(AuthenticatedComponent))
    in withRouter(AuthenticatedComponent) (created by withProps(withRouter(AuthenticatedComponent)))
    in withProps(withRouter(AuthenticatedComponent)) (created by Route)
    in div (created by Layout)
    in div (created by Layout)
    in Layout (created by Layout)
    in Layout (created by Connect(Layout))
    in Connect(Layout) (created by App)
    in App (created by Route)
    in Route (created by Route)
    in Switch (created by Route)
    in Route
    in Switch (created by Routes)
    in Routes (created by Route)
    in Route (created by withRouter(Routes))
    in withRouter(Routes)
    in Router (created by BrowserRouter)
    in BrowserRouter
    in GatewayProvider
    in Provider
    in AppContainer
    
  4. Open http://local.topcoder-dev.com:3000/projects/6706/plan and after switch to http://local.topcoder-dev.com:3000/projects/6706/scope there will be several warning depend on the quanity of phases:

    Warning: Formsy: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
    

    As the reponsible code in another repository, I've listed a separate issue there Warning: Formsy: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks. topcoder-platform/react-components#290

Aha! Link: https://topcoder.aha.io/features/TCCONNECT-289

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions