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

PrefixSupport will go wrong if Property.name is empty #227

Closed
TedZen opened this issue Aug 20, 2019 · 1 comment
Closed

PrefixSupport will go wrong if Property.name is empty #227

TedZen opened this issue Aug 20, 2019 · 1 comment
Assignees
Labels
bug L3 Difficulty level 3 (Maximum is 9)
Milestone

Comments

@TedZen
Copy link
Collaborator

TedZen commented Aug 20, 2019

java.util.NoSuchElementException: Char sequence is empty.
at kotlin.text.StringsKt___StringsKt.first(_Strings.kt:60)
at extensions.wu.seal.PropertyPrefixSupport.intercept(PropertyPrefixSupport.kt:59)

Maybe we shouldn't adding pre&suffix when Property.name is empty

@TedZen TedZen added bug L3 Difficulty level 3 (Maximum is 9) labels Aug 20, 2019
@TedZen TedZen added this to the 3.5.0 milestone Aug 20, 2019
@TedZen TedZen self-assigned this Aug 20, 2019
@TedZen
Copy link
Collaborator Author

TedZen commented Aug 21, 2019

fixed

@TedZen TedZen closed this as completed Aug 21, 2019
wuseal pushed a commit that referenced this issue Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug L3 Difficulty level 3 (Maximum is 9)
Projects
None yet
Development

No branches or pull requests

1 participant