質問

Using sessionAsSigner in SSJS which worked fine until Firefox updated itself to version 28.0 Now get this error: "Error: 'sessionAsSigner' not found"

Still works in Internet Explorer 9.0

Anyone else experienced this and/or know how to resolve it?

役に立ちましたか?

解決 2

I think the browser update was a red herring.

If you get this error every time the code has run then you should ensure all design elements are signed with the same ID. Clean (Project -> Clean) the database if errors continue. I have found that sometimes 2 cleans are needed to resolve this (and other strange xPage issues).

However, I found that even after this has been done a user can still get this error randomly. When the user runs the code a second time it usually runs without error.

I would appreciate anyone's insight into why this could occur randomly.

他のヒント

I faced this when My xPage/CustomControl and attached ScriptLibrary are signed with different signers.

Resigning the database with server ID and re-building the application fixed the issue. 'sessionAsSigner' works fine now.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top