Skip to content

Commit

Permalink
Updated comments about bug LPS-107438
Browse files Browse the repository at this point in the history
  • Loading branch information
tltv authored and caalador committed Jan 14, 2022
1 parent 11fef21 commit 76b695e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ public abstract class VaadinLiferayPortlet<C extends Component>
@Override
public void renderHeaders(HeaderRequest request, HeaderResponse response) {
// Skip most of renderHeaders for liferay portlets as it is called inconsistently between different versions (7.2, 7.3).
// - response.addDependency() won't work (ref: https://issues.liferay.com/browse/LPS-107438).
// - response.addDependency() won't work with all versions
// (ref:https://issues.liferay.com/browse/LPS-107438)
// Update: LPS-107438 testcase works with 7.3.10 after removing
// PortletHub dependency from portlet.xml.
// - injected scripts may or may not actually appear on the page, and they are processed as XML (?)
// -> do the injection in doHeaders instead

Expand Down

0 comments on commit 76b695e

Please sign in to comment.