Lukas Finster created OFBIZ-13352:
-------------------------------------
Summary: 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
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)