-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscription request returns null #788
Comments
null is correct. Returncode 200 says, subscription set, 404 says not set. |
Ah I see. Will have a look why the checkbox sometimes indicates a wrong state. |
@dartcafe I've tested a bit around (still on 1.1.5, sorry) and it looks like the request to polls/src/js/views/PublicVote.vue Lines 104 to 108 in c74ca32
? |
Ok, I'm still figuering things out here... Sorry not too familiar with Vue. Have a look at the following:
I guess when a poll is selected the |
The subscription is loaded on mounting the component. But there has to be a watcher on route changes. |
fixed in beta3 |
After setting the notification checkbox on the poll site, the notification is correctly saved, but after a reload, the checkbox is gone again (though notifications are still working!). I've seen that a call to
![image](https://user-images.githubusercontent.com/1580193/73175486-9431ee00-410a-11ea-88ea-08c9d84f9a94.png)
subscription/get
returns null:Here's output of oc_polls_notif:
In this case I am user2. I had a quick look through the code, but didn't see anything obvious to me.
The text was updated successfully, but these errors were encountered: