You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (Jira)" <ji...@apache.org> on 2026/06/30 12:44:00 UTC

[jira] [Closed] (OFBIZ-13352) The port offset is being applied twice when loading WebSite properties.

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

Arun Patidar closed OFBIZ-13352.
--------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

Given PR has been merged: [https://github.com/apache/ofbiz-framework/pull/1392]
Closed PR as changes has been already covered in above PR: [https://github.com/apache/ofbiz-framework/pull/949]

Thanks [~lfinster] and [~aditipatel]  for your contribution.

> The port offset is being applied twice when loading WebSite properties.
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-13352
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13352
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Lukas Finster
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> In the method {{{}from(GenericValue){}}}, web site default settings are loaded. Configurations are overridden by the WebSite being used. In particular, a port offset is always added here, which can be set via the start parameters. Therefore, it is not necessary to adjust the WebSite entry in the database to store an alternative port to 8443. The method {{from(HttpServletRequest)}} calls the method {{from(GenericValue)}} itself and additionally sets the port offset. The result is that an offset is added twice.
> My suggestion is that {{addPortoffset}} is initialized with {{false}} and only set to {{true}} when new WebSiteProperties are created.



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