Skip to content

Fixing Notice: Undefined index in yaml export driver#62

Merged
beberlei merged 1 commit intodoctrine:masterfrom
mvrhov:yml_export_notice_fix
Jun 5, 2011
Merged

Fixing Notice: Undefined index in yaml export driver#62
beberlei merged 1 commit intodoctrine:masterfrom
mvrhov:yml_export_notice_fix

Conversation

@mvrhov
Copy link

@mvrhov mvrhov commented May 27, 2011

Fixing Notice: Undefined index: orderBy in ...Doctrine/ORM/Tools/Export/Driver/YamlExporter

@chesteroni
Copy link
Contributor

The same should be applied to other indexes - I came through that in PHP export driver and after fixing one index (orderBy), there was an error with joinTable.
Therefore you should fix your fix to check each of the indexes.

beberlei added a commit that referenced this pull request Jun 5, 2011
Fixing Notice: Undefined index in yaml export driver
@beberlei beberlei merged commit ff30f86 into doctrine:master Jun 5, 2011
@COil
Copy link
Contributor

COil commented Jun 9, 2011

Had the same problem:

php app/console doctrine:mapping:convert yml ./src/NN/MyBundle/Resources/config/doctrine/metadata/orm/bo --from-database --force --em=bo --filter=BMT
Processing entity "BMT"
[ErrorException]
Notice: Undefined index: joinTable in C:\wamp2\www\symfony2-beta4\vendor\doctrine\lib\Doctrine\ORM\Tools\Export\Driver\YamlExporter.php line 184

beberlei added a commit that referenced this pull request Jan 23, 2013
Add missing canRequireSQLConversion() in example type code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants