Fixes ISSUE-44803: Remove support for old-style (HttpServlet based) callouts
All modern callouts are based on SimpleCallout and this should always be used as a base.
Support for old callouts based on HttpServlet is removed from ad_callout and FormInitializationContent.
Links
Try
-
https://builds.openbravo.com/job/try-init/318/console ✔ (⚠ API Change)
Note
- Test
ViewGeneration.java
will fail if an old callout is present in a non-custom window, the error that will be shown will be similar to this:
13:06:29.955 ERROR org.openbravo.client.application.ViewComponent - Error generating view 100
java.lang.IllegalStateException: A callout(not based on SimpleCallout) org.openbravo.erpCommon.ad_callouts.SL_Column is present in (Window, Tab, Field) (Tables and Columns, Header, Column). Fix or remove this callout.
- It will also fail with an exception if a callout is not implemented or the callout class is not found.
Edited by Cristian Berner