zikula-modules / legal Goto Github PK
View Code? Open in Web Editor NEWProvides website TOS/AUP, privacy policy, and other legal documents.
Home Page: https://github.com/zikula-modules/Legal/wiki
Provides website TOS/AUP, privacy policy, and other legal documents.
Home Page: https://github.com/zikula-modules/Legal/wiki
The following exception is triggered after install. Refs zikula/core#985
InactiveScopeException: You cannot create a service ("request") of an inactive scope ("request").
in C:\xampp\htdocs\Zikula\core_1_3_dev\src\app\cache\dev\appDevDebugProjectContainer.php line 2182
at appDevDebugProjectContainer->getRequestService() in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php line 319
at Container->get('request', '1') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php line 465
at ContainerBuilder->get('request') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\ServiceManager.php line 131
at Zikula_ServiceManager->getService('request') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\modules\Legal\Listener\UsersUiHandler.php line 70
at Legal_Listener_UsersUiHandler->__construct(object(Zikula_EventManager))
at ReflectionClass->newInstance(object(Zikula_EventManager)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\Core.php line 351
at Zikula_Core->attachEventHandler('Legal_Listener_UsersUiHandler') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\util\EventUtil.php line 138
at EventUtil::attachEventHandler('Legal_Listener_UsersUiHandler') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\util\EventUtil.php line 321
at EventUtil::loadPersistentEvents() in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\EventHandlers\SystemListeners.php line 159
at SystemListeners->systemPlugins(object(GenericEvent), 'core.init', object(Zikula_EventManager))
at call_user_func(array(object(SystemListeners), 'systemPlugins'), object(GenericEvent), 'core.init', object(Zikula_EventManager)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 164
at EventDispatcher->doDispatch(array(array(object(SystemListeners), 'sessionLogging'), array(object(SystemListeners), 'systemPlugins'), array(object(SystemListeners), 'setupAutoloaderForGeneratedCategoryModels'), array(object(SystemListeners), 'setupCsfrProtection')), 'core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 53
at EventDispatcher->dispatch('core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php line 167
at ContainerAwareEventDispatcher->dispatch('core.init', object(GenericEvent), null) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\EventManager.php line 99
at Zikula_EventManager->dispatch('core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\Core.php line 464
at Zikula_Core->init('4095', object(Zikula_Request_Http)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\index.php line 19
Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
Zikula\LegalModule\LegalModuleInstaller must implement ExtensionInstallerInterface
When creating a new user the policy accepted checkbox is checked by default. This shouldn't be the case as users have to accept the policies explicitly.
Hi,
I'm not able to translate site policies part on user registration form. Rest of the module is working with translation.
Legal and Profile modules are included in Zikula 1.4.0 distribution. For both modules translations are not working - in frontend and backend.
Related to zikula-modules/Profile#55
An attempt to install the latest build of the Legal module throws the following error:
Class ZikulaLegalModule_Installer does not exist
500 Internal Server Error - ReflectionException
https://github.com/zikula-modules/Legal/blob/master/Resources/views/plugins/function.eucookiewarning.php doesn't seem to be used anywhere. It might probably be part of an older cookiewarning implementation.
I've noticed that after upgrading the Core the user must suddenly accept the conditions.
Unfortunately the administrator has no way to control this practice. And some users might be surprised.
As we have already discussed, it would be an advantage if we ask the admin in an interactive module upgrade how to proceed.
If i try to save updated settings they do not get saved.
See zikula/core#3103
In preparation for converting the module to be database-driven instead of hard-coded and module variable-driven, separate the logic and data access layers. Model the data access layer classes in a manner compatible with the eventual implementation of Doctrine2 in version 3.0.0 of the module.
If we does not have activated the links they should not shown in the register forn, because than they they lead into the nothingness.
When the Legal form fields are displayed in the user registration form, the Gettext translation does not work.
/register
The "Reset user group's acceptance of 'Terms of use'" item should probably not be on the Settings page for Legal. It is an action, not a setting. It should probably also allow the selective resetting of the acceptance of the other policies.
It should be moved to its own item on the Legal admin page.
It would be nice to get this commit into the 1.3.x version of Legal, as there might be another 1.3.x core released some day. I can do so, if you tell me if the following is correct:
Zikula 1.4.6 ci 107
legal 3.0.0
As you may see there are several strings not translated. But they are translated in the po files propperly
translations.zip
Important Usage Note: The provided legal statements are samples only. They need to be adapted to your specific needs and locales. You will find the content of the statements in files in the "/modules/Legal/Resources/views/en" directory. These templates can be overridden by theme templates, or by global templates you would create in the "config/templates/legal/" directory (in the appropriate sub-directory for the language you are writing for).
The link "overridding" to the wiki is also wrong (404)
In a recent commit, determineAcceptanceState()
was updated to ensure that special users (e.g., admin where uid == 2) are always found to have accepted the specified policy. In that commit, the date/time string returned to signify acceptance was the beginning of the Unix Epoch. This was incorrect. To always signify acceptance, the date/time string returned should always be the latest possible date/time (e.g., now).
Zikula 1.3.7 build 722
At this page:
/index.php?module=users&type=admin&func=approveRegistration&uid=72&force=1
The following error is thrown:
"Notice: Undefined index: cancellationRight"
The current "standard" user controller functions that point to legal documents return the templated documents instead of redirecting to the customer URLs, as was added in 88cf32f
@Guite - Was there a reason you did not have the controller functions (e.g., the termsOfUse()
function in src/modules/Legal/lib/Legal/Controller/User.php) redirect to the custom URLs if they were present?
Convert the module to be database-driven, and implement this using Doctrine1 in order to remain compatible with release-1.3 and certain users' requirements to be able to run Zikula without the use of namespaces.
If "Enable cookie warning for EU Compliance" = no the cookie warning will be shown as well.
Example: http://zikula.org/library/e/postcalendar
It tries to load it from http://zikula.org/library/e/modules/Legal/Resources/public/js/jquery.cookiebar/jquery.cookiebar.js
Legal_Controller_User#privacyPolicy() checks permission on 'privacy'. it should check permission on 'privacypolicy'.
When running a command via CLI, the following error is thrown:
PHP Fatal error: Class 'Zikula\LegalModule\Listener\UsersUiListener' not found in /src/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php on line 142
PHP Stack trace:
PHP 1. {main}() /src/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /src/app/console:22
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /src/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 4. Zikula_ServiceManager->get() /src/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:86
PHP 5. Symfony\Component\DependencyInjection\ContainerBuilder->get() /src/lib/legacy/Zikula/ServiceManager.php:117
PHP 6. Symfony\Component\DependencyInjection\Container->get() /src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:464
PHP 7. appDevDebugProjectContainer->getDebug_EventDispatcherService() /src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:326
PHP 8. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->addSubscriberService() /src/app/cache/dev/appDevDebugProjectContainer.php:609
PHP 9. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->__call() /src/app/cache/dev/appDevDebugProjectContainer.php:609
PHP 10. call_user_func_array() /src/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php:188
PHP 11. Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->addSubscriberService() /src/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php:188
UsersUiHandler.php, validateEdit(), the $isRegistration
variable near line 349 (in the case where someone is logged in) appears to not be used.
The document type 'legalnotice' cannot be disabled from the admin panel settings page. When this type was added, the control used on the form was a check box. When a check box is cleared (no check mark) and submitted the control is not "successful" according to the HTML specification, and therefore no variable is added to the $_POST
variable for that control. Since no variable is set on the post, updateConfig()
's call to request->getPost()->get()
will use its default, but the default was set to true
when the code was added.
The implication of the code is that the developer expected to be returned a post variable with a value of 0 if the type was to be disabled. As described above, check boxes do not operate this way. Setting true
as the default installation active state for the type in the installer is fine, but if check boxes are to be used on the settings page, then the default for the get()
call must be false.
When validating a modified user record (either a user modifying his own, or an admin modifying any), if the uid for policy acceptance (acceptedpolicies_uid
) does not match the uid on the parent user record, then nothing bad happens, and probably should.
See if ($goodUidUser && $goodUidAcceptPolicies && ($user['uid'] == $uid)) {
near line 395 and } elseif (!$goodUidUser || !$goodUidAcceptPolicies) {
near line 411
Hi,
When logging in and policies need to be accepted an error message occurs.
https://github.com/zikula-modules/Legal/blob/master/Listener/UsersLoginVeto.php#L97
I have tried to translate it but looks like translation is not working (is this domain issue?)
Please consider to remove this error message or change it to information message as there is already similar message in templates and altogether it looks confusing.
Looking at the Legal settings admin page
/index.php?module=legalmod&type=admin&func=modifyConfig
It says "You will find the content of the statements in files in the modules/legal/pntemplates/en
directory."
However they are actually at
/modules/Legal/Resources/views/en
Update the module to be database-driven, rather than hard-coding document types and managing dynamic elements in module variables.
Zikula 1.3.7 build 718 throws this error, when trying to install the Legal module:
"ContextErrorException: Catchable Fatal Error: Argument 1 passed to Profile_Listener_UsersUiHandler::__construct() must be an instance of Zikula_EventManager, instance of Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher given in /modules/Profile/Listener/UsersUiHandler.php line 65"
Even though the error message says "Profile" in the module path, I did attempt to install the "Legal" module.
Hi,
When forcing acceptance of site policies for user there is form to accept those.
Every policy have url to show policy when it is set to default ones it shows only http://www.mysite.com/termsOfUseUrl
When a new user has been created by an admin he needs to accept site policies during his initial login. This setting is not correctly saved though.
@craigh This is a blocker for the 1.4.4 release.
The Zikula core supports Webshim, which is a polyfill library that enables you to reliably use HTML5 features across browsers, even if native support is lacking.
The module Legal should be updated to take advantage of its features.
Also, the module Legal can potentially add additional custom validations, by just attaching to the "blur" event on fields.
Refs. zikula/core#2377
If the Legal module is installed and running, then I cannot check "my entries" in the user administration.
The current reset acceptance function is broken. It uses the old method of setting the Users module's activated
field to a value of 2
, which once signified that the user had to re-accept the terms and conditions. That method is no longer used. It should instead reset the appropriate attribute on the user's record. For the current limited functionality of resetting the terms of use, it should reset the Legal_Constant::ATTRIBUTE_TERMSOFUSE_ACCEPTED
attribute on the user record to an empty value.
In an attempt to streamline the User Registration form, combine all of the checkboxes from the Legal module (Terms of Use, Privacy Policy, etc.) into one checkbox that the user needs to check. You will still have information and links next to the checkbox, to explain what items are represented.
In the back-end, if this one checkbox is checked, then you can still store the acceptance into separate values for each item represented.
This will help to have the user register at the site faster, and with less clicks needed.
When the User Registration form is submitted, the "Legal" checkboxes do not retain their checked state, if the form is returned to the user in the event of form validation errors in other fields that may exist elsewhere in the form.
The user should not need to re-check the checkboxes, if they have already checked them.
Upgrade the code base to core Zikula version 1.4. Remove all deprecated function calls, class access, and other constructs. Ensure that the new code base operates under core version 1.4 without requiring legacy or compatibility layers, and does not generate PHP errors or warnings.
When you set the module var "legalNoticeActive" to true here:
index.php?module=legalmod&type=admin&func=modifyConfig
It doesn't do anything in the User Registration form. Even when you set a value for "legalNoticeUrl", it still does not display anything.
creating a new user is showing this issue:
see also zikula/core#3253
[1] Twig_Error_Runtime: Key "termsOfUse" does not exist as the array is empty in "@ZikulaLegalModule/Include/acceptPolicies.html.twig" at line 13.
at n/a
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 552
at Twig_Template->getAttribute(array(), 'termsOfUse', array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/6f/6f1d018c2f2ac52cd8b7516c9af6871f233936feb7a871b59ad35997681248ef.php line 55
at __TwigTemplate_d1925e03647dc05dfd520deef71209d3030f2f0fe5c98ebe1f140766418a79de->doDisplay(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428
at Twig_Template->displayWithErrorHandling(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396
at Twig_Template->display(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407
at Twig_Template->render(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Extension/Core.php line 1396
at twig_include(object(Twig_Environment), array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), '@ZikulaLegalModule/Include/acceptPolicies.html.twig')
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/47/47fcc8ba9ae8db006b51087c74c3fba3d4eb7c0937a1a6317b4eb6758c8353cf.php line 34
at __TwigTemplate_1404b4d5f1e99317ed5b300bd8b3f06fddf0e21f10a1271a0c5adfcbaee934c3->doDisplay(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428
at Twig_Template->displayWithErrorHandling(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396
at Twig_Template->display(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407
at Twig_Template->render(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Environment.php line 362
at Twig_Environment->render('@ZikulaLegalModule/UsersUI/editRegistration.html.twig', array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/modules/zikula/legal-module/Listener/UsersUiListener.php line 274
at Zikula\LegalModule\Listener\UsersUiListener->uiEdit(object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(TraceableEventDispatcher))
in line
at call_user_func(array(object(UsersUiListener), 'uiEdit'), object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(TraceableEventDispatcher))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(Zikula_EventManager))
in line
at call_user_func(object(WrappedListener), object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(Zikula_EventManager))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 184
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener)), 'module.users.ui.form_edit.new_registration', object(GenericEvent))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 46
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent), null)
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/legacy/Zikula/EventManager.php line 95
at Zikula_EventManager->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/Zikula/Bundle/CoreBundle/Twig/Extension/SimpleFunction/DispatchEventSimpleFunction.php line 41
at Zikula\Bundle\CoreBundle\Twig\Extension\SimpleFunction\DispatchEventSimpleFunction->dispatchEvent('module.users.ui.form_edit.new_registration')
in line
at call_user_func_array(array(object(DispatchEventSimpleFunction), 'dispatchEvent'), array('module.users.ui.form_edit.new_registration'))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/a6/a64b9cc349f30b5181e1cfc30fd26e825adf7800c6b3f616931cfcc545d20634.php line 128
at __TwigTemplate_a1d17e2d3a4433116ae209999791066a03c6a0dfe795281ecae2e414fad10220->doDisplay(array('form' => object(FormView), 'domain' => 'zikula', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428
at Twig_Template->displayWithErrorHandling(array('form' => object(FormView), 'domain' => 'zikula', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396
at Twig_Template->display(array('form' => object(FormView), 'domain' => 'zikula'))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407
at Twig_Template->render(array('form' => object(FormView), 'domain' => 'zikula'))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/system/ThemeModule/Bridge/Twig/EventEnabledTwigEngine.php line 49
at Zikula\ThemeModule\Bridge\Twig\EventEnabledTwigEngine->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 97
at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'), null)
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 185
at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'), null)
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/Zikula/Core/Controller/AbstractController.php line 99
at Zikula\Core\Controller\AbstractController->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView)))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/system/UsersModule/Controller/RegistrationController.php line 178
at Zikula\UsersModule\Controller\RegistrationController->registerAction(object(Zikula_Request_Http))
in line
at call_user_func_array(array(object(RegistrationController), 'registerAction'), array(object(Zikula_Request_Http)))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 144
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Zikula_Request_Http), '1')
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Zikula_Request_Http), '1', true)
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69
at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Zikula_Request_Http), '1', true)
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185
at Symfony\Component\HttpKernel\Kernel->handle(object(Zikula_Request_Http))
in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/index.php line 23
At the User Registration form here:
/index.php?module=users&type=user&func=register
perhaps it will be better to have the Legal info for "Terms of Use" and "Privacy Policy" open in a Bootstrap modal, instead of a new window.
Describe the bug
During registration, after checking entries, if there are errors with the legal fields (unchecked boxes, e.g.), the fields are not highlighted as expected with error information.
Fix CS violations and modernize for 1.3
When the Legal module is inactive, the form fields still display at the User Registration form. They should not be displayed.
Latest changes now throw this error:
Class Legal_Installer does not exist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.