Closed RF0 closed 4 years ago
I have done some testing on different machines, and I have reproduced it on mac and windows. This problem actually only appears when vhost is enabled on the server. F.x. if i enter the following in the com.enonic.xp.web.vhost.cfg file, the problem gets back, but disappears when i set enabled = false. Is this expected behavior?
enabled = true
mapping.test.host = localhost mapping.test.source = / mapping.test.target = / mapping.test.userStore = system
@GlennRicaud This looks like a server-side issue.
Basically, after changes are applied to a component (f.ex. a part) inside the Inspect panel, we make an ajax request to component url (f.ex. /admin/portal/edit/draft/1a9d8cc8-9896-4cda-aa1d-3a2f761360dc/_/component
) to fetch its html source and render only the changed component in LiveEdit. The problem is that when vhost is enabled, the component url returns HTML source of the entire page instead of only the component's.
Please investigate.
Tested in 6.15.1-SNAPSHOT, Chrome
setAttribute-stacktrace.txt