Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3274

Improve schema validator error message

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      The error message in the schema validator for bi-directional relationships that miss the required "inversedBy" attribute should be improved.

      Before:

      [...] does not contain the required 'inversedBy=users' attribute.
      

      After:

      [...] does not contain the required 'inversedBy="users"' attribute.
      

      This avoids confusion with missing double quotes when copy-pasting the proposed fix.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Marco Pivetta
              Reporter:
              Steve Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: