Hello …
when I publish message to a channel I’m getting error , the error code is 15000 , and the message is 'Custom business logic the execution has been terminated because it didn’t complete in permitted time - 20 seconds "
And after I’m publishing the message I’m saving it to data table (because the message will be deleted from the channel after few seconds for that I’m saving it to data table )
Hello!
This exception is thrown if it takes too long to execute your custom code. Do you have such problems with other event handlers, or only with this one? Try re-checking your code for this event.
Best regards, Alex
Ok, then can you please provide here a piece of code where you publish and save the message? Also verify in console BL tab that you don’t have any handlers for messaging or data service either in debug or production mode.
Please I want to ask question : if I save object is string and it contains emoji then in the table the emojis are shown like question mark how I can display the emojis ?
We have investigated this issue. Our database charset is utf8_general_ci and emojis cannot be properly saved for this encoding.
For your case, at the time of saving message you can substitute emoji with custom valid char sequence. When message is going to be displayed you can look for char sequence and conversely substitude with emoji.