Open prashant800 opened 6 years ago
I have this issue too. Did u find any solution?
I am using it in QlikSense Server Feb'18 and sometimes it stops working.
For example, I have to do several tries until it starts working. Meanwhile, it lets me to chose a date range, but it doesn't make any selection at all. When finally it starts working it's going to be working until I leave the page. Is it a javascript issue?
The same thing happens to me in edit mode: I have to write the dimension field expression several times until I finally it accepts the expression. Sometimes it wrongly marks the expression as an error, others it seems to have accepted the expression, but it does not saves the change.
This is a snapshot of the javascript console corresponding to two consecutive date selections.
I think I started having this issue since QlikSense Server version Feb'18 (perhaps Nov'17)
It looks like a canceled request GetLayout
(due to acceptSearch
) didn't restarted... most likely a bug a bug in Qlik Sense.
Try to add a getLayout call first, at L189 : https://github.com/NOD507/SenseDateRangePicker/blob/master/DateRangePicker.js#L189
function (x) {
self.backendApi.model.getLayout().then(function(){
self.backendApi.acceptSearch(false);
})
})
Thank you!
I'll try it.
From: Aiham Azmeh [mailto:notifications@github.com] Sent: Wednesday, February 21, 2018 9:02 PM To: NOD507/SenseDateRangePicker SenseDateRangePicker@noreply.github.com Cc: Sapir Tayri sapir.t@sensebi.com; Comment comment@noreply.github.com Subject: Re: [NOD507/SenseDateRangePicker] DateRangePicker extension become irresponsible on server (#23)
It looks like a canceled request GetLayout (due to acceptSearch) didn't restarted... most likely a bug a bug in Qlik Sense. Try to add a getLayout call 1st, at L189 : https://github.com/NOD507/SenseDateRangePicker/blob/master/DateRangePicker.js#L189
function (x) {
self.backendApi.model.getLayout().then(function(){
self.backendApi.acceptSearch(false);
})
})
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOD507/SenseDateRangePicker/issues/23#issuecomment-367433817, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgQvj25crmayAx9l9iawWjOYWGKrgYd-ks5tXGgQgaJpZM4QK4g4.
Thanks a lot @aihazm!
I've tested your solution and it solves the problem.
I still have problems entering an expression in the fx field.
But after some attempts I can set this field, and DatePicker remains working smoothly thanks to your solution
I had the same issue. Thanks for the code line that fixed it.
Hello, i am a new fish, still confused on where can I download the file, and then change the js. Thank you.
I am using DateRangePicker extension but sometime its become irresponsible. I am using QlikSense desktop June 2017 version also we are facing issue on server. Could you please help me to resolve this ? Do i need to do any setting before using this.