This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push: new e95c6a5 Fixed: bug on button from catalog to party associated (OFBIZ-12289) e95c6a5 is described below commit e95c6a529ccb2193b8fe094aa105df312b68974a Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Fri Jul 23 12:55:20 2021 +0200 Fixed: bug on button from catalog to party associated (OFBIZ-12289) Problem when trying to access Party linked to Catalog. When you click on a user associated with a catalog, the framework sends you to party manager, but it's the currently logged in user that shows up in the party manager, not the party that you want to see. To reproduce, just go in the Catalog app, then on Catalogs, add a user to a catalog, and try to access it via the button. It comes from the fact that the parameter sent to the party manager via the link doesn't have the right syntax. Thanks: Gaetan Chaboussie --- applications/product/widget/catalog/ProdCatalogForms.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/product/widget/catalog/ProdCatalogForms.xml b/applications/product/widget/catalog/ProdCatalogForms.xml index 7996b06..d6dbf9c 100644 --- a/applications/product/widget/catalog/ProdCatalogForms.xml +++ b/applications/product/widget/catalog/ProdCatalogForms.xml @@ -109,7 +109,7 @@ under the License. <field name="partyId" title="${uiLabelMap.PartyParty}"> <display-entity entity-name="PartyNameView" description="${personalTitle} ${firstName} ${middleName} ${lastName} ${suffix} ${groupName}" also-hidden="true" cache="false"> <sub-hyperlink target-type="inter-app" link-style="buttontext" target="/partymgr/control/viewprofile" description="${partyId}"> - <parameter param-name="party_id" from-field="partyId"/> + <parameter param-name="partyId" from-field="partyId"/> </sub-hyperlink> </display-entity> </field>