You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using API GPL, announcement module, if repeat_msg is set for example in the request allAnnouncements, there is occured.
Indeed, repeat_msg expecting to get int() but it receives an empty string.
This item need to be empty for disable status or be set to 0, 1, 2 ......
So, if the annoucement is disabled (empty) there is a type error (string instead of int).
Even if this item receives a digit or numeric data, it needs to accept an empty data. So, it should be string anyway.
The doc doesn't exist on the wiki regarding annoucement.
It will be useful to write one.
FreePBX Version
FreePBX 16 and 17
Issue Description
Using API GPL, announcement module, if repeat_msg is set for example in the request allAnnouncements, there is occured.
Indeed, repeat_msg expecting to get int() but it receives an empty string.
This item need to be empty for disable status or be set to 0, 1, 2 ......
So, if the annoucement is disabled (empty) there is a type error (string instead of int).
Even if this item receives a digit or numeric data, it needs to accept an empty data. So, it should be string anyway.
The doc doesn't exist on the wiki regarding annoucement.
It will be useful to write one.
Operating Environment
announcement - 16.0.7
The issue is present on 17 too.
Relevant log output
The text was updated successfully, but these errors were encountered: