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

unable to edit existing subscription #2

Closed
HendrikHaase opened this issue Nov 10, 2023 · 5 comments
Closed

unable to edit existing subscription #2

HendrikHaase opened this issue Nov 10, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@HendrikHaase
Copy link

HendrikHaase commented Nov 10, 2023

mounted via portainer, docker-compose

version: '3.3'
services:
  wallos:
    container_name: wallos
    volumes:
      - wallos-db:/var/www/html/db
      - wallos-logos:/var/www/html/images/uploads/logos
    environment:
      - TZ=Europe/Berlin
    ports:
      - 8282:80
    restart: unless-stopped
    image: 'bellamy/wallos:latest'
volumes:
  wallos-db:
    driver: local
  wallos-logos:
    driver: local

registration of first user works
login/logout works
adding subscriptions is working
can't edit subscriptions tho.

"Error
Failed to load subscription"

the get.php call returns a 200 with a valid json, example

{
    "id": 2,
    "name": "Spotify",
    "logo": null,
    "price": 14.99,
    "currency_id": 1,
    "next_payment": "2023-11-20",
    "frequency": 1,
    "cycle": 3,
    "notes": "",
    "payment_method_id": 1,
    "payer_user_id": 1,
    "category_id": 3,
    "notify": 0
}

but thats it.

@ellite ellite self-assigned this Nov 10, 2023
@ellite ellite added the bug Something isn't working label Nov 10, 2023
@ellite
Copy link
Owner

ellite commented Nov 10, 2023

I'm able to replicate it. Will try to fix it ASAP.
Thank you for the report.

@ellite
Copy link
Owner

ellite commented Nov 10, 2023

Should be fixed: 92da655
Please pull the latest docker image.

@esmoyer
Copy link

esmoyer commented Nov 10, 2023

I'll chime in on this. I did initially get the error when trying to edit my first one after your latest commit, but I did a refresh of the page and it now seems to be working. Even after adding a couple others!

@ellite
Copy link
Owner

ellite commented Nov 10, 2023

That makes sense. It was a JS change and was probably still cached by the browser.
Thanks for testing.

@HendrikHaase
Copy link
Author

Fixed.

Appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants