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

prefix not identified properly due to qlik sense upgrade #45

Open
pritam251 opened this issue May 26, 2018 · 1 comment
Open

prefix not identified properly due to qlik sense upgrade #45

pritam251 opened this issue May 26, 2018 · 1 comment

Comments

@pritam251
Copy link

Description

For November 2017 and versions above, prefix is not being identified properly

Steps to Reproduce

  1. Start with a new session of the browser with all cache and cookies cleaned up
  2. Log in to qliksense with a vProxy
  3. When export is clicked, it does not identify the prefix properly

The current logic to determine the prefix is based on keyword '/sense' in the url.
This should change to '/extensions'

Current:
var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/sense') + 1);

Should change to:
var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf('/extensions') + 1);

Expected behavior

The prefix should be identified properly as expected

Environment

Chrome

Operating system

All OS

[ ] Windows
[ ] OSX
[ ] Linux

Qlik Sense

All

[ ] Desktop
[ ] Enterprise

Browser

All

[ ] Chrome
[ ] Firefox
[ ] Internet Explorer
[ ] Edge
[ ] Others: XXX
@pritam251
Copy link
Author

I forgot to mention that this happens only in mashups.

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

No branches or pull requests

1 participant