Inheritance propel 1.5.2的继承问题

Inheritance propel 1.5.2的继承问题,inheritance,schema,propel,single-table-inheritance,Inheritance,Schema,Propel,Single Table Inheritance,在1.3和1.4中,以下继承结构运行良好 table name="payment_method" baseClass="rwf.lib.SymmetricEncryptedObject"> column name="id" type="INTEGER" required="true" autoIncrement="true" primaryKey="true"/> column name="discriminator" type="INTEGER" inheritance=

在1.3和1.4中,以下继承结构运行良好

table name="payment_method" baseClass="rwf.lib.SymmetricEncryptedObject"> column name="id" type="INTEGER" required="true" autoIncrement="true" primaryKey="true"/> column name="discriminator" type="INTEGER" inheritance="single" required="true"> inheritance key="1" class="Card" extends="lib.propel.PaymentMethod"/> inheritance key="2" class="RecurringPaymentMethod" extends="lib.propel.PaymentMethod"/> inheritance key="4" class="DirectDebit" extend="lib.propel.RecurringPaymentMethod"/> inheritance key="5" class="Cheque" extends="lib.propel.PaymentMethod"/> inheritance key="6" class="PayPal" extends="lib.propel.PaymentMethod"/> inheritance key="7" class="Moto" extends="lib.propel.PaymentMethod"/> /column> 但是,当您创建一个新的继承时,请使用propel 1.5

inheritance key="8" class="RepeatingPayPal" extends="lib.propel.PaymentMethod"/> 我得到以下错误

[PHP Error] Argument 1 passed to DataModelBuilder::getNewStubObjectBuilder() must be an instance of Table, null given, called in /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/om/PH P5MultiExtendObjectBuilder.phpon line 119 and defined [line 432 of /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/DataM odelBuilder.php] [PHP Error] Argument 1 passed to GeneratorConfig::getConfiguredBuilder() must be an instance of Table, null given, called in /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/DataM odelBuilder.phpon line 434 and defined [line 180 of /usr/local/www/ d/extlib/propel-1.5.2/generator/lib/config/Genera torConfig.php] [PHP Error] Argument 1 passed to ObjectBuilder::__construct() must be an instance of Table, null given, called in /usr/local/www/ /extlib/propel-1.5.2/generator/lib/config/Genera torConfig.phpon line 183 and defined [line 30 of /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/om/Ob jectBuilder.php] [PHP Error] Argument 1 passed to DataModelBuilder::__construct() must be an instance of Table, null given, called in /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/om/Ob jectBuilder.phpon line 31 and defined [line 160 of /usr/local/www/ /extlib/propel-1.5.2/generator/lib/builder/DataM odelBuilder.php] 现在,为了解决这个问题,我可以从extends中删除lib.streep 部分但是我在创建继承时仍然会遇到相同的错误 引用继承类的

inheritance key="3" class="ContinuousAuthorityCard" extends="lib.propel.RecurringPaymentMethod"/> 带或不带自由行

我不确定这是一个错误还是一个配置问题,但我找不到 任何处理这种情况的文档。我想我需要能够陈述 lib.propel,因为我们在这里有我们使用的类,也有在中使用的类 另一个名为rwf.lib的目录,您可以从 贴在上面的桌子


希望有人能给我指出正确的方向

所以我决定不再需要lib.prople,它已经解决了第一个问题

我在继承方面遇到了第二个问题,如果有人对此感兴趣,这就是我发布的bug