adobe / aem-spa-project-archetype

Maven Archetype for creating new AEM SPA projects
Apache License 2.0
61 stars 32 forks source link

[Angular] Authorable component does not refresh automatically when in AEM Edit mode #135

Closed iameduardod closed 4 years ago

iameduardod commented 4 years ago

When creating an angular component and mapped to a corresponding AEM component, per the instructions here, when authoring the component in AEM Edit mode, the author has to refresh the page manually to see the authored changes of that component's dialog.

habansal commented 4 years ago

@emd2013 Can you provide more details about this issue ? I can see the changes on the page after editing the component without any page refresh.

Please provide the exact detailed steps to reproduce the issue.

P.S. : Please check if it is the same issue as https://github.com/adobe/aem-spa-project-archetype/issues/18

iameduardod commented 4 years ago

hey @habansalI the text componet works fine. Issue is with a custom component:

Steps to reproduce:

Current The custom component isn't properly updated with the expected content. Author needs to manually refresh the page to see the changes.

Expected The custom component is properly updated with the expected content. Author should be able to see expected content without refreshing page.

iameduardod commented 4 years ago

@habansal following up

samuelmeuli commented 4 years ago

@emd2013 It's working for me in the WKND Events project (branch angular/chapter-8). Is this issue specific to the archetype? If so, would you be able to provide a sample repo?

samuelmeuli commented 4 years ago

The SPA archetype has been merged into the general AEM archetype. @emd2013, if this problem still occurs, please create a new issue in that repository.