question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessing read-only Pads ... sometimes ... returns an ID that cannot be accessed

See original GitHub issue

Describe the bug We had a couple of pads where we used the API call getReadOnlyID to get the read-only version of the pads. This did work - in most cases. For some pads (I’d guess about 10-15 %) the read-only pad could not be opened. grafik (translates to “access denied”)

When we used getPadID with these read-only ID that did not work, we got the error padID does not exist. grafik

We also tried with those pads to get the read-only ID via the “share” button. This did return the same readOnlyID that we got from the API call.

To Reproduce Steps to reproduce the behavior:

  1. Create a Pad
  2. Click on ‘share read only’
  3. open this read-only pad
  4. If you don’t get the error message process with step 1 using a different pad name 😉

Expected behavior Well, the read-only ID should be valid in all cases. 😉

Server (please complete the following information):

  • Etherpad version: 1.8.13
  • OS: Ubuntu 20.04.2
  • Node.js version (node --version): v14.16.1
  • npm version (npm --version): 6.14.12

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rhansencommented, Sep 17, 2021

The changes discussed above are now in PR #5106.

0reactions
ptandlercommented, Nov 16, 2021

PR #5106 is still open, so this shouldn’t be closed yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

create an etherpad for x minutes and after x minutes the same ...
When someone access the pad after the 40 minutes, you can provide access to the pad with read only pad id. You can...
Read more >
TypeError: "x" is read-only - JavaScript - MDN Web Docs
The JavaScript strict mode-only exception "is read-only" occurs when a global variable or object property that was assigned to is a read-only property....
Read more >
Generic USB redirection and client drive considerations
An application requires direct access to the device as a USB device. The USB device only has a Windows driver available.
Read more >
MySQL 8.0 Reference Manual :: 5.1.8 Server System Variables
This read-only value serves as a unique build ID, and is written into the ... cannot decrypt or verify content using their normal...
Read more >
window.location Cheatsheet | SamanthaMing.com
The window.location returns a Location object. Which gives you information about the current location of the page. But you can also access the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found