Ticket #370 (new defect)

Opened 15 years ago

Last modified 10 years ago

LDAPBacking directory doesn't execute field write expressions at creation

Reported by: fguillaume Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDirectory Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by fguillaume) (diff)

LDAPBacking directory doesn't execute field write expressions at creation

createEntry doesn't go through the storage adapter at all, and so never executes _setDataDoProcess.

A bit of refactoring is probably needed, maybe in CPSSchemas too.

Attachments

BaseDirectory-370.patch Download (898 bytes) - added by gracinet 10 years ago.
Patch for dependent fields + write expressions

Change History

comment:1 Changed 15 years ago by fguillaume

  • Status changed from new to assigned

comment:2 Changed 15 years ago by tziade

  • Cc tz@… added

comment:3 Changed 14 years ago by fguillaume

  • Description modified (diff)
  • Milestone changed from unspecified to CPS 3.5.0

Changed 10 years ago by gracinet

Patch for dependent fields + write expressions

comment:4 Changed 10 years ago by gracinet

  • Owner changed from fguillaume to gracinet
  • Status changed from assigned to new

Indeed. The worse is that !LDAPStorageAdapter isn't designed so that a datamodel commit can succed at creation time.

I just attached a patch that enables write expressions and dependent fields, that I don't dare to check even in the current trunk.

IMHO the whole directory stack needs a serious refactoring. I'm tired of this constant battle.

Note: See TracTickets for help on using tickets.