(OFBIZ-6212) Fixed accounting report PDF export issue, it was throwing FOP exception. It was due to empty description string, if description is empty then makeHyperlinkString does not call the makeHyperlinkString macro to render the hyper link and due to this fo:table-cell is render without fo:block and its not a valid syntax of fo:table-cell.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706577 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3072,7 +3072,7 @@ public final class MacroFormRenderer implements FormStringRenderer {
|
||||
|
||||
public void makeHyperlinkString(Appendable writer, String linkStyle, String targetType, String target, Map<String, String> parameterMap, String description, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context,
|
||||
String targetWindow) throws IOException {
|
||||
if (UtilValidate.isNotEmpty(description) || UtilValidate.isNotEmpty(request.getAttribute("image"))) {
|
||||
if (description != null || UtilValidate.isNotEmpty(request.getAttribute("image"))) {
|
||||
StringBuilder linkUrl = new StringBuilder();
|
||||
WidgetWorker.buildHyperlinkUrl(linkUrl, target, targetType, parameterMap, null, false, false, true, request, response, context);
|
||||
String event = "";
|
||||
|
||||
Reference in New Issue
Block a user