openedx / modular-learning

3 stars 1 forks source link

[Tagging] Minor React Errors in Course Authoring MFE #171

Closed bradenmacdonald closed 8 months ago

bradenmacdonald commented 9 months ago

When running the course authoring MFE, errors are seen in the browser console:

http://apps.local.overhang.io:2001/course-authoring/taxonomies/

  1. 
    Failed prop type: The prop `children` is marked as required in `Toast`, but its value is `null`.
    at Toast (webpack-internal:///./node_modules/@edx/paragon/dist/Toast/index.js:77:7)
    at TaxonomyLayout (webpack-internal:///./src/taxonomy/TaxonomyLayout.jsx:29:90)```
  2. 
    Failed prop type: The prop `organizationListData` is marked as required in `OrganizationFilterSelector`, but its value is `undefined`.
    at OrganizationFilterSelector (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:98:5)
    at TaxonomyListPage (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:143:88)```
  3. 
    Failed prop type: The prop `id` is marked as required in `ForwardRef(_c)`, but its value is `undefined`.
    at _c (webpack-internal:///./node_modules/@edx/paragon/dist/Tooltip/index.js:109:7)
    at TaxonomyListHeaderButtons (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:59:88)```
  4. 
    Failed prop type: The prop `id` is marked as required in `ForwardRef(DropdownToggle)`, but its value is `undefined`.
    at DropdownToggle (webpack-internal:///./node_modules/@edx/paragon/dist/Dropdown/index.js:196:7)
    at TaxonomyListHeaderButtons (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:59:88)```
  5. 
    Failed prop type: The prop `columns[4].Header` is marked as required in `DataTable`, but its value is `undefined`.
    at DataTable (webpack-internal:///./node_modules/@edx/paragon/dist/DataTable/index.js:155:7)
    at TaxonomyListPage (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:143:88)```
  6. 
    Failed prop type: The prop `id` is marked as required in `ForwardRef(_c)`, but its value is `undefined`.
    at _c (webpack-internal:///./node_modules/@edx/paragon/dist/Tooltip/index.js:109:7)
    at eval (webpack-internal:///./node_modules/react-overlays/esm/Overlay.js:36:20)
    at Overlay (webpack-internal:///./node_modules/react-bootstrap/esm/Overlay.js:45:22)
    at OverlayTrigger (webpack-internal:///./node_modules/react-bootstrap/esm/OverlayTrigger.js:72:22)
    at OverlayTrigger (webpack-internal:///./node_modules/@edx/paragon/dist/Overlay/index.js:24:157)
    at TaxonomyListHeaderButtons (webpack-internal:///./src/taxonomy/TaxonomyListPage.jsx:59:88)```

Check for other errors/warnings too, e.g. in the tags drawer view.

Errors that are from the StudioHeader or StudioFooter are excluded (ignore them) unless the error is somehow related to the taxonomy views.