apostrophe icon indicating copy to clipboard operation
apostrophe copied to clipboard

self.manager.edit is not a function

Open jansensan opened this issue 4 years ago • 6 comments

To Reproduce

Step by step instructions to reproduce the behavior:

  1. Have a custom piece (current case)

  2. Have another custom piece that uses that piece (current case)

  3. When editing the consuming piece in the modal, click on the "Edit" button

image
  1. An error is thrown in the console: self.manager.edit is not a function.
image

Expected behavior

  • No error should be thrown
  • If it does occur, the red toaster should probably appear in the notification area

Describe the bug

A clear and concise description of what the bug is.

Details

Version of Node.js: v12.19.1

Version of ApostropheCMS: v2.113.3

Server Operating System: macOS Catalina and also prod server (Linux, details TBC)

jansensan avatar Jan 24 '21 15:01 jansensan

Did you resolved the issue or find a workaround ?

wetfire2k avatar May 04 '22 09:05 wetfire2k

We haven't had an opportunity to dig into this one. Does it result in a loss of functionality?

boutell avatar May 09 '22 12:05 boutell

At the time it prevented the user from actually editing that piece. I haven't had time to check back on that in a while, will try soon hopefully.

Basically, this is when we are selecting a piece from another. The main path to go edit the piece would still work, it's just that in this flow the edit button is present, but editing would not work.

jansensan avatar Jun 07 '22 21:06 jansensan

I tried to find a fix but I didn't understand what's wrong.

wetfire2k avatar Jun 12 '22 19:06 wetfire2k

https://user-images.githubusercontent.com/1410355/174499512-e9a43b6d-8de5-4bc6-b72e-4a441057cd85.mp4

jansensan avatar Jun 19 '22 20:06 jansensan

I made a short screen capture of when this occurs. Apos UI visible at ~15-20s, error at ~25s.

jansensan avatar Jun 19 '22 20:06 jansensan