Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1549

GH-232: Recursive check for entity identifiers and hashes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      Pull-Request was automatically synchronized: https://github.com/doctrine/doctrine2/pull/232

      Hi all!
      This PR will add a better support for entities with association keys.

      getType will check recursively to find a type for the identifier.
      getIndividualValue will search recursively to find the identifier value

      trygetById improved, using a recursive function to find an id value instead of implode functions (that cause exceptions if the identifier is an object and do not implements __toString method).

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Mark as improvement

        Show
        Benjamin Eberlei added a comment - Mark as improvement
        Hide
        Benjamin Eberlei added a comment -

        A related Github Pull-Request [GH-232] was
        https://github.com/doctrine/doctrine2/pull/232

        Show
        Benjamin Eberlei added a comment - A related Github Pull-Request [GH-232] was https://github.com/doctrine/doctrine2/pull/232

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: