Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 904113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:59:49+00:00 2026-05-15T15:59:49+00:00

In propel 1.3 and 1.4 the following inheritance structure worked fine. table name=payment_method baseClass=rwf.lib.SymmetricEncryptedObject>

  • 0

In propel 1.3 and 1.4 the following inheritance structure worked fine.

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> 

However with propel 1.5 when you create a new inheritance say

inheritance key="8" class="RepeatingPayPal" extends="lib.propel.PaymentMethod"/> 

I get the following error

[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] 

Now to almost solve this I can remove the lib.propel from the extends
section. but I still get the same error when I create an inheritance
that references an inheritance class ie.

inheritance key="3" class="ContinuousAuthorityCard" 
extends="lib.propel.RecurringPaymentMethod"/> 

(with or without lib.propel)

im not sure if this is a bug or a configuration problem but I cannot find
any docs that deal with the situation. I think I need to be able to state
lib.propel as we have classes in here that we use and also classes with in
another directory called rwf.lib as you can see from the baseClass of the
table pasted above.

Hope someone can point me in the right direction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:59:50+00:00Added an answer on May 15, 2026 at 3:59 pm

    So I decided I no longer needed the lib.propel which has got ride of the first problem.

    There was second problem I came across with inheritance and this is the bug I have posted http://www.propelorm.org/ticket/1033 if anyone is interested in that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The relevant portion of my schema.xml : <database name=Inventory defaultIdMethod=native> <table name=Users phpName=User> <column
Is there a proper term in data modeling to describe the following? Given table
The following function returns a type mismatch. I don't understand, as I paid attention
I need the following sql query converting to Propel: SELECT tag.tag, count( content_tag.tag_id )
I got an issue with Propel fixtures loading in Symfony2. I have the following
Which of the following is the proper way to document the return type of
I use the following code to make Propel 1.4 works in a php file.
Symfony 1.4 Propel (with sfPropel15Plugin) I have a multilanguage Gallery with the following schema:
The following query gets all the results from a table called video SELECT video.*
quick symfony / propel question. I have the following propel collection route: api_offer: class:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.