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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:34:23+00:00 2026-06-18T04:34:23+00:00

I am experiencing an issue here with MongoDB ODM with Doctrine: I have a

  • 0

I am experiencing an issue here with MongoDB ODM with Doctrine:
I have a form which has a fieldset say ‘A’. That fieldset ‘A’ also has another fieldset say ‘B’ which contains a select element that is being populated via the DoctrineModule’s selectObject.

According to advised principles, every model/document should have its own fieldset, fieldset A has a document ‘DA’ and fieldset ‘B’ a document ‘DB’. There is also a ReferenceOne relationship between DA and DB .i.e. DA has a property that references one DB, now this is the problem.

When i submit the form, I get a badMethodCallException.

Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::getAssociationTargetClass($assocName) is not implemented yet.

which is obvious.

Let me say that I am using the DoctrineHydrator in the form and fieldsets,like this

$this->setHydrator(new \DoctrineModule\Stdlib\Hydrator\DoctrineObject($documentManager));

followed by (in the filedsets alone)

$this->setObject($document);

Let me say that am new to this so i need to ask what can be done?

  • 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-06-18T04:34:25+00:00Added an answer on June 18, 2026 at 4:34 am

    All that was needed was to get the latest version of doctrine’s mongodb-odm
    Thanks

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

Sidebar

Related Questions

I'm experiencing a weird issue here. I have a Javascript code which scrolls my
I'm experiencing a weird issue in which I need to have a default constructor
I have started experiencing errors in WCF deserialization today - in code which has
I have some HTML that gets rendered and I'm experiencing an issue with Chrome
I have created a JSFiddle of the issue I am experiencing here: http://jsfiddle.net/9qxFK/4/ I
I'm currently experiencing the issue mentioned here (and several other places): Subsonic 3 Linq
I'm currently experiencing an issue with the custom mbean SNMP publishing function that WebLogic
I'm experiencing a weird issue in Google-Chrome that when one tab is open with
I'm using the SocketServer module for a TCP server. I'm experiencing some issue here
I'm experiencing something odd here, that I don't recall ever running into. I'm doing

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.