owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

After search items not marks as read #935

Closed Loki3000 closed 8 years ago

Loki3000 commented 8 years ago

Explain the Problem

While scrolling search result items not marks as readed.

Steps to Reproduce

  1. open news on OC
  2. select feed
  3. click search icon and enter search string. Hit Enter (appears search result)
  4. scroll items. Scrolled items not marks as readed.
  5. Hit F5. Page refreshes.
  6. scroll items and now scrolled items marks as readed.

    System Information

    • News app version: 7.1.2
    • ownCloud version: 9.0.0
    • PHP version: 5.5.9
    • Database and version: 5.5.47
    • Browser and version: FF 45.0

      Contents of Browser Error Console

TypeError: e is null   jquery.min.js:4:5189
TypeError: lastResults is null  search.js:260:1
BernhardPosselt commented 8 years ago

Can not reproduce. The JavaScript errors are not related to our code and are not triggered on my test instance

Loki3000 commented 8 years ago

It was core search error (https://github.com/owncloud/core/issues/23182#issuecomment-196722628). It hangs JS error, so news app stop working properly. After fixing all works well.