Bugs with Message Center

Situation
When the message status in the Message Center was changed to Done, Forwarded or Read, the Message Center became blank and nothing happened.
Specifically, when a message is opened from the Message Center and status was changed to “Done”, the Message Center became blank. When the tab is refreshed, the message still remains in the Message Center and it doesn’t get cleared. Only when I go the particular patient’s Dashboard and click Completed on the Message then it gets cleared in the Message Center.
I’m able to repeat this in the Main EMR demo: https://demo.openemr.io/openemr

OpenEMR Version
I’m using OpenEMR version 7.0.2 (1)

Browser:
I’m using: Firefox, Vivaldi

Operating System
I’m using: Debian

Search
Did you search the forum for similar questions? Yes

Logs
Did you check the logs? Yes
Was there anything pertinent in them? Not that I can tell, no database entry was made with Forwarded, Done, or Read.
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

The Message Center in version 7.0.2 (1) is quite buggy. Our clinic uses the Message Center a lot to communicate new labs, results, and internal communication so I really appreciate any help. Another thing that I noticed if a document is linked with the message, if the receiver clicked on the document link, a blank patient profile with the name and dob will show up on the dashboard, but there is no encounter to select even though the patient has had many encounters. The dob will show up under the patient’s name but it’s in a different format than usual and it is without the age. Please see screenshot.

hi @ninjatx, thanks for the report, for your first issue, there’s a typo bug in this line, sorry about that.

change it to

if (checkPnotesNoteId($noteid, $_SESSION['authUser'])) {

please

I tested it on our server and it fixed the problem! Thank you so much!! It saves us from so much frustration.

1 Like