currentSourceRow and utils.openUrl()

Is this a bug or am I overlooking something simple? It seems as though currentSourceRow and currentRow are not returning the correct row within Actions -> Event Handlers -> Click action -> utils.openUrl(). In my testing I'm not seeing the same issue when using Run Script as the action.

The screenshots below are from a new app, new table component using Demo Data and an action. All else should be default.


Curious as to why you are trying to use both? Wasn't currentRow replaced with currentSourceRow with the new table component some time ago? Additionally, your opening a URL with an email address and not the website as noted in the data in the table in your second screenshot?

Hey @matth,

There have been posts since yesterday evening regarding selectedRow and selectedSourceRow not working properly. This seems a very similar behavior and it seems definitely a bug.

see posts here table.selectedRow is randomly showing null - #11 by taluk and here Property 'selectedRow' doesn't work - #9 by clay123

Hey @ScottR,

The difference with currentRow is that it shows only visible columns AND mapped/calculated values. Whereas currentSourceRow will show the original data source, regardless of columns being deleted from the table settings or not (and it will not show any mapped values that are overriding the data source).

I was just using the Demo Data to show the issue. I realize that email and id are not practical. I found the issue in a table of an app I was working on this morning using a URL and built a bare bones example to see if the issue was present outside of my app.

1 Like

Hey folks - Thanks for letting us know, taking a look now!

2 Likes

From the original screenshots, does the action execute with the correct data or is it just with the preview in the green box? Doing a quick test, I'm seeing the preview is referring to the first two independent of which row is selected but the action runs with the expected data.

It's just in the green preview box. I was getting about:blank and hanging in my browser but my vpn to those services was down. My bad.