lucenenet icon indicating copy to clipboard operation
lucenenet copied to clipboard

System properties specified as environment variables throw unhelpful ArgumentException

Open NightOwl888 opened this issue 2 years ago • 3 comments
trafficstars

System properties are supposed to be prefixed with lucene: when using environment variables. And when you do, it works.

However, if you forget and specify them like you would in a configuration file or NUnit property, incorrectly using something like tests:crashmode instead of lucene:tests:crashmode, it throws the exception:

System.ArgumentException : Value does not fall within the expected range.

Clearly, this message doesn't lead you to the correct solution. This message should be fixed to clearly spell out that the "lucene:" prefix is missing.

NightOwl888 avatar Apr 13 '23 05:04 NightOwl888

@NightOwl888 I would like to take this up. Please assign it to me.

farQtech avatar Oct 18 '23 06:10 farQtech

@jeme - thanks for assigning this one.

@farQtech - thanks for volunteering.

NightOwl888 avatar Oct 18 '23 09:10 NightOwl888

@farQtech - Are you still interested in doing this? If not, please let us know so we can assign it to someone else. Thanks.

NightOwl888 avatar Jan 22 '24 08:01 NightOwl888