Ticket #4331 (closed Bug: fixed)

Opened 9 years ago

Method aliases must not be permitted as object ids

Reported by: optilude Owned by:
Priority: minor Milestone: 2.1
Component: General Version:
Keywords: Cc:

Description

Currently, you can create an object with id 'sharing', 'edit', 'properties', etc. When this happens, the object becomes inaccessible, because the CMF 1.5 method aliases with the same name on the parent folder/portal object will take precedence. We need to disallow these names, probably by adding a test for parent method aliases to check_id. Need to test that this stops both the title -> id generation from generating these ids, and that a rename won't permit these names.

Martin

Change History

comment:1 Changed 9 years ago by optilude

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

Fixed in 2.1 svn.

comment:2 Changed 22 months ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.