facto icon indicating copy to clipboard operation
facto copied to clipboard

Blank pages

Open Logfro opened this issue 1 year ago • 2 comments

If you click on the pages:

  • withdrawal
  • endowment
  • any of the templates

it just returns a blank page with that js error in the browser console: java.util.NoSuchElementException: None.get

i am using the preset config on ubuntu 22.04 with temurin 11 jdk and mariadb server.

Setup didnt work for me as in #10 , but i fixed it with a simple LC_ALL=C.UTF-8 LANG=C.UTF-8 bin/server when running the server.

problem is on the demo docker config as well as on the above described system.

on a side note: cool project, will probably love to use this, thanks for your work so far <3

Logfro avatar Jan 11 '24 21:01 Logfro

Thanks for the feedback. I don't have time to look into this right now, but to unblock you, I think the pages may work when you have at least one entry

nymanjens avatar Jan 11 '24 21:01 nymanjens

I've tried to reproduce this locally, but everything worked with zero transactions.

One thing that is a bit brittle is that you need to have users defined for userLoginName values in accounting-config.yml. Could that be the problem you're having? You can find a list of users in /app/useradministration (login as admin)

nymanjens avatar Jun 11 '24 13:06 nymanjens