[DBAL-590] Doctrine\DBAL\Schema\Column::visit Calls a Method That Doesn't Exist on Doctrine\DBAL\Scema\Visitor\Visitor Created: 27/Aug/13  Updated: 01/Jan/14  Resolved: 01/Jan/14

Status: Resolved
Project: Doctrine DBAL
Component/s: Schema Managers
Affects Version/s: 2.4, 2.3.4
Fix Version/s: 2.5

Type: Bug Priority: Minor
Reporter: Christopher Davis Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

$ php -v
PHP 5.4.15 (cli) (built: Aug 16 2013 15:38:16)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

$ uname -a
Darwin chrispmg.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64


`Column::visit` tries to `Doctrine\DBAL\Schema\Visitor\Visitor::accept`


It doesn't look like `Visitor` actually has an `accept` method.

The method needed seems to be `Visitor:: acceptColumn`, but `Column` itself doesn't seem to be aware of it's parent table in any way.

Comment by Benjamin Eberlei [ 01/Jan/14 ]

Removed the method, the Table#visit() method is responsible for this.

Generated at Wed Sep 02 22:38:57 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.