This question has been flagged

ODOO v12e

In chatter Direct messages I've marked a message as ToDo (Star) from a person and it is showing in my Starred folder.
However, after I removed the star (Unmarked) from a message in Starred folder/ in user's direct message window and when I hit refresh page it comes back. 
I've even tried deleting the user chat but still the message keeps coming back.

Did anyone encounter similar problems, any solutions?

Avatar
Discard
Best Answer

Hi Ayanga:

Check whether the request to unmark is getting processed successfully. It may be getting blocked by your browser or a firewall.

To check:

  • Log into your system using Google Chrome, open the Discuss page and navigated to the starred messages pane.

  • Then hit Ctrl+Shift+I to open the browser's developer tools. The developer tools window will open on the right (or at the bottom or in a separate window depending on your browser settings).

  • Go to the Network tab/pane in the developer tools window. 

  • Click on Clear to clear any requests that are currently displayed.

  • Click on the star on the starred message. You will see a request called toggle_message_starred in the developer tools window on the right. Check whether it processed successfully. If not, you will need to research what is blocking the request. 

Avatar
Discard
Author

Hi Paresh,

Thank you for your answer.

I did exactly as you've described. And the Status code shows Green OK. But still after I hit page refresh starred message shows.

Following is from the network tab:

Request Method: POST

Status Code: 200 OK

Remote Address: 202.21.103.18:80

Referrer Policy: no-referrer-when-downgrade

Content-Length: 35

Content-Type: application/json

Date: Fri, 29 Nov 2019 12:43:54 GMT

Server: Werkzeug/0.11.15 Python/3.6.3

Set-Cookie: session_id=2fac3002313c9a3b7bd141b5b3ee7ced545e1b2a; Expires=Thu, 27-Feb-2020 12:43:54 GMT; Max-Age=7776000; HttpOnly; Path=/

Accept: application/json, text/javascript, */*; q=0.01

Accept-Encoding: gzip, deflate

Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,mn;q=0.7,ru;q=0.6

Connection: keep-alive

Content-Length: 146

Content-Type: application/json

Cookie: website_lang=en_US; frontend_lang=en_US; im_livechat_history=["/web/login"]; session_id=2fac3002313c9a3b7bd141b5b3ee7ced545e1b2a

Host: ____

Origin: http://____

Referer: http://____

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

X-Requested-With: XMLHttpRequest

{jsonrpc: "2.0", method: "call",…}

id: 472195450

jsonrpc: "2.0"

method: "call"

params: {args: [[214104]], model: "mail.message", method: "toggle_message_starred", kwargs: {}}

args: [[214104]]

kwargs: {}

method: "toggle_message_starred"

model: "mail.message"