Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6052

Find facility inventory items cause UtilCodec.IntrusionException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • ALL APPLICATIONS
    • None

    Description

      -Use demo database.
      -Go to url. https://localhost:8443/facility/control/ViewFacilityInventoryByProduct?facilityId=MyRetailStore
      -click find button.

      The source of the issue is in the UtilCodec.canonicalize()

      Console output:

      2015-02-02 06:31:29,955 |http-bio-8443-exec-6 |ModelScreen                   |E| Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: org.ofbiz.base.util.UtilCodec$IntrusionException: Input validation failure. Rolling back transaction.
      2015-02-02 06:31:29,957 |http-bio-8443-exec-6 |TransactionUtil               |W| Calling transaction setRollbackOnly; this stack trace shows where this is happening:
      java.lang.Exception: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: org.ofbiz.base.util.UtilCodec$IntrusionException: Input validation failure
      	at org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:360) [ofbiz-entity.jar:?]
      	at org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:301) [ofbiz-entity.jar:?]
      	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:171) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:779) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:779) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:859) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:859) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:135) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:97) [ofbiz-widget.jar:?]
      	at org.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:151) [ofbiz-widget.jar:?]
      	at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1041) [ofbiz-webapp.jar:?]
      	at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:697) [ofbiz-webapp.jar:?]
      	at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:216) [ofbiz-webapp.jar:?]
      	at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) [ofbiz-webapp.jar:?]
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jacopoc Jacopo Cappellato
            wt Wai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment