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
The notification aren't shown, seems that is missing 'flashed' in the rules() [['id', 'key_id', 'created_at'], 'safe'],
changed in [['id', 'key_id', 'created_at', 'flashed'], 'safe'],
now it shows all the notification
The text was updated successfully, but these errors were encountered:
Hi, we have tested deeper the code.
The problem isn't in the model, but in the poll action.
ORACLE doesn't manage boolean value in the db so we must use INTEGER dataType with 0/1 values.
The notification are displayed with this modifications:
The double quotes are required from ORACLE but it is better that the management of this is demanded to connection to the db, so the first correction we made is wrap the condition around []
``
$seen = $seen ? 1 : 0;
I have override the notify() function because I needed to return the instance of the notfication, so I have added the 'flashed'=>0 default value when saving a new notification.
And now it works.
The notification aren't shown, seems that is missing 'flashed' in the rules()
[['id', 'key_id', 'created_at'], 'safe'],
changed in
[['id', 'key_id', 'created_at', 'flashed'], 'safe'],
now it shows all the notification
The text was updated successfully, but these errors were encountered: