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

Optin subscription - empty list #940

Closed
sreimers opened this issue Sep 6, 2022 · 7 comments
Closed

Optin subscription - empty list #940

sreimers opened this issue Sep 6, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@sreimers
Copy link

sreimers commented Sep 6, 2022

Version:

  • listmonk: 2.2.0
  • OS: Debian

Description of the bug and steps to reproduce:

Subscription works, but the list shown is empty:

https://github.com/knadh/listmonk/blob/master/static/public/templates/optin.html#L11

@sreimers sreimers added the bug Something isn't working label Sep 6, 2022
@knadh
Copy link
Owner

knadh commented Sep 9, 2022

Only Public lists are shown on the public subscription page. Are the lists that are not appearing public?

@knadh knadh added question Further information is requested and removed bug Something isn't working labels Sep 9, 2022
@sreimers
Copy link
Author

sreimers commented Sep 9, 2022

Yes the list is public. The E-Mail Template shows the list correctly.

@knadh
Copy link
Owner

knadh commented Sep 9, 2022

Ah, in that case, I am confused about what exactly is happening.

Register for subscription

Where? On the public form? On the admin dashboard? If it's on the public form, is the list visible there?

Follow E-Mail subscription link (https://example.net/e995e13b-babe-41b0-8c86-423877901cc1?l=60764b9a-175c-4d3e-bfed-79b4d8aa0e86)

Is this supposed to be the "Unsubscribe" link? Public URLs have the /subscription prefix which is missing in the example you have shared above.

@sreimers
Copy link
Author

sreimers commented Sep 9, 2022

Yes /subscription/form shows the public list.

The optin confirm page shows only this:
Bildschirmfoto vom 2022-09-09 11-23-50

@sreimers
Copy link
Author

sreimers commented Sep 9, 2022

Where? On the public form? On the admin dashboard? If it's on the public form, is the list visible there?

Public form.

@knadh knadh added bug Something isn't working and removed question Further information is requested labels Sep 10, 2022
@knadh knadh closed this as completed in 5a9e920 Sep 10, 2022
@knadh
Copy link
Owner

knadh commented Sep 10, 2022

This was indeed a bug. It's now fixed. Thanks for reporting. For the time being, you can run the fixed templates with the --static-dir flag: https://listmonk.app/docs/templating/#system-templates

@sreimers
Copy link
Author

Thanks!

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

2 participants