[SOLVED] Duplicate Case

I’m getting these error messages in my rule file now only when I start OH up from scratch and I don’t use CASE anywhere.

2019-11-22 10:08:59.798 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.rules', using it anyway:
Duplicate case
Duplicate case
Duplicate case
Duplicate case

Any thoughts where I should look for?

Best, Jay

Would you open default.rules for editing, add a harmless space or blank line, and save?

I’ll give that a try; I only have 1 rule file and it’s 27k lines long.

Best, Jay

Nope, that didn’t fix it.

2019-11-30 18:42:35.627 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.rules', using it anyway:
Duplicate case
Duplicate case
Duplicate case
Duplicate case

Best, Jay

Not expected to fix it, merely prove it is not related to startup.

Have to look harder, or let others look. Pay attention to anywhere you may have used the word switch

Happen to have two rules with same name? That’s my only guess

1 Like

Finally found it; it was exactly what the error said. I have a long lists of birthdays which are defined as mmdd and I had 2 people with the same mmdd entries.

@Rossko57 helped me to focus on the ‘switch’ related code.

Best, Jay