RE: RE: I am upgrading Liferay 7.2 to 7.4 but in ADT facing issues.

Jamie Sammons, modified 2 Years ago. New Member Posts: 9 Join Date: 4/6/21 Recent Posts

Hello,

for Asset publisher with web content I am getting below error. But same code worked fine for liferay 7.2

 

The following has evaluated to null or missing:

==> section.element("dynamic-element")  [in template "20101#20128#37980" at line 115, column 45]

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Odds are that you'd need to change the template.

E.g. if it's velocity, you'd need to port to freemarker. But in general, it might be that some API changed, and you'd need to adapt to the new API. The backend storage for Journal (Web Content) has changed some time in the past, I don't know when exactly that was, but odds are that you're running into exactly this.

Olaf Kock, modified 1 Year ago. New Member Posts: 9 Join Date: 4/6/21 Recent Posts

Hi Olaf,

 

Do you have any sample example with new methods