chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Announcements: email_sent icon and database field not updated

Open jderriks opened this issue 9 years ago • 5 comments

Current behavior / Resultado actual / Résultat actuel

When an announcement is sent by mail, the email icon used to appear in the announcement list but it doesn't anymore.

Expected behavior / Resultado esperado / Résultat attendu

Email icon should be shown when announcement was sent by email and c_announcement table field sent_email should NOT be NULL

Steps to reproduce / Pasos para reproducir / Étapes pour reproduire

Send an announcement, check "send by email", watch it send by mail and look at the announcement list: no icons anymore.

Chamilo Version / Versión de Chamilo / Version de Chamilo

1.11.2+ (somehere in 2016 this got broken and still broken in 1,11.4alpha)

This is what the email icon in announcements look like when email_sent is not null:

afbeelding

jderriks avatar Apr 24 '17 22:04 jderriks

@jderriks What is the purpuse of the icon:

  • To notify when the announcement has been sent ? OR
  • To see the field below is checked ? image

sjcqs avatar Apr 28 '17 14:04 sjcqs

@SatyanJ Good question. In older 1.11 versions it used to mark messages that have been sent BY EMAIL. So the purpose is indeed to see if the "send by email" was used and the announcement was send by mail instead of just posted in the chamilo box. There is code to set this field but it is never called (dead code).

jderriks avatar Apr 28 '17 22:04 jderriks

Postponing to 1.11.6 because not critical. Very likely to be fixed soon after 1.11.4 release.

ywarnier avatar May 24 '17 21:05 ywarnier

Fix added. You need to send again an announcement, then the icon will appear.

jmontoyaa avatar Dec 11 '17 08:12 jmontoyaa

It looks good to me now. Closing.

ywarnier avatar Dec 14 '17 15:12 ywarnier