Skip to content
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

Nextcloud Read/Unread Sync not working #59

Closed
haering opened this issue Sep 12, 2016 · 6 comments
Closed

Nextcloud Read/Unread Sync not working #59

haering opened this issue Sep 12, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@haering
Copy link

haering commented Sep 12, 2016

Brief description of the issue.

Using RSS Guard with Nextcloud doesn't update read state.

How to reproduce the bug?

  1. Have a Nextcloud Install with news plugin
  2. Add to RSS Guard
  3. Try to mark as read

What is the expected result?

The read state of the news item change.

What actually happened?

The read state of the news item didn't change.

Other information (logs, see Wiki)

It has something to do with the ID RSS Guard gives for the item. As you can see it tries to select the item with id 3 but the actual id is far greater than that. If you remove the nextcloud sync and add it again to RSS Guard you can observe that the ids start at 1 everytime.
Mysql log from Nextcloud:
SELECT``items``.* FROM``oc_news_items`` items ... ANDitems.id = 3
Apache Log:
"PUT /index.php/apps/news/api/v1-2/items/read/multiple HTTP/1.1" 500 15448 "-" "RSS Guard/3.3.4 (github.com/martinrotter/rssguard)"

@guy-talbot
Copy link

I have the same issue with Owncloud

@martinrotter
Copy link
Owner

OK. I am downloading NextCloud and I will try it out.

@martinrotter martinrotter added this to the 3.3.5 milestone Sep 13, 2016
@martinrotter martinrotter self-assigned this Sep 13, 2016
martinrotter added a commit that referenced this issue Sep 13, 2016
@martinrotter martinrotter added the Status-Fixed Ticket is resolved. label Sep 13, 2016
@martinrotter
Copy link
Owner

Bug is fixed in [dev] branch. I will release 3.3.5 soon. Testing build will get now compiled. See Wiki/Development builds for more info.

You can test it, let me know if it works for you. To fix the bug with existing account, you need to REMOVE the Nextcloud account from RSS Guard and add it again.

@martinrotter
Copy link
Owner

Testing windows build.

@haering
Copy link
Author

haering commented Sep 13, 2016

It's working now. Thanks for your fast fix.

@haering haering closed this as completed Sep 13, 2016
@guy-talbot
Copy link

It's working for me to. Thanks for your fast fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants