You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/05 14:41:00 UTC

[jira] [Closed] (OFBIZ-13648) Remove the unused http view type

     [ https://issues.apache.org/jira/browse/OFBIZ-13648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mridul Pathak closed OFBIZ-13648.
---------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

> Remove the unused http view type
> --------------------------------
>
>                 Key: OFBIZ-13648
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13648
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/webapp
>    Affects Versions: Upcoming Branch
>            Reporter: Mridul Pathak
>            Assignee: Mridul Pathak
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> The http view type, implemented by HttpViewHandler, fetches the page of the view-map from another server for every request and prints it as the view. It has been in OFBiz since the initial import, nothing in the framework, the applications or the plugins uses it, and what it does is covered by other means: a redirection, an iframe, a service that fetches the data for a regular view, or a reverse proxy. It only does a plain GET, it ignores the content type and the encoding of the remote page, it does not cache, and the remote page is written as it is, as a TODO in the code states. Controllers that still declare the handler fail to start once it is removed, so the declarations have to be removed with it.
> h3. Plan
> * Remove HttpViewHandler and its declaration in the framework (handlers-controller.xml), and the declaration in the ecommerce plugin; the plugin change has to be merged first.
> * Trunk only: a controller of a deployment that declares the http handler has to drop the declaration when upgrading.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)