Loading...
 
Skip to main content

Category: 19.x Regression

19.x Regression
Show subcategories objects

Name Type
jQuery Chosen not working
After activating "Chosen", form labels and selectors are broken visually and selector dropdowns are displayed as standard HTML lists, so Chosen is not working at all. (Without Chosen the forms display and function as expected.)

The version of Chosen in trunk may need to be updated. The script vendor_bundled/vendor/jquery/plugins/chosen/chosen.jquery.js says Version 1.6.2 but at packagist.org the latest non-RC version is 1.8.7.

Whatever else was done for Chosen to work with Tiki/Bootstrap 3 probably needs to be done again.

There is also a library to give Chosen selectors Bootstrap 4 styling (https://haubek.github.io/ - not on Packagist.org as far as I can tell) but that could be checked out after Chosen is functioning properly.

UPDATE: After adding chosen.css as custom.css, the selectors work and look good (well, the look like jQuery Chosen selectors, not Bootstrap 4 selectors, but they do work. So the fix seems to be to reconnect the CSS, which I'll work on. {sign user="chibaguy" datetime="2018-07-12T10:29:45+00:00"}
tracker item
Profile "Preview Changes" button brings up modal with fatal error in some cases
Some profiles bring up this fatal error when you try to preview the changes to be made:
{CODE()}
Fatal error: Uncaught TypeError: Argument 1 passed to Tiki_Profile_Installer::install() must be an instance of Tiki_Profile, boolean given, called in /var/www/clients/client1/web16/subdirs/tiki19x/admin/include_profiles.php on line 85 and defined in /var/www/clients/client1/web16/subdirs/tiki19x/lib/core/Tiki/Profile/Installer.php:409 Stack trace: #0 /var/www/clients/client1/web16/subdirs/tiki19x/admin/include_profiles.php(85): Tiki_Profile_Installer->install(false, 'all', true) #1 /var/www/clients/client1/web16/subdirs/tiki19x/tiki-admin.php(545): include_once('/var/www/client...') #2 {main} thrown in /var/www/clients/client1/web16/subdirs/tiki19x/lib/core/Tiki/Profile/Installer.php on line 409
{CODE}

__Update__
In 22.x it brings an Error alert dialog:
^__Error loading profile__
This message will move to the top of the page after a few seconds.^
tracker item
Show PHP error messages