Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49702

JTable produces a console warning

    XMLWordPrintable

Details

    • Blue Ocean 1.5 - beta 2

    Description

      https://github.com/jenkinsci/blueocean-plugin/blob/b16ea72cc449c44478e696930c1a078bff727906/jenkins-design-language/src/js/components/jtable/JTable.jsx#L136

      is causing:

      Warning: Unknown prop `columns` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
          in div (created by JTable)
          in JTable (created by PlaceholderTable)
          in div (created by PlaceholderTable)
          in PlaceholderTable (created by DashboardPlaceholder)
          in div (created by DashboardPlaceholder)
          in DashboardPlaceholder (created by CJOCTeams)
          in article (created by CJOCPage)
          in main (created by CJOCPage)
          in div (created by Page)
          in Page (created by CJOCPage)
          in CJOCPage (created by CJOCTeams)
          in CJOCTeams (created by CJOCTeamsWrapper)
          in div (created by CJOCTeamsWrapper)
          in CJOCTeamsWrapper (created by Unknown)
          in Unknown
      

      Testing notes:

      Needs manual testing on e.g. storybook jtable story and see whether the above error is not present anymore.

      Attachments

        Activity

          tscherler Thorsten Scherler created issue -
          tscherler Thorsten Scherler made changes -
          Field Original Value New Value
          Assignee Thorsten Scherler [ tscherler ]
          tscherler Thorsten Scherler made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tscherler Thorsten Scherler made changes -
          Description https://github.com/jenkinsci/blueocean-plugin/blob/b16ea72cc449c44478e696930c1a078bff727906/jenkins-design-language/src/js/components/jtable/JTable.jsx#L136

          is causing:

          {code}
          Warning: Unknown prop `columns` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
              in div (created by JTable)
              in JTable (created by PlaceholderTable)
              in div (created by PlaceholderTable)
              in PlaceholderTable (created by DashboardPlaceholder)
              in div (created by DashboardPlaceholder)
              in DashboardPlaceholder (created by CJOCTeams)
              in article (created by CJOCPage)
              in main (created by CJOCPage)
              in div (created by Page)
              in Page (created by CJOCPage)
              in CJOCPage (created by CJOCTeams)
              in CJOCTeams (created by CJOCTeamsWrapper)
              in div (created by CJOCTeamsWrapper)
              in CJOCTeamsWrapper (created by Unknown)
              in Unknown
          {code}

           !Screenshot_2018-02-22_20-02-56.png|thumbnail!
          https://github.com/jenkinsci/blueocean-plugin/blob/b16ea72cc449c44478e696930c1a078bff727906/jenkins-design-language/src/js/components/jtable/JTable.jsx#L136

          is causing:

          {code}
          Warning: Unknown prop `columns` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
              in div (created by JTable)
              in JTable (created by PlaceholderTable)
              in div (created by PlaceholderTable)
              in PlaceholderTable (created by DashboardPlaceholder)
              in div (created by DashboardPlaceholder)
              in DashboardPlaceholder (created by CJOCTeams)
              in article (created by CJOCPage)
              in main (created by CJOCPage)
              in div (created by Page)
              in Page (created by CJOCPage)
              in CJOCPage (created by CJOCTeams)
              in CJOCTeams (created by CJOCTeamsWrapper)
              in div (created by CJOCTeamsWrapper)
              in CJOCTeamsWrapper (created by Unknown)
              in Unknown
          {code}

           !Screenshot_2018-02-22_20-02-56.png|thumbnail!

          Testing notes:

          Needs manual testing on e.g. storybook jtable story and see whether the above error is not present anymore.
          tscherler Thorsten Scherler made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          vivek Vivek Pandey added a comment - Fixed in https://github.com/jenkinsci/blueocean-plugin/pull/1687 . Thanks tscherler !
          vivek Vivek Pandey made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          vivek Vivek Pandey made changes -
          Sprint Blue Ocean 1.5 - beta 2 [ 481 ]
          jbriden Jenn Briden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            tscherler Thorsten Scherler
            tscherler Thorsten Scherler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: