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

TikaService hasOCRContent returns true if text is empty! #166

Closed
rsoika opened this issue Nov 24, 2022 · 1 comment
Closed

TikaService hasOCRContent returns true if text is empty! #166

rsoika opened this issue Nov 24, 2022 · 1 comment
Labels
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Nov 24, 2022

The method hasOCRContent of TikaService returns true even if the text attribute in $file is empty!
This is wrong as it may happen that the text attribute was set somewhere else. We need explicit test for content too!

@rsoika rsoika added the bug label Nov 24, 2022
@rsoika rsoika added this to the 2.3.0 milestone Nov 24, 2022
@rsoika
Copy link
Member Author

rsoika commented Nov 24, 2022

fixed

@rsoika rsoika closed this as completed Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant