[solved]2 Rows getting created for the Price of 1 - but Why?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2459
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

[solved]2 Rows getting created for the Price of 1 - but Why?

Post by Jaymer »

solved: was Kendo bug

Simple query has a Panel Operation "Create New Item" - uses built in command "Create Object".
The BO has a form set for "Default For for Creation". No Processes. Nothing fancy. Plain vanilla.

Problem is, when I press the Kbd. <ENTER> key to Create. I get 2 records.
If I click it I get only 1.

WTF?
Screen Shot 2018-05-14 at 7.10.28 PM.png
Screen Shot 2018-05-14 at 7.10.28 PM.png (47.27 KiB) Viewed 11679 times
Last edited by Jaymer on Sat Dec 15, 2018 8:09 pm, edited 1 time in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by ACDC »

Jaymer, I am sure there was another thread where you posted an example of this . I can't find it. This issue is becoming a problem for me
Jaymer
Posts: 2459
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by Jaymer »

this was fixed in an update from Telerik/Kendo. Was a bug on their end.
Before the fix, I was using SPACE-BAR instead of ENTER to click the OK button - works, but trying to tell a bunch of users to do that would be impossible.
In a recent v8.1 release, Vlad updated to their latest code and it included this fix.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by ACDC »

Thanks, I need to upgrade then
Jaymer
Posts: 2459
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by Jaymer »

Its not listed in the last 10 changelogs.
I don't think it was ever recorded as an aware bug.
I seem to remember some post that a recent 8.1 build included the "latest" Telerik code, and that encompassed their fix.
It WAS listed as a fixed bug on Telerik's site.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
rbross
Posts: 441
Joined: Wed Nov 19, 2014 4:13 am
Location: Coventry, Connecticut USA

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by rbross »

Jaymer, this was a bug. Vlad said he was going to fix it. Not sure if he ever did.

When parking on the enter key and pressing Enter causes 2 duplicate records to be created.
I told my users to either click the Create button or press the Enter Key when parked on the last field they are parked on when they are finished entering all the data. I explained it was a bug when parked on the Create Button and pressing enter. They seemed to understand that.
Now they just press enter from the last field they are parked on and everyone is happy!
Roger Ross
AwareIM 8.7 (build 3025) ~ MS-SQL ~ Windows 10 ~
AwareIM 8.5 (build 2828) ~ MS-SQL ~ Windows 10 ~
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by aware_support »

We'll investigate
Aware IM Support Team
Jaymer
Posts: 2459
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by Jaymer »

per this page:
https://www.telerik.com/support/whats-n ... 2-2018-sp1

Dialog
FIXED
Dialog action callback function is called twice when triggered with Enter key
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: 2 Rows getting created for the Price of 1 - but Why?

Post by aware_support »

We cannot reproduce this. Please send the BSV with the description of steps required to reproduce the problem to [email protected]
Aware IM Support Team
Post Reply