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

JCR Compare: Download json - links do not work uniformly #1836

Closed
3 tasks
reggie7 opened this issue Apr 15, 2019 · 2 comments
Closed
3 tasks

JCR Compare: Download json - links do not work uniformly #1836

reggie7 opened this issue Apr 15, 2019 · 2 comments

Comments

@reggie7
Copy link
Contributor

reggie7 commented Apr 15, 2019

  • AEM Version: 6.5
  • ACS AEM Commons Version: 4.0.0
  • Reproducible on Latest? yes

Expected Behavior

All Download json links work uniformly.

Actual Behavior

Some links open json in the same tab, others download a file.

Steps to Reproduce

  1. Have a couple of AEM instances running (I had 2, 4565 being the localhost),
  2. Configure hosts and a path (preferably a single page to make tests quick),
  3. Go to DOWNLOAD JSON tab,
  4. Click the links to check whether a page opens or a file is downloaded.

I've configured

configuration

and having

download

resulted in file download for localhost and http://localhost:4565, but a page opened for http://localhost:4563.

@reggie7
Copy link
Contributor Author

reggie7 commented Apr 15, 2019

The difference comes from the fact that localhost and http://localhost:4565 are actually the local server that JCR Compare is run from. http://localhost:4563 is a different one. Thus the browser handles those two groups differently regarding presentation of the file download. Local one get downloaded as a file, the remote one - gets open as a page.

@stale
Copy link

stale bot commented Jun 25, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 25, 2019
@reggie7 reggie7 closed this as completed Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants