Description
Example : On the website on the the last product added ishyperlink text which is not working.When we click on the hyperlink it will directs to page not found.

Solution
Its because of in the URL the internal id showing as null as shown below

First creating an extension .Extending the view file of the corresponding.Through customization replacing the null value with its corresponding internal id
_.extend(ProductListListDetailsView.prototype, {
getContext: _.wrap(ProductListListDetailsView.prototype.getContext, function (fn) {
var original_Ret = fn.apply(this, _.toArray(arguments).slice(1));
console.log('original_Ret', original_Ret)
original_Ret.lastProductItemUrl=original_Ret.internalId;
return original_Ret
})
});
So now the page directs to the original one when clicking on the hyperlink text as shown below


