Closed josegar74 closed 6 years ago
This has been fixed in https://github.com/geoadmin/geocat/commit/fb60d53cf8f3099d0fd4003241e8baa3fa1c1983 to backport to 3.4.x. I will do
If you don't mind I'll commit to 3.2.x and later we can merge in 3.4.x, some customers using 3.2.x need it @fxprunayre
Seem in 3.4.x was pushed already from geoadmin/geocat@fb60d53
In the metadata detail page the metadata contact displayed is from previous record instead of the current one (doesn't seem to happen with the resource contact).
Tested in 3.2.x and 3.4.x:
2 metadata having these metadata contacts:
1) Search for "Salzburg AG Darstellungsdienst" 2) Open the detail page 3) Look up the contact: Salzburg AG (=OK)
4) Click back to search 5) Search for "Tiwag Kraftwerke" 6) Open the detail page 7) Look up the contact: Salzburg AG (= WRONG) 8) Refresh the page 9) The correct contact shows up: TINETZ-Stromnetz Tirol AG
The problem seem with the usage of
::
that doesn't re-evaluate the expression in https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web-ui/src/main/resources/catalog/views/default/templates/recordView.html#L364 while for resource contacts is not used like that: https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web-ui/src/main/resources/catalog/views/default/templates/recordView.html#L230I see several places in that page using
::
, @fxprunayre, @fgravin is there any reason for this? or can be removed safely?