Giter Site home page Giter Site logo

me.vara.civialerts's People

Contributors

lcdservices avatar mr-vara avatar

Stargazers

 avatar

Watchers

 avatar

me.vara.civialerts's Issues

Fatal Error for Anonymous User

With this extension anonymous users get a fatal error when trying to access an event registration page. Here is the error:

`
CiviCRM_API3_Exception: "A fatal error was triggered: is not of type Text"

#0 /var/aegir/platforms/civicrm4/CustomExtensions/me.vara.civialerts/civialerts.php(26): civicrm_api3("CiviAlerts", "get", (Array:2))
#1 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Utils/Hook.php(282): civialerts_civicrm_alterContent("<!-- .tpl file invoked: CRM/Event/Form/Registration/Register.tpl. Call via fo...", "form", "CRM/Event/Form/Registration/Register.tpl", Object(CRM_Event_Form_Registration_Register))
#2 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Utils/Hook/DrupalBase.php(84): CRM_Utils_Hook->runHooks((Array:88), "civicrm_alterContent", 4, "<!-- .tpl file invoked: CRM/Event/Form/Registration/Register.tpl. Call via fo...", "form", "CRM/Event/Form/Registration/Register.tpl", Object(CRM_Event_Form_Registration_Register), NULL, NULL)
#3 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php(98): CRM_Utils_Hook_DrupalBase->invokeViaUF(4, "<!-- .tpl file invoked: CRM/Event/Form/Registration/Register.tpl. Call via fo...", "form", "CRM/Event/Form/Registration/Register.tpl", Object(CRM_Event_Form_Registration_Register), NULL, NULL, "civicrm_alterContent")
#4 internal function: Civi\Core\CiviEventDispatcher::delegateToUF(Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_alterContent", Object(Civi\Core\CiviEventDispatcher))
#5 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func((Array:2), Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_alterContent", Object(Civi\Core\CiviEventDispatcher))
#6 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch((Array:1), "hook_civicrm_alterContent", Object(Civi\Core\Event\GenericHookEvent))
#7 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php(167): Symfony\Component\EventDispatcher\EventDispatcher->dispatch("hook_civicrm_alterContent", Object(Civi\Core\Event\GenericHookEvent))
#8 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php(47): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch("hook_civicrm_alterContent", Object(Civi\Core\Event\GenericHookEvent))
#9 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Utils/Hook.php(164): Civi\Core\CiviEventDispatcher->dispatch("hook_civicrm_alterContent", Object(Civi\Core\Event\GenericHookEvent))
#10 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Utils/Hook.php(1520): CRM_Utils_Hook->invoke((Array:4), "<!-- .tpl file invoked: CRM/Event/Form/Registration/Register.tpl. Call via fo...", "form", "CRM/Event/Form/Registration/Register.tpl", Object(CRM_Event_Form_Registration_Register), NULL, NULL, "civicrm_alterContent")
#11 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(144): CRM_Utils_Hook::alterContent("<!-- .tpl file invoked: CRM/Event/Form/Registration/Register.tpl. Call via fo...", "form", "CRM/Event/Form/Registration/Register.tpl", Object(CRM_Event_Form_Registration_Register))
#12 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(99): CRM_Core_QuickForm_Action_Display->renderForm(Object(CRM_Event_Form_Registration_Register))
#13 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Event_Form_Registration_Register), "display")
#14 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Event_Form_Registration_Register), "display")
#15 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("display")
#16 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/Invoke.php(309): CRM_Core_Controller->run((Array:3), NULL)
#17 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:15))
#18 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#19 /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/drupal/civicrm.module(445): CRM_Core_Invoke::invoke((Array:3))
#20 /var/aegir/platforms/civicrm4/includes/menu.inc(527): civicrm_invoke("event", "register")
#21 /var/aegir/platforms/civicrm4/index.php(21): menu_execute_active_handler()
#22 {main}
`

Screen Reader accessibility

When a screen reader reads this page I believe it should read the pop up alert first. Currently the pop up doesn't get read at all it just reads the page behind

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.