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

Update log source type database Id for "ALA" entry #36

Open
Rita-C opened this issue Aug 5, 2021 · 0 comments
Open

Update log source type database Id for "ALA" entry #36

Rita-C opened this issue Aug 5, 2021 · 0 comments

Comments

@Rita-C
Copy link
Contributor

Rita-C commented Aug 5, 2021

Screen Shot 2021-08-04 at 3 37 41 pm

ALA is assigned database ID 0.

As shown above, the link to ALA logSourceType is ...../logSourceType/index not ..../logSourceType/show/0 as expected. It seems the scaffolding in this Grails version interprets ID 0 differently.

The recommended fix is to update its ID to an non-zero value. Also, historical stats will need to be "fixed" so comparing stats before and after ID change should give expected results.
We might also add a "catch" for any requests that still use ID:0 to inset with new ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant