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

Bug in com.impetus.kundera.classreading.Reader - getResourceIterator #1021

Open
Kinle opened this issue Jul 11, 2018 · 2 comments
Open

Bug in com.impetus.kundera.classreading.Reader - getResourceIterator #1021

Kinle opened this issue Jul 11, 2018 · 2 comments

Comments

@Kinle
Copy link

Kinle commented Jul 11, 2018

A Spring project was created with name that have spaces.
When persistence.xml doesn't have any configured, it scans for entity classes in classpath.
Since the path is URL encoded, spaces converts to %20 and the URL String doesn't seem to read the file.
Suggestion: String urlString = url.toString(); can be changed to url.getFile() in Line 137

@devender-yadav
Copy link
Contributor

@Kinle url.getFile() will also return string with spaces converts to %20

@ccarpenter04
Copy link

I've also encountered this issue, it'd be nice if someone could look into resolving it.

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

3 participants