Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C Categories management plugin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PeerTube
  • Categories management plugin
  • Issues
  • #6

Closed
Open
Created Nov 22, 2021 by Johan Dufour@lutangarOwner

Instance config may reference un-existent categories

Symptoms

About page doesn't show up and console display the following error message:

core.js:6479 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'label')
TypeError: Cannot read properties of undefined (reading 'label')
    at instance.service.ts:86

ex: https://tube-maternelle.apps.education.fr/about

Cause

A PeerTube instance may be associated with one or many categories. Config may still reference categories which were deleted afterward.

Workaround

  1. Go to instance config page: https://tube-test.apps.education.fr/admin/config/edit-custom#instance-information

  2. Delete referenced categories.

  3. Save changes.

Resolution

Find a way to remove the related instance category when the category is deleted

Edited Nov 22, 2021 by Johan Dufour
Assignee
Assign to
Time tracking