Giter Site home page Giter Site logo

Comments (11)

xabolcs avatar xabolcs commented on May 30, 2024

Interesting.
Please provide Play version and STR!
Thanks!

from openseedbox.

gregorkistler avatar gregorkistler commented on May 30, 2024

I had this already one or two years ago, just forgot to create an issue.

Happens with Play! version 1.2.5 up to 1.2.7.2
Containerized or natively running has the same effect.

Mind if I ask what a STR is in this regard?

from openseedbox.

xabolcs avatar xabolcs commented on May 30, 2024

Steps To Reproduce. :)

Simply enabling memcached through memcached=enabled without any other configuration triggers the bug?

from openseedbox.

gregorkistler avatar gregorkistler commented on May 30, 2024

Ahh okay :)
Exactly like described there.

  1. install memcached
  2. edit applications.conf and add:
    memcached=enabled
    memcached.host=127.0.0.1:11211
  3. restart play application
  4. add a new group in the UI

Expected result:
Newly added group is visible immediately - or at least after a refresh of the page

from openseedbox.

xabolcs avatar xabolcs commented on May 30, 2024

@gregorkistler please take a look at my branch-issue-48-memcached-torrentgroups branch for proposed fix!

from openseedbox.

gregorkistler avatar gregorkistler commented on May 30, 2024

LGTM

The only time where it still happens is in the following scenario:

  1. Add a torrent to any of your existing groups
  2. Select the torrent or use the select all checkbox
  3. Click at 'With Selected' dropdown
  4. Enter any group name into the 'New Group' field and click 'Add to Group'

Expected result:
Torrent will be moved into the new group and the new group is visible at the left side.

Actual result:
You find yourself in the new group and see the moved torrent but the group is missing at the left side.
Once you click back at any other group you won´t find your torrent anymore unless you logout and login again or you append ?group=<group_name> to the URL or click the back button of the browser.

from openseedbox.

xabolcs avatar xabolcs commented on May 30, 2024

@gregorkistler next round! Thanks for catching!

from openseedbox.

gregorkistler avatar gregorkistler commented on May 30, 2024

I´ve checked out your last commit and it looks a little bit different but mostly the same than described in my previous post under 'Actual result'.

If you do the same steps 1 to 4 again you will see the following now:
You find yourself in the new group but the torrent wasn´t moved (that´s the only difference compared to the previous commit) and you still don´t see the newly created group unless you log out and log in again.

from openseedbox.

xabolcs avatar xabolcs commented on May 30, 2024

Yeah, typo.
Give it a try, please!

from openseedbox.

gregorkistler avatar gregorkistler commented on May 30, 2024

Works, thank you.

from openseedbox.

xabolcs avatar xabolcs commented on May 30, 2024

👍

from openseedbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.