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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user