Posted in: SPARK UI Toolkit Controls
Andrzej PaslawskiAugust 24, 2016 at 5:24 am #2473
I have got another issue with a Date Picker control.
Each time I tab through it – without modifying any value – the date changes: -1 day
It even changes when the control is READ ONLY, it’s enough I click TAB several times while moving between controls, and the Date Picker is among them.
I think it shouldn’t get focus at all!
AndrzejSPARK SupportAugust 24, 2016 at 9:24 am #2475
I was not able to recreate your issue with the Date Picker control. After testing the control directly in a Human Service and as a nested Coach View, I do see that the tab stop highlights the date. However, having either the Date Picker control or the CV configuration set for read-only, the field does not allow modification of the data in my Test Harness.
Can you provide screen shots of your full configuration as well as the BPM and SPARK UI version that you are using in your implementation?
Stephen P.Andrzej PaslawskiAugust 25, 2016 at 2:38 am #2491
I have tested it twice for the versions 4.4.0 and 4.4.2.
I don’t have any specific configuration, just a Date Picker visibility is read only, and it is bound to a date variable initiated as new Date().
1. I am in a Text field
(see screenshot 1)
2. I click TAB and I am in a Date Picker field (shouldn’t it be omitted while tabbing as a read only field?)
(see screenshot 2)
3. I click TAB and I leave a Date field, but it’s value changes from 23rd to 22nd
(see screenshot 3)
AndrzejSPARK SupportAugust 25, 2016 at 1:14 pm #2495
I have logged a bug for the Date Picker control allowing a Tab Stop when configured to be Read-Only.
With the issue of your date changing, I had a thought with a possible related issue. The Date Picker is based on a Date-Time variable which uses the Time Zone of your server in comparison to the Time Zone you are in. It could be that your browser is using the Date from your time zone on your machine, and the date is reverting to the actual bound data when tabbing through.
What time zone are you in, and what time zone is your test server set to?
Stephen P.Andrzej PaslawskiAugust 26, 2016 at 2:40 am #2496
My test env is on a laptop, so both the BPM and a web browser are running on the same machine (CEST – Central European Summer Time).
My date variable is initiated in the client side human service, so the server settings are not important, however I have logged the server time:
Fri Aug 26 10:46:40 CEST 2016
Now, let’s look at the browser (Client Side HS) logging:
user locale: en (tw.system.user.locale)
dojo locale: en (dojo.locale)
Date logging before tabbing through the control:
tw.local.today: Fri Aug 26 2016 10:46:40 GMT+0200
tw.local.today.toUTCString(): Fri, 26 Aug 2016 08:46:40 GMT
tw.local.today.toLocaleString(): 26.08.2016, 10:46:40
Date logging after tabbing through the control:
tw.local.today: Thu Aug 25 2016 00:00:00 GMT+0200
tw.local.today.toUTCString(): Wed, 24 Aug 2016 22:00:00 GMT
tw.local.today.toLocaleString(): 25.08.2016, 00:00:00
First thing I can notice is that the time part is truncated.
Whatever is going on, I’m not modifying or touching anything.
Just tabbing through the Date Picker control shouldn’t change anything.
So I suppose it seems like a bug?
AndrzejSPARK SupportAugust 26, 2016 at 9:57 am #2500
After setting my machine to your Time Zone, I am seeing the same issue. I have documented this as a bug, and we will address the issue in an upcoming release. Thank you for bringing this to our attention.
In the meantime, if you would like to continue to test the normal functionality of the control, try adjusting your Time Zone setting to EST or PST.
Stephen P.Saroj PandaNovember 30, 2016 at 3:19 am #3197
This is the common issue with the BPM Date controls with time disabled. If you noticed, you should find out that the issue is because of no support of time in the SPARK Date Picker control. As you tab out of the control, the time is set to 10:46:40 instead of 00:00:00. The GMT offset remained intact and the UTCString() is moving the date back.
May be using the LocalString() text to show the value in Date Picker can fix the issue for you, without touching anything.
Till we don’t get fixed control from SPARK, may be you create custom control having Date Picker and try to show the LocalString() value in the control.
SarojSPARK SupportNovember 30, 2016 at 10:29 am #3200
Thank you for the work around.
As mentioned on your thread about time support, the Development Team is working toward providing a Date Time Picker control which should address these issues with the time portion of the variable: https://support.salientprocess.com/forums/topic/date-picker-dont-have-time-format-support/
Stephen PSaroj PandaDecember 5, 2016 at 12:42 am #3228
Good to know that you have considered the time feature on priority. May you can update the thread once you have the new version with the Date Time picker control.
SarojSPARK SupportDecember 5, 2016 at 11:09 am #3236
I will be happy to share the release information on the thread once the control is complete.
Stephen P.Tomáš NavrátilFebruary 27, 2017 at 1:13 am #3852
is there any update about the bug of date picker causing it to change its value despite it is read-only? It seems to be still broken (5 months after it was filled as a bug!). It is sad, because it makes the control unusable in any production environment.
Tomas N.Saroj PandaMarch 2, 2017 at 1:33 am #3910
Please suggest on the timeline of this fix. The issue is also replicable in Date Picker with year mode selected. Everytime you tab through the date control having year mode selected, without making any selection, the year value decrease by 1.
I have raised a problem ticket in Customer Portal.
Also please note, the Change event is also triggering twice for every one change. Once when the Calender render closes and other on actual focus out.SPARK SupportMarch 3, 2017 at 11:29 am #3927
The issue with the Year decreasing is caused by the same issue with the date decreasing in certain time zones. I have revisited the issue with the Development Team to increase the priority of this bug.
Stephen P.Saroj PandaMarch 6, 2017 at 2:32 am #3941
Thanks Stephen for the update.
SarojManiraj ChandrasekarMay 5, 2017 at 3:40 am #4297
Issue in Date Picker.
When i tab out from Date picker control, the focus is moved to browser’s address bar instead of moving to the next control. Its happening only in IE and its working fine in chrome. I have tried in the latest version (4.5.x) and IBM BPM 8.5.7. Please let me know the solution or workaround for the same.Saroj PandaMay 5, 2017 at 8:14 am #4299
We have already logged a bug for this but it’s not yet fixed till version 184.108.40.206 EE and I’m not expecting the fix in 220.127.116.11 EE also.
Currently, the only workaround is to use the Tab Index of the control, but doing that you need to set the tab Index for all the controls. Also note, the tab Index property is not available for Radio Button and Checkbox groups 🙂
So bit of issue in IE right now. SPARK Support team has mentioned that they will introduce the Tab Index property in Radio Button & Checkbox group, but currently no claim on when we should expect the Date Picker tab focus out issue in IE.
Hope this is helpful to you.
SarojSaroj PandaMay 5, 2017 at 8:18 am #4300
Please raise more tickets with SPARK Support team to increase its priority to high. There any many more issues along with missing features in Date Picker control and we are not getting resolutions on time 🙁
SarojWillemOctober 31, 2017 at 12:44 am #4769
Is this getting resolved some time soon? It is affecting our BPM functionality. Furthermore, can someone place a link to the original bug, I have been searching the site, but cannot find where bugs are registered/maintained.
WillemCSN VSF AnvändargränssnittOctober 31, 2017 at 1:25 am #4770
There are many issues in Date Picker control. I’m not sure if there will be any consolidated bug report for it. Also, the tickets are raised in Salient Customer Portal which is private for an account.
Meanwhile, the Salient team has deprecated the Date Picker and stopped support for it. They have introduced new Date Time Picker control in 4.5.1 as a replacement. It addresses most of the Date Picker issues like support for blackout dates, localization, fix for formatting issues, support for the time value and few more. But its accessibility is more annoying now. They have removed the option of editing date in the control. The keyboard navigation in the calendar is also impacted.
It would be good if you explore new Date Time Picker and raise the issues with Salient in your customer portal.
SarojSPARK SupportOctober 31, 2017 at 3:17 pm #4772
Hi Willem and Saroj,
Saroj – Thank you for the response. Yes, please do continue to raise any issues found with the new Date Time Picker in the form of submitting tickets or here the Forum.
Willem – as Saroj mentioned, the Date Picker control is now deprecated, and the new Date Time Picker addresses the majority of issues reported with the Date Picker control.
You must be logged in to reply to this topic.