Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2: El Chat tool in a course is not working : can not send a message to all or to a specific user #5712

Open
NicoDucou opened this issue Aug 7, 2024 · 1 comment

Comments

@NicoDucou
Copy link
Member

On the 2024/08/07 in Chamilo Master when opening the chat tool in a course it gives the following error :

Variable "emoji_smile" does not exist.
Twig\Error\
RuntimeError
Show exception properties
in src/CoreBundle/Resources/views/Chat/chat.html.twig (line 38)
<li><a href="#tab2" id="preview" data-toggle="tab">{{ 'Preview'|get_lang }}</a></li><li><button id="emojis" class="btn btn-link" type="button"><span class="sr-only">{{ 'Emoji'|get_lang }}</span>{{ emoji_smile }}</button></li></ul><div class="tab-content"><div class="tab-pane active" id="tab1">
in [var/cache/dev/twig/e4/e4a73e18d4d9ad6bd0b1e727d7e995c7.php ](file:///var/www/testing24.beeznest.com/www/var/cache/dev/twig/e4/e4a73e18d4d9ad6bd0b1e727d7e995c7.php#L128)-> {closure} (line 128)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L430)-> block_content (line 430)
in [var/cache/dev/twig/4b/4bd40e42e9e87cc7a8b10f9966ba725a.php ](file:///var/www/testing24.beeznest.com/www/var/cache/dev/twig/4b/4bd40e42e9e87cc7a8b10f9966ba725a.php#L77)-> yieldBlock (line 77)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L430)-> block_chamilo_wrap (line 430)
in [var/cache/dev/twig/4d/4d98c376a7675b79a8743fc5f0434bbd.php ](file:///var/www/testing24.beeznest.com/www/var/cache/dev/twig/4d/4d98c376a7675b79a8743fc5f0434bbd.php#L79)-> yieldBlock (line 79)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L360)-> doDisplay (line 360)
in [var/cache/dev/twig/4b/4bd40e42e9e87cc7a8b10f9966ba725a.php ](file:///var/www/testing24.beeznest.com/www/var/cache/dev/twig/4b/4bd40e42e9e87cc7a8b10f9966ba725a.php#L51)-> yield (line 51)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L360)-> doDisplay (line 360)
in [var/cache/dev/twig/e4/e4a73e18d4d9ad6bd0b1e727d7e995c7.php ](file:///var/www/testing24.beeznest.com/www/var/cache/dev/twig/e4/e4a73e18d4d9ad6bd0b1e727d7e995c7.php#L49)-> yield (line 49)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L360)-> doDisplay (line 360)
in [vendor/twig/twig/src/Template.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Template.php#L335)-> yield (line 335)
in [vendor/twig/twig/src/TemplateWrapper.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/TemplateWrapper.php#L38)-> render (line 38)
in [vendor/twig/twig/src/Environment.php ](file:///var/www/testing24.beeznest.com/www/vendor/twig/twig/src/Environment.php#L307)-> render (line 307)
in [vendor/symfony/framework-bundle/Controller/AbstractController.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/framework-bundle/Controller/AbstractController.php#L448)-> render (line 448)
in [vendor/symfony/framework-bundle/Controller/AbstractController.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/framework-bundle/Controller/AbstractController.php#L453)-> doRenderView (line 453)
in [vendor/symfony/framework-bundle/Controller/AbstractController.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/framework-bundle/Controller/AbstractController.php#L253)-> doRender (line 253)
AbstractController->render()
in [src/CoreBundle/Controller/ChatController.php ](file:///var/www/testing24.beeznest.com/www/src/CoreBundle/Controller/ChatController.php#L39)(line 39)
in [vendor/symfony/http-kernel/HttpKernel.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/http-kernel/HttpKernel.php#L181)-> index (line 181)
in [vendor/symfony/http-kernel/HttpKernel.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/http-kernel/HttpKernel.php#L76)-> handleRaw (line 76)
in [vendor/symfony/http-kernel/Kernel.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/http-kernel/Kernel.php#L197)-> handle (line 197)
in [vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php ](file:///var/www/testing24.beeznest.com/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php#L35)-> handle (line 35)
in [vendor/autoload_runtime.php ](file:///var/www/testing24.beeznest.com/www/vendor/autoload_runtime.php#L29)-> run (line 29)
require_once('/var/www/testing24.beeznest.com/www/vendor/autoload_runtime.php')
in [public/index.php ](file:///var/www/testing24.beeznest.com/www/public/index.php#L8)(line 8)
@christianbeeznest christianbeeznest self-assigned this Aug 20, 2024
christianbeeznest added a commit to christianbeeznest/chamilo-lms that referenced this issue Aug 20, 2024
christianbeeznest added a commit that referenced this issue Aug 20, 2024
Internal: Fix chat emoji handling and user ID references - refs #5712
@NicoDucou NicoDucou changed the title C2: El Chat tool in a course give error when opening C2: El Chat tool in a course is not working : can not send a message to all or to a specific user Aug 21, 2024
@NicoDucou
Copy link
Member Author

There is no more error with the chat tool when opening but the tool is still not working.
The display is incorrect, we should see tabs at the top, then on the left the list of users in the course to be able to send a message to one of them or to all.
The box to send a message is there but when clicking on Send nothing happens.

@NicoDucou NicoDucou removed their assignment Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants