Ticket #832 (closed defect: invalid)

Opened 16 months ago

Last modified 10 months ago

setting up a template implementation does not work

Reported by: mahono Owned by: somebody
Priority: minor Milestone:
Component: Other Version: 0.11.0
Severity: Keywords: template plugin implementation
Cc: Has Test:
Status: Has Patch:

Description

Trying to use the Template support explained here for a user management:  http://www.phpdoctrine.org/documentation/manual/0_10?one-page#class-templates:templates-with-relations

So from the documentation I understand that I can use 'UserTemplate?' everywhere I would have used 'User' and set the actual implementation this way (Listing 14.7):

$manager->setImpl('UserTemplate?', 'MyCoolUser?');

Following the docs I only get this exception: Couldn't load plugin.

Change History

Changed 15 months ago by jwage

  • milestone changed from 0.10.4 to 0.10.5

Changed 15 months ago by jwage

  • version changed from 0.10 to 0.11
  • milestone changed from 0.11.0 to 0.11.1

Changed 14 months ago by jwage

  • status changed from new to closed
  • resolution set to invalid

I added coverage for this in r4349. The example from the manual appears to work. We committed some changesets which fixed some other behavior functionalities. It is possible it fixed this too. If it is still an issue can you change the failing test case?

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.