Ticket #868 (new defect)

Opened 14 years ago

Last modified 9 years ago

Stop passing proxies in code along docs

Reported by: fguillaume Owned by: fguillaume
Priority: P3 Milestone: CPS 3.5.7
Component: CPS (global) Version: TRUNK
Severity: normal Keywords:
Cc:

Description

In current code there's many places where we have to propagate the proxy along with the repository document, because we need both.

With the recent changes, we can get the proxy from the document by doing a simple aq_parent(aq_inner(doc)). So the code should be simplified.

Change History

comment:1 Changed 14 years ago by fguillaume

  • Priority changed from P1 to P2
  • Milestone changed from CPS 3.3.6 to CPS 3.4.0

comment:2 Changed 14 years ago by fguillaume

  • Priority changed from P2 to P3

comment:3 Changed 13 years ago by fguillaume

  • Milestone changed from CPS 3.4.0 to CPS 3.5.0

comment:4 Changed 9 years ago by gracinet

  • Summary changed from Stop manually propagating proxies along docs to Stop passing proxies in code along docs
  • Milestone changed from CPS 3.5.0 to CPS 3.5.2

Should keep this in mind in the forthcoming refactors. I would go for a getProxy method on CPSDocument, in case the aq stuff would change in the future.

Note: See TracTickets for help on using tickets.