Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Cannot add components to placeholder without saving first #141

Closed
jeppeskovsen opened this issue Jan 24, 2019 · 2 comments
Closed

BUG: Cannot add components to placeholder without saving first #141

jeppeskovsen opened this issue Jan 24, 2019 · 2 comments
Assignees
Labels

Comments

@jeppeskovsen
Copy link

Description

In the Experience Editor when I add a component containing a placeholder, and I try to add a component to that, I get this error:
image

To make it work, I have to add the component and save. Then I can add components to it's placeholder. It's like it doesn't register that the component I added contains a placeholder until I save.
Will also mention that my list of allowed controls does not work either, when this error occurs.

Your Environment

  • Sitecore Version: 9.1
  • JSS Version: 11.0.2
@jeppeskovsen jeppeskovsen changed the title Cannot add components to placeholder without saving first BUG: Cannot add components to placeholder without saving first Jan 24, 2019
@aweber1
Copy link
Contributor

aweber1 commented Jan 29, 2019

Just noting that I was able to reproduce this with Sitecore 9.1.0 and JSS 11.0.2.

Reproduction steps:

  • In content editor, in a JSS app, create a new item/route using JSS App Route template.
  • Edit item in Experience Editor
  • Add Styleguide-Layout component to Main placeholder (don't save)
  • Add new ContentBlock component to jss-styleguide-layout placeholder
    • Create new ContentBlock datasource item
  • Experience Editor should pop an alert An error occurred.
  • Browser dev console shows the same as the screenshot provided earlier in the thread.

@sc-dawidrutkowski sc-dawidrutkowski self-assigned this Sep 5, 2019
vsirakova added a commit to vsirakova/jss that referenced this issue Mar 12, 2020
…before adding new renderings into freshly rendered placeholders
vsirakova added a commit to vsirakova/jss that referenced this issue Mar 12, 2020
…before adding new renderings into freshly rendered placeholders
sc-illiakovalenko pushed a commit that referenced this issue May 20, 2020
…dding new renderings into freshly rendered placeholders (#343)
@sc-illiakovalenko
Copy link
Contributor

@jeppeskovsen Fixed in #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants