oracle-databaseoracle-apex

Can't disable session state protection on Oracle APEX 18.1.0.00.45 for Dynamic Actions updating Page Items


I'm trying to update some page items with a dynamic action. I have an "on change" dynamic action on one text field and want to run a calculation on another column and display/save it.

I've tried disabling session state globally, but nothing I do seems to get rid of this error message on a page submit/process gets fired:

1 error has occurred Session state protection violation: This may be caused by manual alteration of protected page item P5_EXAMPLE_ITEM. If you are unsure what caused this error, please contact the application administrator for assistance.

How to I get rid of this error? I want to manually alter this protected page item...


Solution

  • From my own experience: it appears that P5_EXAMPLE_ITEM is a text item which has the "Read only" property set to "Always".

    If that's so, set the item type to display only (because the first combination - a read-only text item - is nothing but a display only item with "save session state" set to "no").