Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9395

validate hook does not return errors array properly in J16+

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      in Joomla 1.6+, the validate hook does not work correctly. while the hook itself is recognized, the errors array that should be returned is ignored by the form and so no validation occurs. the error would impact any hooks that work by returning a value to the parent code rather than handling with variables passed by reference (the more common behavior).

      see also: http://forum.civicrm.org/index.php/topic,22781.0.html

        Attachments

          Activity

            People

            • Assignee:
              lcdweb Brian Shaughnessy
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: