An error occurred while processing the template.
The following has evaluated to null or missing:
==> .vars['reserved-article-group-id'] [in template "161555#161602#366913" at line 9, column 20]
----
Tip: It's the final [] step that caused this error, not those before it.
----
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 groupId = .vars["reserved-art... [in template "161555#161602#366913" at line 9, column 1]
----
1<#assign namespace=randomNamespace />
2<#-- Auto-assign ALL category to every article -->
3<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") />
4<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") />
5<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
6
7<#-- Get current JournalArticle -->
8<#assign articleId = .vars['reserved-article-id'].data />
9<#assign groupId = .vars['reserved-article-group-id'].data?number />
10<#assign journalArticle = journalArticleLocalService.getArticle(groupId, articleId) />
11
12<#-- Get AssetEntry for this article -->
13<#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey()) />
14
15<#-- Your ALL category ID -->
16<#assign allCategoryId = 4614994 />
17
18<#-- Assign ALL category if not already set -->
19<#if !assetEntry.getCategories()?seq_contains(assetCategoryLocalService.getCategory(allCategoryId))>
20 <#assign categoryIds = assetEntry.getCategoryIds() + [allCategoryId] />
21 ${assetEntryLocalService.updateEntry(
22 assetEntry.getUserId(),
23 assetEntry.getGroupId(),
24 assetEntry.getClassName(),
25 assetEntry.getClassPK(),
26 assetEntry.getUuid(),
27 assetEntry.getClassTypeId(),
28 categoryIds,
29 assetEntry.getTagNames()
30 )}
31</#if>
32
33<div id="general-hero-${namespace}" class="jmgeneral--hero">
34 <div class="container">
35 <div class="row">
36 <div class="col-md-12">
37 <#if (Title.getData())??>
38 <h1 class="general_hero__heading">
39 ${Title.getData()}
40 </h1>
41 </#if>
42 </div>
43 </div>
44 </div>
45</div>
Our global anti-bribery and corruption policy supports our zero tolerance approach to bribery and corruption. It says how our employees should behave and what they should do if confronted with bribery or corruption.
You can also find Johnson Matthey’s Gifts, Hospitality and Charitable Donations Policy below, which sets out the standards and requirements we must observe when providing or receiving gifts and hospitality or charitable donations to or from any person or entity outside of JM. This policy should be read in conjunction with JM’s Anti-Bribery and Corruption Policy.
Both policies are available in several languages, below.
English
- Global Anti-Bribery and Corruption Policy – English (PDF)
- Gifts, Hospitality and Charitable Donations Policy - English (PDF)
Chinese
- Global Anti-Bribery and Corruption Policy – Chinese (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Chinese (PDF)
Hindi
- Global Anti-Bribery and Corruption Policy – Hindi (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Hindi (PDF)
Japanese
- Global Anti-Bribery and Corruption Policy – Japanese (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Japanese (PDF)
Lithuanian
- Global Anti-Bribery and Corruption Policy – Lithuanian (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Lithuanian (PDF)
Macedonian
- Global Anti-Bribery and Corruption Policy – Macedonian (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Macedonian (PDF)
Malay
- Global Anti-Bribery and Corruption Policy – Malay (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Malay (PDF)
Marathi
- Global Anti-Bribery and Corruption Policy – Marathi (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Marathi (PDF)
Polish
- Global Anti-Bribery and Corruption Policy – Polish (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Polish (PDF)
Spanish
- Global Anti-Bribery and Corruption Policy – Spanish (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Spanish (PDF)
Swedish
- Global Anti-Bribery and Corruption Policy – Swedish (PDF)
- Gifts, Hospitality and Charitable Donations Policy - Swedish (PDF)