AtlasOfLivingAustralia / logger-service

Atlas event logging
https://logger.ala.org.au
1 stars 8 forks source link

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

Open Rita-C opened 3 years ago

Rita-C commented 3 years ago

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?