adobe / aem-spa-page-model-manager

Interface between Adobe Experience Manager and Single Page Application framework.
Apache License 2.0
33 stars 24 forks source link

[bug] Duplicated API call for model.json on short URL pages - call for /.model.json #74

Open Bastek333 opened 2 years ago

Bastek333 commented 2 years ago

I have experienced additional API call in network tab for /.model.json for page which use short url like https://foo/bar/ - this call is not present for https://foo/bar.html

Expected Behaviour : For https://foo/bar/ model json call should be https://foo/bar.model.json

Actual Behaviour: For https://foo/bar/ model json call is duplicated https://foo/bar.model.json and https://foo/.model.json

On some servers where /. calls are blocked this behavior is breaking page loading - as /.model.json is rejected - and application doesn't get JSON as this second /.model.json overwriting first proper call /bar.model.json

image

arunannamalai89 commented 1 year ago

Facing same issue here as well..