TML Warnings

1 warning(s) detected
LayoutLine Nr.Tag TypeTag IDDBContextMessage
premium/includes:product-detail (html)1Script(none)premium8a8a818d4527e09c014528bca82604c0.de-de.5TypeError executing tmlscript: TypeError: Cannot call method "size" of undefined
At line 0, column 0
Expression:

var nodeid = request.getParameter("product"),
pcon = V.require("product:controller:premium", "lib-duravit-common");

seriesid = request.getParameter("nser");
category = request.getParameter("ncat");

if (this.request.getParameter("engine") == "product") {
product = Product.getProduct(nodeid);
} else {
product = ProductX.getProduct(nodeid);
}

if (product) {

if(!category) {
category = product.category;
}

if(!seriesid) {
seriesid = product.erpSeries;
}

if (category) {
categoryName = pcon.getContentCategories(category);
if (categoryName && categoryName.size() > 0) categoryName = categoryName.get(0).TITLE;
}

if (seriesid) {
seriesName = pcon.getContentSeries(seriesid);
if (seriesName && seriesName.size() > 0) seriesName = seriesName.get(0).TITLE;
more_products = pcon.getProducts(seriesid, category);
}

keywords = metaList("keywords");
// Find designer-keyword in current doc
for (var keyword in Iterator(keywords)) {
if (keyword.match(/^design\./i)) {
dKeyword = keyword;
}
}
if (dKeyword) {
var query = "CONTENTTYPE:designer KEYWORDS:"+dKeyword;
designerStructKey = WGA.app().query("lucene", query, null).firstResultContent.getStructKey();
}

}
// if (product.hasMountingInstruction) {
// log.info("product.hasMountingInstruction: " + product.hasMountingInstruction.assets.length)

// }

Render time page: 554 ms - series :: 8a8a818d4527e09c014528bca82604c0

Node: wga2 / DM: false / PDB: 2015-02-13-1248

Cache info:
=============
cache-mainnavi: de-de :: true
cache-footer: de-de :: true