Ticket #2151 (closed defect: fixed)

Opened 15 months ago

Last modified 12 months ago

Equal nested relation

Reported by: p16 Owned by: Jonathan.Wage
Priority: major Milestone: 1.2.0
Component: NestedSet Version: 1.0.7
Severity: abc Keywords: equal nested relation
Cc: Has Test: no
Status: Pending Core Response Has Patch: yes

Description

Running the example from the documentation about equal nested relation (on symfony 1.2 and doctrine 1.0) causes the following error.

"500 | Internal Server Error | Doctrine_Connection_Mysql_Exception SQLSTATE23000: Integrity constraint violation: 1062 Duplicate entry 'N-N' for key 1"

Attached there is a "patch" for this problem, but still it is not a proper solution.

Attachments

patch-2.diff Download (1.9 KB) - added by p16 15 months ago.

Change History

Changed 15 months ago by p16

Changed 14 months ago by jwage

Did you ever check if this problem is fixed in Doctrine 1.1?

Changed 14 months ago by p16

Yes, it seems to work in doctrine 1.1 (sandbox). I didn't check on symfony 1.3.

Changed 12 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from New to 1.2.0
Note: See TracTickets for help on using tickets.