Issue: Button fails with a permission error on a Single Record page

I am using SeaTable Cloud and have created a Universal App with a Single Record page.

On this page, I have two buttons. Both buttons perform essentially the same process, but on different fields:

  1. Check a checkbox field.
  2. Record the execution date in a date field.
  3. Send an email.

The only difference between the two buttons is the fields they modify and the content of the email.

The first button I added at the beginning of the page construction, works correctly.

The second button, which I added somewhat later during the construction of the page, does not work and displays the following error when clicked:

“Permission error. Please refresh the page.”

Refreshing the page does not resolve the issue.

Tests performed

I performed several tests to isolate the problem:

  • The user testing the application is an administrator.
  • The relevant rows can be modified by everyone.
  • I tested the issue in Chrome as well as my original browser. The behavior is identical.
  • I created a new checkbox field specifically for testing.
  • I created a new, very simple button whose only action is to check this new checkbox.
  • This simple button still produces the same permission error when used on the problematic Single Record page.
  • I created a Table page in the same Universal App, using the same table and the same button.
    → The button works correctly on the Table page.
  • I created a new Single Record page, using the same table and the same button.
    → The button works correctly on the new Single Record page.
  • I also tested the problematic button with only the checkbox modification, removing the other actions.
    → It still produces the permission error on the original Single Record page.
  • The first button, which was created earlier during the construction of the page, continues to work correctly on the original page.

Current conclusion

The problem therefore appears to be specific to the original Single Record page, rather than to the button, the fields, the user’s permissions, or the browser.

The same button works:

  • directly in the Base;
  • on a Universal App Table page;
  • on a newly created Universal App Single Record page.

However, it fails on the original Single Record page.

There also seems to be a possible relationship with the order in which the buttons were added to the original page: the first button added works, while the second button added later does not.

Any idea where the problem could be ?

Thank you for the detailed report and step-by-step test results.

We previously received feedback about a similar issue from another user , which was fixed. However, we were unable to reproduce the issue during our testing for your specific case.

Since SeaTable 7.0 will be released soon, we recommend waiting for the 7.0 update and then creating a new App to test if the issue still persists.

Please let us know if you encounter the same error after updating to version 7.0!

Hi,

Thanks for your answer.

I was about to say I found a solution : it seems to work when I start to build the page with the two buttons, and I build the whole page I need around those buttons.

I work for a few days, but I encountered a new bug I explain in this post. I have no idea if these bugs could be linked, but for information it happened on the same single-record page.

We have identified the cause and are working on a fix. As a temporary workaround, please remove or avoid using button fields previously added by drag-and-drop, and add them using the “+” button instead. After the fix is released, both existing and newly drag-added button fields will work normally.

Great :flexed_biceps:

Thanks a lot