Skip to content

2.4.2 breaks the no-skin skin #7065

@cboylan

Description

@cboylan

When etherpad is configured with "skinName": "no-skin" the layout of the main etherpad page is broken. Then on pads if more than one browser joins the pad an exception is raised for TypeError: can't access property "find", w is null.

To Reproduce
Steps to reproduce the behavior:

  1. Configure etherpad with "skinName": "no-skin"
  2. Go to the root of the server and notice the broken layout
  3. Visit a pad
  4. In a second browser visit the same pad.
  5. Notice the exception pop up for TypeError: can't access property "find", w is null which seems to happen when attempting to update the pad user count.

Expected behavior
The root page should render properly without problems and pads should be able to update user counts when using the "no-skin" skin.

Screenshots
Image

Image

Server (please complete the following information):

  • Etherpad version: 2.4.2
  • OS: Debian Bookworm
  • Node.js version (node --version): v22.18.0
  • npm version (npm --version): 10.9.3
  • Is the server free of plugins: No ep_headings2 is installed

Desktop (please complete the following information):

  • OS: OpenSUSE Tumbleweed
  • Browser: Firefox 141.0.2 and Chrome 138.0.7204.183

Additional context
I believe that both problems originate in the work to handle recent pad lists. The colibris skin was updated to handle recent pad data but no-skin doesn't appear to have been. The TypeError appears to originate on this line: https://github.com/ether/etherpad-lite/blob/v2.4.2/src/static/js/pad_userlist.ts#L495. Then in 341691d we see that recentPadList appears to only be implemented for colibris. The related commits also update colibris css files but not no-skin. I assume this is why the main root page doesn't render properly anymore as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions