news icon indicating copy to clipboard operation
news copied to clipboard

Feed item lists are merged when filtered

Open stmichalke opened this issue 1 year ago • 6 comments

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • [ x] I have read the CONTRIBUTING.md and followed the provided tips
  • [ x] I accept that the issue will be closed without comment if I do not check here
  • [ x] I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

Several feed item lists are merged after switching from the filtered view (unread) to another list.

Steps to Reproduce

Explain what you did to encounter the issue

  1. Open a feed.
  2. Filter the unread items.
  3. Open another feed.
  4. The two feeds are now entangled.
  5. Unfilter again.
  6. Only items of the last feed are displayed.
  7. Filter the unread items again.
  8. Everything is fine.

System Information

  • News app version: 25.0.0-alpha2
  • Nextcloud version: 28.0.1.1
  • Cron type: system cron
  • PHP version: 8.2.7
  • Database and version: PostgreSQL 16.1
  • Browser and version: Firefox 120.1.1 for Android
  • OS and version: Debian 12.4
Contents of nextcloud/data/nextcloud.log

{"reqId":"OP4pxVvhG1RdfuRXo5rO","level":4,"time":"2023-12-21T17:45:36+00:00","remoteAddr":"","user":"","app":"no app in context","method":"GET","url":"/apps/news/items?limit=40&oldestFirst=false&search=&showAll=true&type=0&offset=1185831&id=293","message":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()","userAgent":"Mozilla/5.0 (Android 13; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0","version":"28.0.1.1","exception":{"Exception":"Error","Message":"Call to undefined method OC\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"<doc_root>/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\Metadata\AppInfo\Application","type":"->"},{"file":"<doc_root>/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"<doc_root>/lib/private/App/AppManager.php","line":213,"function":"loadApp","class":"OC\App\AppManager","type":"->"},{"file":"<doc_root>/lib/private/legacy/OC_App.php","line":125,"function":"loadApps","class":"OC\App\AppManager","type":"->"},{"file":"<doc_root>/lib/base.php","line":1049,"function":"loadApps","class":"OC_App","type":"::"},{"file":"<doc_root>/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"<doc_root>/apps/metadata/lib/AppInfo/Application.php","Line":28,"message":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()"}} {"reqId":"BGJrPLckNTOsDph1JMVE","level":4,"time":"2023-12-21T17:45:38+00:00","remoteAddr":"","user":"","app":"no app in context","method":"GET","url":"/apps/news/items?limit=40&oldestFirst=false&search=&showAll=true&type=0&offset=1185831&id=293","message":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()","userAgent":"Mozilla/5.0 (Android 13; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0","version":"28.0.1.1","exception":{"Exception":"Error","Message":"Call to undefined method OC\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"<doc_root>/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\Metadata\AppInfo\Application","type":"->"},{"file":"<doc_root>/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"<doc_root>/lib/private/App/AppManager.php","line":213,"function":"loadApp","class":"OC\App\AppManager","type":"->"},{"file":"<doc_root>/lib/private/legacy/OC_App.php","line":125,"function":"loadApps","class":"OC\App\AppManager","type":"->"},{"file":"<doc_root>/lib/base.php","line":1049,"function":"loadApps","class":"OC_App","type":"::"},{"file":"<doc_root>/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"<doc_root>/apps/metadata/lib/AppInfo/Application.php","Line":28,"message":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot metadata: Call to undefined method OC\Server::getEventDispatcher()"}}

Contents of Browser Error Console n.a. in mobile version

Screenshot

stmichalke avatar Dec 21 '23 17:12 stmichalke