If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#47579 by Jaymer
Wed Jun 13, 2018 12:27 am
Yes, i know, weird.

I've noticed this behavior since V7 a year ago.
I was on a customer's system (that I took over) and saw this behavior. The user always used a mouse so he never saw it.

I have a clear example in the video in current 8.1.
Add a new rec. Popup form comes up.
Click CREATE button makes 1 new record.
Enter on CREATE button sometimes makes 2 new records.
No way to know or predict.

https://www.flickr.com/gp/[email protected]/30J0od

--------
the button +Phone is a call to a Process
The process is this:
Code: Select allENTER NEW AgentNotes WITH
AgentNotes.body='Phone Call',
AgentNotes.FollowUp=CURRENT_DATE+7,
AgentNotes.CreatedOn=CURRENT_TIMESTAMP,
AgentNotes.ob_Lead=Lead,
AgentNotes.ps_CreatedBy=LoggedInRegularUser
USING 'Create'
Lead.DateLastActivity=CURRENT_DATE
 Lead.LastActivityType='Phone'


AgentNotes has 8 fields. No Rules. Very simple. Click the create button and it should just save a record and close the Popup.
A refresh rule makes the grid table refresh (I misspoke in the video).
Last edited by Jaymer on Fri Nov 15, 2019 5:41 am, edited 2 times in total.
#47587 by ACDC
Wed Jun 13, 2018 12:49 pm
Yes, I have the same thing happening.

I have never seen it happen real-time. Users have reported the event and when investigating I have suspected the user pressed the create button twice. I thought it may have been my complex process at fault but couldn't understand the created datetimestamp were the same on both objects, I have been pulling my hair out on this one because it happens occasionally and could never recreate it

This video proves there is something lurking there, when the user inadvertently hits the enter button there is a duplication - wow this is a major discovery and a major Bug - THANK YOU. How do we resolve this

version 7.1
#47588 by Jaymer
Wed Jun 13, 2018 4:31 pm
LOL - of course you have to believe it must be Operator Error - because it doesn't seem like it can be true !
#47589 by Jaymer
Wed Jun 13, 2018 4:33 pm
Another capture.
Same App, Diff BO
native Windows on the server via RDP (previous was Mac) - both Chrome

this shows Tomcat Window and LOG to see whats happening

part 1: https://www.flickr.com/gp/[email protected]/12XeY9
part 2: https://www.flickr.com/gp/[email protected]/ve1fZ2
#47689 by Jaymer
Thu Jun 21, 2018 2:25 am
I have not heard anything, nor have I turned in any demonstration bsv.
I was planning on testing on something other than Chrome, but have not.
#47806 by johntalbott
Sun Jul 01, 2018 1:54 am
I wonder if the issue you reported has to do with this Kendo bug that was apparently fixed.

"Dialog action callback function is called twice when triggered with Enter key"

https://www.telerik.com/support/whats-n ... 2-2018-sp1
#47817 by BenHayat
Mon Jul 02, 2018 12:21 am
Jaymer wrote:hmmmm, yes, i bet that is.

so, how to upgrade to Kendo UI R2 2018 SP1 ?


If your related bug is based on Kendo bug, support needs to install Kendo UI R2 2018 SP1 build 620 from Kendo Control panel, create a new Aware build with new library and gives us a new build. In fact that's what I did today, upgraded my Kendo to Build 620.
#52094 by Jaymer
Fri Nov 15, 2019 4:53 am
BUMP _ This still happens for me on latest 8.3

And on a simple ENTER NEW xxx form.
Tab into the [Save] button and press <Enter> and you'll see the form get submitted to Aware TWICE - examine the Tomcat log and you can see all the fields get POSTed 2 times, so Aware creates 2 new instances.
Using <Space> to click the button does not duplicate the data.
This is on a Popup form.
#52095 by ACDC
Fri Nov 15, 2019 7:26 am
Jaymer wrote:BUMP _ This still happens for me on latest 8.3

And on a simple ENTER NEW xxx form.
Tab into the [Save] button and press <Enter> and you'll see the form get submitted to Aware TWICE - examine the Tomcat log and you can see all the fields get POSTed 2 times, so Aware creates 2 new instances.
Using <Space> to click the button does not duplicate the data.
This is on a Popup form.


This is a problem, especially if there are accounting entries such as Invoices.

Also there is no response forthcoming from support on this, maybe this should go to the Problem section in the forum or even a direct email

As a workaround, a rule on the object IF NEW ...could delete the duplicate by comparing a timestamp. its a hack but could resolve things while support finds a solution-- maybe also store the deleted record in a backup object for audit purpose.

Also, Is there any way to disable the Enter key on the form ?
#52723 by Jaymer
Mon Jan 13, 2020 6:49 pm
This only happens on a pop up form.

I have gotten in the habit to tab into the Save button and hit space bar to activate. and in one case changed the form to a non-pop up just to avoid the bug.

Who is online

Users browsing this forum: No registered users and 19 guests