Quercus: Mantis

From Resin 3.0

Jump to: navigation, search

In file core/print_api.php of Mantis, inside function print_news_string_by_news_id(), there is a 'continue' that is not inside any loop. This is a Mantis bug. Fortunately, that function does not appear to be used by any major functionality. Unfortunately, Quercus cannot compile that file because the Java compiler would complain about a dangling 'continue'.

So Mantis requires no modifications to work in Quercus interpreted mode. But a 'return' needs to replace the 'continue' in order for Mantis to work in Quercus compiled mode.

Personal tools