Hiba jelentkezett a sablon feldolgozása során.
The following has evaluated to null or missing:
==> product.images [in template "3192443#3192485#null" at line 17, column 24]
----
Tip: It's the step after the last dot 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: productImage = product.images?filter(... [in template "3192443#3192485#null" at line 17, column 9]
----
1<#if themeDisplay?has_content>
2 <#assign scopeGroupId = themeDisplay.getScopeGroupId() />
3</#if>
4
5<#assign channel = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels?accountId=-1&filter=name eq 'Marketplace Channel' and siteGroupId eq '${scopeGroupId}'") />
6
7<#if channel?has_content>
8 <#assign channelId = channel.items[0].id />
9</#if>
10
11<#if (CPDefinition_cProductId.getData())??>
12 <#assign productId = CPDefinition_cProductId.getData() />
13</#if>
14
15<#assign
16 product = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels/"+ channelId +"/products/"+ productId +"?accountId=-1&images.accountId=-1&nestedFields=images")
17 productImage = product.images?filter(item -> item.tags?seq_contains("app icon"))![]
18/>
19
20<#if productImage?has_content>
21 <#assign productThumbnail = productImage[0].src?split("/o") />
22 <#if productThumbnail?has_content && productThumbnail?size gte 2>
23 <#assign productThumbnail1 = "/o/${productThumbnail[1]}"!"" />
24 <#else>
25 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
26 </#if>
27<#else>
28 <#if product.urlImage?has_content>
29 <#assign productThumbnail = product.urlImage?split("/o") />
30 <#if productThumbnail?has_content && productThumbnail?size gte 2>
31 <#assign productThumbnail1 = "/o/${productThumbnail[1]}"!"" />
32 <#else>
33 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
34 </#if>
35 <#else>
36 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
37 </#if>
38</#if>
39
40${productThumbnail1}
The following has evaluated to null or missing: ==> product.images [in template "3192443#3192485#null" at line 17, column 24] ---- Tip: It's the step after the last dot 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: productImage = product.images?filter(... [in template "3192443#3192485#null" at line 17, column 9] ----
1<#if themeDisplay?has_content>
2 <#assign scopeGroupId = themeDisplay.getScopeGroupId() />
3</#if>
4
5<#assign channel = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels?accountId=-1&filter=name eq 'Marketplace Channel' and siteGroupId eq '${scopeGroupId}'") />
6
7<#if channel?has_content>
8 <#assign channelId = channel.items[0].id />
9</#if>
10
11<#if (CPDefinition_cProductId.getData())??>
12 <#assign productId = CPDefinition_cProductId.getData() />
13</#if>
14
15<#assign
16 product = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels/"+ channelId +"/products/"+ productId +"?accountId=-1&images.accountId=-1&nestedFields=images")
17 productImage = product.images?filter(item -> item.tags?seq_contains("app icon"))![]
18/>
19
20<#if productImage?has_content>
21 <#assign productThumbnail = productImage[0].src?split("/o") />
22 <#if productThumbnail?has_content && productThumbnail?size gte 2>
23 <#assign productThumbnail1 = "/o/${productThumbnail[1]}"!"" />
24 <#else>
25 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
26 </#if>
27<#else>
28 <#if product.urlImage?has_content>
29 <#assign productThumbnail = product.urlImage?split("/o") />
30 <#if productThumbnail?has_content && productThumbnail?size gte 2>
31 <#assign productThumbnail1 = "/o/${productThumbnail[1]}"!"" />
32 <#else>
33 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
34 </#if>
35 <#else>
36 <#assign productThumbnail1 = "/o/commerce-media/default/?groupId=${scopeGroupId}" />
37 </#if>
38</#if>
39
40${productThumbnail1}
Aspire Theme - Multipurpose, Responsive Bootstrap , Professional
DXP App
Aspire Software Solutions presents you a professional, responsive and
bootstrap-enabled Liferay "Aspire Theme" for Multi-purpose
use. Aspire Theme is a dynamic theme, User can change its content as per
their need.
Aspire Theme includes the eight sections which include “Header Banner Section”, “About Aspire company”, “Our Services Summary”, “Our Latest Projects summary”, “Testimonial Slider”, Technologies Slider”. In the Footer section, “Dynamic and customizable Contact US Form” and “Achievement Awards Logo Slider”.
Features of Aspire Theme:
1. Responsive designs for All device compatible (Mobile, Tablets, Desktop)
2. Fully Dynamic, Customizable and Dynamic changeable Theme content Multiple Browser
Compatible (Mozilla, Chrome, Safari)
3. Ready to use Theme.
4. Responsive Header Banner for small devices.
5. Customizable, Configurable and dynamic “Contact Us” form portlet.
6. Configurable Contact Information and Social Media links information
Note:
1. Before you use need to read Documentation to install theme Step-by-step instruction.
2. Download "Aspire Theme" (.war) file and install it.
3. Download required dependencies files for different versions from below links:
-LR Portal CE GA3 http://aspiresoftware.in/aspire-theme/ga3/dependency.zip
-LR Portal CE GA4 http://aspiresoftware.in/aspire-theme/ga4/dependency.zip
-LR Portal CE GA5 http://aspiresoftware.in/aspire-theme/ga5/dependency.zip
-LR Portal CE GA6 http://aspiresoftware.in/aspire-theme/ga6/dependency.zip
If you need any support regarding extend this theme for your specific requirement or have an issue during use, please feel free to contact us at hello@aspiresoftware.in
Aspire Theme includes the eight sections which include “Header Banner Section”, “About Aspire company”, “Our Services Summary”, “Our Latest Projects summary”, “Testimonial Slider”, Technologies Slider”. In the Footer section, “Dynamic and customizable Contact US Form” and “Achievement Awards Logo Slider”.
Features of Aspire Theme:
1. Responsive designs for All device compatible (Mobile, Tablets, Desktop)
2. Fully Dynamic, Customizable and Dynamic changeable Theme content Multiple Browser
Compatible (Mozilla, Chrome, Safari)
3. Ready to use Theme.
4. Responsive Header Banner for small devices.
5. Customizable, Configurable and dynamic “Contact Us” form portlet.
6. Configurable Contact Information and Social Media links information
Note:
1. Before you use need to read Documentation to install theme Step-by-step instruction.
2. Download "Aspire Theme" (.war) file and install it.
3. Download required dependencies files for different versions from below links:
-LR Portal CE GA3 http://aspiresoftware.in/aspire-theme/ga3/dependency.zip
-LR Portal CE GA4 http://aspiresoftware.in/aspire-theme/ga4/dependency.zip
-LR Portal CE GA5 http://aspiresoftware.in/aspire-theme/ga5/dependency.zip
-LR Portal CE GA6 http://aspiresoftware.in/aspire-theme/ga6/dependency.zip
If you need any support regarding extend this theme for your specific requirement or have an issue during use, please feel free to contact us at hello@aspiresoftware.in
DEVELOPER
DEVELOPER
2024.11.21. 18:38
Published date
2024.11.21. 18:38
Published Date
2024.11.21. 18:38
SUPPORTED OFFERINGS
Liferay PaaS
Supported Versions
6.2
Resource Requirements
Edition
CE
PRICE
Free
help & support
HTML Example
A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.