Working Group Members

Asia Pacific Metrology Programme (RMO: APMP)

President

Dr Hyun-Min Park

Korea Research Institute of Standards and Science

Korea (Republic of)

Secretariat

Ms Tae-Yi Hong

Senior Manager of the Office of International Cooperation

Korea Research Institute of Standards and Science

Korea (Republic of)

TC chairs

Asset Publisher

An error occurred while processing the template.
The following has evaluated to null or missing:
==> assetCategoryLocalService.fetchAssetCategory(committeeCategoryId)  [in template "20099#20135#18019620" at line 10, column 21]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign category = assetCategoryLocal...  [in template "20099#20135#18019620" at line 10, column 1]
----
1<#assign committeeCategoryId = 0/> 
2<#if portletPreferences['queryValues0'] ??> 
3    <#assign mapValues = portletPreferences['queryValues0'] /> 
4    <#list mapValues as value > 
5        <#assign committeeCategoryId = value?number/> 
6    </#list> 
7</#if> 
8 
9<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
10<#assign category = assetCategoryLocalService.fetchAssetCategory(committeeCategoryId)/> 
11<#assign categoryName = category.getTitle(locale)/> 
12<#if entries?has_content> 
13    <#assign bipmCommonsService = serviceLocator.findService("org.bipm.portal.service.commons.asset.service.BipmAssetService")/> 
14    <#assign sortedEntries = bipmCommonsService.sortEntriesByUrlTitle(entries,locale,portletPreferences)/> 
15    <div class="working-group"> 
16        <div class="working-group__header"> 
17            <p class="working-group__header-title title-secondary"> 
18                <@liferay.language key="workinggroup.portlet.title" /> 
19            </p> 
20        </div> 
21        <div class="working-group__wrapper"> 
22            <select id="${randomNamespace}working-group-select"> 
23                <option value=""> 
24                    <@liferay.language key="dropdown.label.select" /> 
25                </option> 
26                <#list sortedEntries as entry> 
27                    <#assign assetRenderer = entry.getAssetRenderer() /> 
28                    <#assign className = assetRenderer.getClassName() /> 
29                    <#assign entryTitle = assetRenderer.getTitle(locale) /> 
30                    <#assign urlTitle = htmlUtil.escape(assetRenderer.getUrlTitle()) /> 
31 
32                    <#if className == "org.bipm.portal.service.secretariat.model.WorkingGroup"> 
33                        <#assign renderedObject = assetRenderer.getAssetObject() /> 
34                        <option value="${portalUtil.getHomeURL(request)}${urlTitle}"> 
35                            ${renderedObject.getBipmId()} 
36                        </option> 
37                    </#if> 
38                </#list> 
39            </select> 
40            <button class="btn btn-primary" 
41                    onclick="window.location.href = document.getElementById('${randomNamespace}working-group-select').value;"> 
42                <@liferay.language key="view" /> 
43            </button> 
44        </div> 
45    </div> 
46</#if>