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

Logging: Missing or incomplete language bundles generates far too much logging, could maybe be more helpful or improve doc. #8446

Closed
kcondon opened this issue Feb 22, 2022 · 2 comments

Comments

@kcondon
Copy link
Contributor

kcondon commented Feb 22, 2022

In the process of testing various language, custom metadata blocks, metadata languages, and custom controlled vocabulary, I've accumulated some non standard bits around metadata. Although I try to cleanly configure/unconfigure language, I'm still seeing numerous complaints in the logs about missing bundles and they are quite noisy, posting pages upon pages of the repeated warnings about not finding the bundles.

While I don't want to ask to over engineer to correct what some may consider a test only environment, it seems there is something here that doesn't quite jibe and so needs to be teased apart. This issue is a place holder while I do that.

@kcondon
Copy link
Contributor Author

kcondon commented Feb 22, 2022

What I've found so far in researching my test env's issues:

  1. Syntax errors in custom metadata bloc properties files, customMRA, customGSD, using the char ':' as a separator, not as an '=' as first thought. A separate ticket is open for this: Server Log: Errors relating to metadata block caused by character in properties file #8436
  2. Custom metadata blocks (now) require an accompanying .properties file always, even the default case where no language is defined, see Internationalization : redesign the architecture to handle metadatablocks  #4684 and 8dd2593 So, this was a user error.
  3. When enabling both en and fr, using the dataverse-v5.9 branch, I noticed many _en and _fr bundle issues due to the custom blocks but also some missing _zh errors, all when loading the homepage. It seems we log too many of these errors to be entirely useful IMHO and need to track down the source of the _zh errors. I was not able to reproduce this.

In discussing with Jim it does not seem practical to adjust the errors since the indicate a config problem and so should be addressed up front and (I think) there is not a simple reduction case since it happens in many places.

@kcondon
Copy link
Contributor Author

kcondon commented Feb 23, 2022

Closing since the one confirmed issue has it's own ticket

@kcondon kcondon closed this as completed Feb 23, 2022
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