Ticket #8005 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

mxTidy breaks inline-editing

Reported by: mborch Owned by: mborch
Priority: minor Milestone: 3.1
Component: Archetypes Keywords:
Cc: ree

Description

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module archetypes.kss.fields, line 188, in saveField
    * Module Products.Archetypes.Field, line 325, in validate
    * Module Products.Archetypes.Field, line 338, in validate_validators
    * Module Products.validation.chain, line 142, in __call__
    * Module Products.ATContentTypes.lib.validators, line 154, in __call__

KeyError: 'REQUEST'

Change History

comment:1 Changed 4 years ago by mborch

  • Owner mborch deleted

I can't reproduce this locally, because mxtidy is impossible to install. I recommend we remove support for mxtidy and move to something else.

comment:2 Changed 4 years ago by mborch

  • Owner set to mborch

I worked around the mxTidy import issue; trying to fix the underlying issue.

comment:3 Changed 4 years ago by mborch

  • Status changed from new to assigned

comment:4 Changed 4 years ago by wichert

I wonder where the assumption that REQUEST is passed to the validator comes from. Perhaps that was an implicit contract that kss is not keeping?

comment:5 Changed 4 years ago by mborch

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r9524.

comment:6 Changed 4 years ago by hannosch

  • Milestone changed from 3.1 to 3.x

Milestone 3.1 deleted

Note: See TracTickets for help on using tickets.