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 3320070
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:53:59+00:00 2026-05-17T22:53:59+00:00

i have just created a new project and this models and the fixtures below:

  • 0

i have just created a new project and this models and the fixtures below:

 culture:
     id: ~
     code:           { type: CHAR, size: 6, default: 'it', required: true }
     text:           { type: VARCHAR, size: 50, default: 'italiano',
required: true }
     folder_prod:    { type: VARCHAR, size: 50, default: 'italian',
required: true }

   sediOK:
     id:                      ~
     culture_id:              { type: integer, required: true,
foreignTable: culture, foreignReference: id }
     nations_id:              { type: integer, required: true,
foreignTable: nations, foreignReference: id }
     paese_indirizzo:         { type: varchar(32), required: true }
     ufficio:                 { type: varchar(64), required: true}
     indirizzo:               { type: longvarchar, required: true }

culture:
   italiano:    {code: "it", text: "italiano", folder_prod: "italian" }
   frencese:    {code: "fr", text: "francese", folder_prod: "francoise" }
   inglese:     {code: "en", text: "inglese", folder_prod: "english" }

sediOK:
   sede_roma_1_italiano:  { culture_id: 1, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Ufficio 1:", indirizzo:
"XXXXX" }
   sede_roma_1_francese:  { culture_id: 2, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Rome Office 1:", indirizzo:
"XXXX" }
   sede_roma_1_spagnolo:  { culture_id: 4, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Oficina 1", indirizzo:
"xxxx" }

When i do propel:build-all-load it says:

The object “1” from class “Culture” is
not defined in your data file.

So it’s not inserting the culture fixtures but i dont know why…If I
remove the sediOK model and fixtures, and then do build-all-load the
culture fixtures are inserted ok.

Any idea?

Javi

  • 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-17T22:53:59+00:00Added an answer on May 17, 2026 at 10:53 pm

    The references to culture_id: 1, culture_id: 2 and culture_id: 4 are not defined in the above fixtures – you need to set the sediOK fixtures to reference the cultures by their identifiers, not their IDs in the database.

    So, for you examples, the ‘internal’ fixture IDs are italiano, frencese and inglese. Change your lines culture_id: 1, culture_id: 2 and culture_id: 4 to culture_id: italiano, culture_id: frencese and culture_id: inglese respectively.

    Read the book for more details on this syntax.

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

Sidebar

Related Questions

I have just created a new project with a many-to-many relation (User-Group) and the
I have just created a new project in VS2010 using the Visual c# >
I have just created a new project with Bada SDK 2.0.2 . When creating
I have a table that we just enabled FileStreams on. We created a new
I have just created this table: create table dbo.OrderTypes ( ID smallint primary key
All - Need some insight into this issue. I have created a sample project
I just created a new project with CakePHP according to the main page you
I have just created an HTML5 page with a background image in the top
I have just created a report in Report Manager using a Stored Procedure which
i have just created a drum app. The user taps on the individual buttons

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.