Hello,

How do I handle the error :e_concurrencyViolation ? On the panel I have grid like this :

<grid dataSource="TEST">
    <column headerLabel="Rgv ID">
      <textField column="RGV_ID" editable="N"/>
    </column>
    <column headerLabel="RGV_SOMETHING">
      <checkBox column="RGV_SOMETHING" checkedValue="Y" uncheckedValue="N" />
    </column>
    <column headerLabel="Rgv CC">
      <textField column="RGV_CC" editable="N"/>
    </column>
  </grid>
Datasource TEST have concurrency column RGV_CC.

If i try editing record with other form (dialogbox) and before close make doCommit. I know what this record is changed by another user. But checkbox action for user must be fast (just setting one attribute). I want change records directly on the grid and later make doCommit. On action doCommit i get error e_concurrencyViolation, but i can't get rowid or pk of records, to inform user what record is chnaged. If I get rowid or pk, I even can refresh row for user with api_datasource.refreshrowby.... For me something like api_datasource.getrequiredcolumnviolations

How should I do in this situation ?

Thanks

asked 23 Sep '14, 04:49

AlfAbetas's gravatar image

AlfAbetas
611316
accept rate: 9%


Hi AlfAbetas,

This is a bug in Formspider. Currently, there is no way to find out which row raised this exception. The only way you can know this is to have the user edit a single row in a dialog.

I created a ticket for this issue in our bug tracking system.

Kind Regards,
Yalim

link

answered 25 Sep '14, 06:10

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 23 Sep '14, 04:49

Seen: 716 times

Last updated: 25 Sep '14, 06:10

Related questions


© Copyright Gerger 2017