plomino/Plomino — Issue #58: Double Login
Author: EMinkovitch
Created: 2012-02-21 22:09:59+00:00
State: open

Hello again!

I have an issue with duplicate login prompt. The user receives a link to a Plomino document for approval. When he clicks the link, a Windows login dialog opens. It accepts the credentials. Then the user clicks the button with this code:

doc = plominoDocument
doc.setItem('approveOrDenyFld','Approve')
doc.save()
return doc.absolute_url()[:-50] + "AllRequisitions"

a second login request opens up with this URL:

http://cms.haivision.com/login_form?came_from=http%3A//cms.haivision.com/development-folder/unreleased-plomino-databases/research-development-em/ReqForm/CombinedReqFormV2/Approve/runScript%3Ftarget%3Dc0072f291560b1c68aa6d22817b2507d%26form_id%3DCombinedReqFormV2&retry=&disable_cookie_login__=1

It looks like a Plone login request. It looks like maybe Plomino does not communicate the logon to Plone when the document url is opened at first?

I also tried to disable the code and just leave the button there, and it behaves the same way.

If the document is forced into edit mode first, the second login request does not happen, it only happens in read mode. In that case, Plomino and Plone authentication is synchronized.

It's on Plomino version 1.10.

Is there any way around this issue?

Thank you!
Eliott