Jump to content

This topic is 7199 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi Guys,

Ok, I suspect I have found a nasty bug - could anyone confirm, or tell me how I can get around this?

I have two scripts, each one line only and each linked to a button.

The first does Open Record/Request.

The second does Revert Record/Request.

Now in IWP, pressing the first (open) button should put me in edit mode, with the submit and cancel buttons appearing in the status bar. This works fine.

If I now make a change in a text field, then press the second (revert) button, I should leave edit mode with the field as it was originally. BUT what actually happens is, the field gets updated (the nasty part)!

The status bar Cancel button works properly by the way.

Also, the Revert button does work properly if I enter edit mode by clicking directly in the field rather than clicking on the Open button, but this is not the way I want to do things.

Is it something I'm doing or an IWP bug?

The only workaround I have found is to assume that Open record/request script step needs to be avoided like the plague, and instead I need to use goto field steps. This seems to work, but I don't like it much...

Thanks in advance!

Sean.

Posted

Hi Sean,

I verified and can confirm what you found out.

It is certainly sort of a bug that clicking "revert record" script after having used the "open record" script in IWP changes the action of "revert record" into "commit record".

In the Help file under Open Record/Request script step is indicated:

"Important ! Because any attempt to modify a field or a record will also attempt to open the record for editing, in most cases you will not need to use the Open Record/Request script step to open a record explicitly.

But when using the Go to Field script step or the Go to Record/Request/Page script step to enter a field or record, use the Open Record/Request script step first to obtain a write lock."

I noticed that the above mentioned "Go to Record/Request/Page script" is not compatible with IWP in fact.

It seems that for the moment, apart from simply clicking the cursor in a field, the only alternative is to use the Go to field script step.

Fortunately the "revert record" script in IWP works well in those two cases.

Best,

Gus

Posted

Hi Gus,

Thanks for the confirmation. ******* bugs are cropping up all over the place in IWP for me lately, lost most of the last couple of days trying to work around them.

Can you have stickies on these forums? A list of confirmed bugs would be handy.

The Go to Record/Request step actually is web compatible, but there is another bug (albeit a minor one) which makes it appear otherwise.

Copied from a previous post I made regarding this script step:

Hi there,

If you set the specify option to By Calculation, the perform without dialog check box appears, which on the client version would allow you to override the calculation. In this mode (by calculation) the check box must be checked for the script step to be web compatible. It does not have to be checked (and can't be because it doesn't appear) for any of the other options, but because it hasn't been checked that warning appears.

A minor bug - the script step is definitely compatible, I use it all the time.

There are a few steps that have this problem I think.

Cheers,

Sean.

Thanks again!

Sean.

This topic is 7199 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.