Comments (8)
Hi @tomomni,
We unfortunately couldn't reproduce this issue, but one of my colleagues suggested that this can be a permission issue: that maybe the authenticated user in node.js/enigma is not the same as the one authenticated via browser (dev-hub)
from enigma.js.
Hi @aihazm,
Thanks for checking this out, it's a really peculiar issue since there is no problem when using linked master measures it only occurs when referencing master measures in a measure expression.
When connecting to an enterprise environment, I am basically running my app as an SSE - on the server using the site certificates for authentication, my user in this case is typically the env service account.
I could see the potential for a permission mismatch issue here however, it's odd that a permissions issue would allow me to get data from adjacent columns in the same visualization (table). Furthermore, I can also recreate the issue when running locally using Sense Desktop too both when I have provided my user/directory info and when I leave it null.
I will take a closer look here, toy around with my user/directory settings and update this post with my findings.
Additionally, would it help if I share a repo with a re-creatable Sense Desktop example (including the QVF)? I can whip something up relatively quickly if you guys will check it out.
Thanks again for looking into this.
-Tom
Mar 10 11:15 EST UPDATE:
Confirmed not a permissions issue. Went to start creating an example app and discovered new information though! In order to trigger the issue, the master measure must have a calculated label expression (ie: 'Sample Measure') and the measure expression referencing the master measure must use a different label (ie: 'Referenced Measure'). Need to do some more testing and will update again with further findings.
Mar 10 14:10 EST UPDATE:
Created a repo with a barebones example: https://github.com/tomomni/engima.js_Issue944_Example
Please let me know if there are still any issues recreating - determined the issue only occurs when the master measure has it's own label expression & the expression referencing the master measure has it's own label (like in the example app). Removing the label expression from the master measure will resolve the issue.
from enigma.js.
Hi @tomomni ,
My apologies for the late follow-up. Thank you for the provided example of reproducing the issue. I am now looking into the issue, and think I have found the cause of the problem that you are experiencing.
Just for confirmation, with your example app & script provided you are getting the following result for getHyperCubeData
?
And expected behaviour would be :
from enigma.js.
Hi @wennmo, no worries on the delay - I appreciate you looking into this.
You are exactly correct with the experienced and expected behaviors.
from enigma.js.
Hi @tomomni, thanks for the confirmation. This problem has already been fixed in Qlik Sense SaaS, which is why @aihazm was unable to reproduce it.
Since you are testing against Qlik Sense Enterprise/Desktop Feb 2021, I will look into when/if the solution was introduced for those products.
from enigma.js.
@wennmo, interesting that it's solved in SaaS.
I thought @aihazm might not have been able to recreate the issue because I missed exactly what the trigger was initially - it was only in assembling my example that I realized the issue can only be triggered when the master measure has it's own label expression and the column where the master measure is being referenced has it's own label (like in the example app).
I just tested using enterprise Feb 2022 Patch 2 and the issue still exists as of that version.
from enigma.js.
@tomomni, sorry for the delay but now I finally got a response on when the fix was introduced.
Since Qlik Sense Enterprise for Windows has a different release cadence compared to Qlik Sense SaaS, it has so far not been part of any release for that product. It is however targeted for the May release (but was not part of the February release).
from enigma.js.
I will close this issue for now, since this is not enigma.js
related.
There is a fix being planned for the next release of Qlik Sense Enterprise for Windows, and that should resolve the issue.
from enigma.js.
Related Issues (20)
- Enigma js connection failed in new chrome browser HOT 11
- Error: Session suspended while connecting Qlik one environment but it is working other environment
- Remove/update link for schemas when API Insights is removed
- Unable to close app HOT 2
- Qlik Saas blocking websocket connections from origins not the tenant HOT 6
- Npm update - schema 12.936.0.json is missing HOT 1
- Remove dependency to after-work.js
- Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid. HOT 2
- Question: How can I get the sheet name by passing the sheet id HOT 1
- Question: How to connect to Qliksense Enterprise from the browser HOT 6
- flaky test `qix-logging` > `should log qix traffic`
- multiselect using enigma HOT 1
- Property 'openDoc' does not exist on type 'IGeneratedAPI HOT 5
- OnMaxParallelSessionsExceeded HOT 1
- upgrade to rollup v3
- Action Required: Fix Renovate Configuration
- TypeScript Support Broken HOT 2
- getDocList in Qlik Cloud instance HOT 2
- No use of providing appId to enigma session creation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigma.js.