CRM-14369 DAO::createTestObject broken on former enum column

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: Test suite
    • Labels:
      None
    • Sprint:
      Sprint 3

      Description

      Steps to reproduce: On master, run:

      ./scripts/phpunit --filter testByID_get api_v3_SyntaxConformanceTest

      The attached log shows that it attempts to set a value of "start_action_unit_4" for the field "start_action_unit". This is invalid on two counts: (a) at the SQL level, the string is too long to fit into the column and (b) at a higher-level, it's not a valid "start_action_unit". So it generates a hard error (attached).

        Attachments

          Activity

          [CRM-14369] DAO::createTestObject broken on former enum column
          Tim Otten added a comment -

          (Meta: Futzing around while trying to get this issue on the sprint board.)

            People

            • Assignee:
              Kurund Jalmi
              Reporter:
              Tim Otten

              Dates

              • Created:
                Updated:
                Resolved: