[ https://issues.apache.org/jira/browse/OFBIZ-12140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268036#comment-17268036 ] Jacques Le Roux commented on OFBIZ-12140: ----------------------------------------- OK, this is a very peculiar case. If you use eg. "Big & Supplier" it works, not if you use "Big&Supplier". It's then rendered at partymgr/control/viewprofile?partyId=BigSupplier as "Big⊃plier", same at catalog/control/EditProductSuppliers. So it's even different than what you got, but does not depend on language picked (French and English are the same at least). Internally it's passed to the renderer (stack below) at "Big⊃plier". Hence I guess the ⊃ char. And in your case the {noformat} &{noformat} {noformat} org.apache.ofbiz.widget.renderer.macro.RenderableFtlFormElementsBuilder.displayField(java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.model.ModelFormField.DisplayField, boolean) line: 146 org.apache.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.model.ModelFormField.DisplayField) line: 202 org.apache.ofbiz.widget.model.ModelFormField$DisplayEntityField(org.apache.ofbiz.widget.model.ModelFormField$DisplayField).renderFieldString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.FormStringRenderer) line: 1877 org.apache.ofbiz.widget.model.ModelFormField.renderFieldString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.FormStringRenderer) line: 799 org.apache.ofbiz.widget.renderer.FormRenderer.renderItemRow(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.FormStringRenderer, boolean, java.util.List<org.apache.ofbiz.widget.model.ModelFormField>, java.util.List<org.apache.ofbiz.widget.model.ModelFormField>, java.util.List<org.apache.ofbiz.widget.model.ModelFormField>, java.util.List<org.apache.ofbiz.widget.model.ModelFormField>, java.util.List<org.apache.ofbiz.widget.model.ModelFormField>, int, int) line: 584 org.apache.ofbiz.widget.renderer.FormRenderer.renderItemRows(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.FormStringRenderer, boolean, int) line: 881 org.apache.ofbiz.widget.renderer.FormRenderer.renderListFormString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, int) line: 926 org.apache.ofbiz.widget.renderer.FormRenderer.render(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>) line: 270 org.apache.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 1096 org.apache.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.model.ModelScreenWidget, org.apache.ofbiz.widget.model.ModelScreenWidget.Screenlet) line: 742 org.apache.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 629 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 945 org.apache.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(java.lang.String) line: 140 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 984 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 945 org.apache.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(java.lang.String) line: 140 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 984 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 479 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 479 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 310 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 479 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 479 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(java.lang.String, java.lang.String, org.apache.ofbiz.widget.model.ModelScreenWidget, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 214 org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 817 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(java.lang.String, java.lang.String, org.apache.ofbiz.widget.model.ModelScreenWidget, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 214 org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 817 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(java.lang.String, java.lang.String, org.apache.ofbiz.widget.model.ModelScreenWidget, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 214 org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 817 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(java.lang.String, java.lang.String, org.apache.ofbiz.widget.model.ModelScreenWidget, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 214 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 898 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(java.lang.String, java.lang.String, org.apache.ofbiz.widget.model.ModelScreenWidget, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 214 org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 898 org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(java.util.List<org.apache.ofbiz.widget.model.ModelScreenWidget>, java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 107 org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 295 org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(java.lang.Appendable, java.util.Map<java.lang.String,java.lang.Object>, org.apache.ofbiz.widget.renderer.ScreenStringRenderer) line: 158 org.apache.ofbiz.widget.renderer.ScreenRenderer.render(java.lang.String, java.lang.String) line: 147 org.apache.ofbiz.widget.renderer.ScreenRenderer.render(java.lang.String) line: 105 org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) line: 116 org.apache.ofbiz.webapp.control.RequestHandler.renderView(java.lang.String, boolean, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String) line: 1192 org.apache.ofbiz.webapp.control.RequestHandler.doRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, org.apache.ofbiz.entity.GenericValue, org.apache.ofbiz.entity.Delegator) line: 916 {noformat} Now we need to spot in this stack the place where the description is modified and fix that. > Ampersand in Party not displayed correctly > ------------------------------------------ > > Key: OFBIZ-12140 > URL: https://issues.apache.org/jira/browse/OFBIZ-12140 > Project: OFBiz > Issue Type: Bug > Components: product/catalog > Affects Versions: 17.12.04 > Environment: Linux Ubuntu 20.04.01 > Reporter: Andrew Waters > Assignee: Jacques Le Roux > Priority: Minor > Attachments: Screenshot from 2021-01-16 12-41-52.png > > > I have a supplier with ID/Name "B&Q" and is incorrectly display when showing the suppliers tab of a product with this supplier. The Drop-down to select a supplier is fine but the display is "B&Q" for the name (the [ID} is ok). > Screenshot attached -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |