[Web Previewer] Webpreviewer - Timer deletefiles error

[Web Previewer] Webpreviewer - Timer deletefiles error

  
Forge Component
(8)
Published on 25 Oct by Rui Mendes
8 votes
Published on 25 Oct by Rui Mendes
Hi,
I am using the forge component Webpreviewer to display Base64/pdf content that is stored in the database.
After i installed the component on our environment (java stack) i get an error every time the scheduled job "DeleteFiles" runs.

The error message we get in the errorlog is:
Timer DeleteFiles error (inside action 'DeleteFiles'). Timer duration = 0 secs: Error in advanced query DeleteFiles in DeleteFiles in WebPreviewer (DELETE FROM {FileCache};): ORA-00911: invalid character
 [retry 3 of 3 scheduled]

As stated in the error the advanced query in the timed job contains an invalid character, which i find a bit surprising in such a straight forward delete statement.

Is this a known error?
How can we fix this?
Solution
Hi Roel.

Remove the semicolon from the expression.
Since I haven't tested in a java stack, let me know if it worked.

Cheers
Solution
Thanks. Such a small and easy fix!

No more errors.