为标头之前的计算设置的隐藏项获取会话状态保护冲突错误-Oracle APEX [英] getting Session state protection violation error for a hidden item that is being set with computation before header - Oracle APEX

查看:93
本文介绍了为标头之前的计算设置的隐藏项获取会话状态保护冲突错误-Oracle APEX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用同一页面中其他隐藏项目的值来动态设置项目的标签.

I am trying to set the label of an item dynamically using the value of an other hidden item in the same page.

我为页面中的隐藏项目创建了一个计算,并将该项目的值设置为动态标签-& P613_EMPLOYEE_TYPE_LABEL.

I created a computation for the hidden item in the page and set the value of the item as the dynamic label - &P613_EMPLOYEE_TYPE_LABEL.

但是我收到此错误

Session state protection violation: This may be caused by manual alteration of protected page item P613_EMPLOYEE_TYPE_LABEL.   

Technical Info (only visible for developers)

is_internal_error: true
apex_error_code: APEX.SESSION_STATE.ITEM_VALUE_PROTECTION
component.type: APEX_APPLICATION_PAGES
component.id: 149000000613
component.name: DETAILS OF EMPLOYEE
error_backtrace:
----- PL/SQL Call Stack -----
object      line  object
handle    number  name
0x263d96750       935  package body APEX_050100.WWV_FLOW_ERROR
0x263d96750      1003  package body APEX_050100.WWV_FLOW_ERROR
0x263d96750      1395  package body APEX_050100.WWV_FLOW_ERROR
0x26ac006a8      3116  package body APEX_050100.WWV_FLOW
0x26ac006a8      5533  package body APEX_050100.WWV_FLOW
0x265a48af8         2  anonymous block

但是我已经将该项目的会话状态保护设置为不受限制"

But I have set the session state protection fo the item to 'unrestricted'

页面设置

计算

组件设置

推荐答案

对于您的隐藏项目P613_EMPLOYEE_TYPE_LABEL,将值保护"属性设置为NO.

For your hidden item P613_EMPLOYEE_TYPE_LABEL set the Value Protected attribute to NO.

当隐藏项的Value Protected设置为YES时,将在加载页面时生成校验和.当您使用不同的值提交页面时,校验和不再有效,您将收到错误消息.

When Value Protected of an hidden item is set to YES a checksum is generated when your page is loaded. When you submit the page with a different value the checksum is not valid anymore and you get the error.

这篇关于为标头之前的计算设置的隐藏项获取会话状态保护冲突错误-Oracle APEX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆