ericmin/liferay-portal — pull request #30 by yuhai (2012-11-15 06:45:48+00:00)
Title: LPS-30982  Back button in asset publisher does not return to the previous page

When Asset Publisher Portlet display setting is "View in a specific Portlet", there are two situations:

1. display template is "Abstracts" , please see abstracts.jsp, as for jounral article vuewURL will include redirect param, but the redirect url can't back to asset publisher view page.

2. And display template is "table" or "title list", please see title_list.jsp and table.jsp, as for jounral article vuewURL will not include redirect param, so when view the article, you will not see the backurl button.

So the fix solution is that make jounral article vuewURL doesn't include redirect param when Asset Publisher Portlet display setting is "View in a specific Portlet". Then judge Validator.isNull(redirect) to reconstructed redirect url.

Please help check it.