Ticket #1100 (new defect)

Opened 14 years ago

Last modified 13 years ago

A CMF change has caused this to stop working.

Reported by: stevem@… Owned by: trac
Priority: P1 Milestone:
Component: CMFNtlmSso Version: TRUNK
Severity: blocker Keywords:
Cc:

Description

Hi,

I am using a subversion co from Nov 5 with Zope 2.8.3 and CMF v 1.5.4

CMFNtlmSso won't load due to a CMF change.

Line 29 in the CMFNtlmSso/NtlmCookieCrumbler.py is currently-

from Products.CMFCore.CookieCrumbler? import ATTEMPT_NONE, ATTEMPT_RESUME, ATTEMPT_DISABLED, ATTEMPT_LOGIN

The problem is that ATTEMPT_DISABLED no longer exists in this file. I think the change occurred in CMF 1.5.2.

ATTEMPT_DISABLED is a constant that was previously set to -1

I added this (ATTEMPT_DISABLED = -1} to the NtlmCookieCrumbler?.py file which at least lets it load. I haven't tested if it works yet, and I probably won't be able to for a couple of weeks.

Regards

Steve Meaker

Change History

comment:1 Changed 14 years ago by lregebro

This seems like an easy fix, if we can test it. How can we set this up to test it?

comment:2 Changed 13 years ago by root

  • Milestone CPS 3.2.5 deleted

Milestone CPS 3.2.5 deleted

Note: See TracTickets for help on using tickets.