Ticket #2407 (new defect)

Opened 8 years ago

Last modified 8 years ago

Acommodate older popup photo URLs

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.7
Component: CPSSchemas Version: 3.5.2
Severity: normal Keywords: bot popup error
Cc:

Description

Since the major refactoring of Image and Photo widgets that occurred for 3.5.2, the old URIs for the photo popup lead to an error. Bots can keep such references for a long time (in that case, the Google Bot). End of traceback:

  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 173, in _eval
  Module Products.PageTemplates.Expressions, line 127, in _eval
   - __traceback_info__: here
  Module Products.PageTemplates.Expressions, line 320, in restrictedTraverse
   - __traceback_info__: {'path': ['REQUEST', 'uri'], 'TraversalRequestNameStack': []}
  Module ZPublisher.HTTPRequest, line 1213, in __getitem__
KeyError: 'uri'

It's not hard to accomodate the old URI, provided one accepts to keep a fixed size, which we will

Change History

comment:1 Changed 8 years ago by gracinet

done

Note: See TracTickets for help on using tickets.