Chamilo-lms: FBCKComplete is not supported anymore

Created on 11 May 2017  路  9Comments  路  Source: chamilo/chamilo-lms

Current behavior

As admin, looking at a skills wheel with some skills, the search box for skills calls the skill.ajax.php file and gets a list of results but does not offer auto-complete.

Expected behavior

A list of the different possibilities should appear in a dropbox.

Steps to reproduce

Create a few skills.
Go to the skills wheel.
Search for one of the skills created.
No auto-complete takes effect (it did in version 1.11.2).

Chamilo Version

1.11.x

Bug Requires testinvalidation

All 9 comments

Search by ajax from FCBKComplete stopped working maybe by jQuery version

FCBKcomplete is deprecated 馃槩 I'm switching to select2.
But there are more places where we are using FCBKComplete, like extrafield of type tag

FBCKComplete now is replaced with Select2

Something is wrong after this changes. Try creating a user and you will see a lot of warnings/notices:

Warning: PDO::quote() expects parameter 1 to be string, array given in /var/www/html/chamilo_111/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 115
Call Stack

Time Memory Function Location

1 0.0011 389456 {main}( ) .../user_add.php:0
2 0.3365 10146600 UserManager::create_user( ) .../user_add.php:436
3 0.4772 12125840 UserManager::update_extra_field_value( ) .../usermanager.lib.php:394
4 0.4772 12127224 ExtraFieldValue->save( ) .../usermanager.lib.php:2095
5 0.4777 12131384 ExtraFieldValue->getAllValuesByItemAndFieldAndValue( ) .../extra_field_value.lib.php:398
6 0.4777 12131384 Database::escape_string( ) .../extra_field_value.lib.php:832
7 0.4777 12131384 Doctrine\DBAL\Connection->quote( ) .../database.lib.php:241
8 0.4777 12131384 Doctrine\DBAL\Driver\PDOConnection->quote( ) .../Connection.php:771
9 0.4777 12131384 quote ( ) .../PDOConnection.php:115

Notice: Undefined index: display_text in /var/www/html/chamilo_111/main/inc/lib/extra_field_option.lib.php on line 768

Notice: Undefined index: id in /var/www/html/chamilo_111/main/inc/lib/extra_field_value.lib.php on line 461

In the user form I cannot add new tags also ...
selection_004

I did a composer update too ...

Try now with the last commit

Looks good to me now. Closing. I tested skills search, user tags and course templates selection

I confirm, now I don't see the warnings and the js error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AulaBit picture AulaBit  路  6Comments

ghost picture ghost  路  5Comments

baelmyhu picture baelmyhu  路  3Comments

yourKatharsis picture yourKatharsis  路  7Comments

bassuma picture bassuma  路  3Comments