ICEfaces
  1. ICEfaces
  2. ICE-9263

Resource coalescing does not work in a portlet environment

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Portlet portal resource coalescing
    • Assignee Priority:
      P3
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Turn off resource coalescing for portlets. It's off by default but you can set it using:


      <context-param>
          <param-name>org.icefaces.coalesceResources</param-name>
          <param-value>false</param-value>
      </context-param>
      Show
      Turn off resource coalescing for portlets. It's off by default but you can set it using: <context-param>     <param-name>org.icefaces.coalesceResources</param-name>     <param-value>false</param-value> </context-param>

      Description

      Resource coalescing in a portlet environment does not behave as intended. Turning on the context parameter to enable resource coalescing and running the showcase-portlet example in Liferay results in the following errors being logged to the console:

      21:58:19,746 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.css.xhtml] libraryName=[ice.core] contentType=[null]

      21:58:19,885 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.js.xhtml] libraryName=[ice.core] contentType=[null]

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Deryk Sinotte made changes -
          Fix Version/s 3.4 [ 10770 ]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ]
          Deryk Sinotte made changes -
          Description Resource coalescing in a portlet environment does behave as intended. Turning on the context parameter to enable resource coalescing and running the showcase-portlet example in Liferay results in the following errors being logged to the console:

          21:58:19,746 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.css.xhtml] libraryName=[ice.core] contentType=[null]

          21:58:19,885 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.js.xhtml] libraryName=[ice.core] contentType=[null]
          Resource coalescing in a portlet environment does not behave as intended. Turning on the context parameter to enable resource coalescing and running the showcase-portlet example in Liferay results in the following errors being logged to the console:

          21:58:19,746 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.css.xhtml] libraryName=[ice.core] contentType=[null]

          21:58:19,885 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.js.xhtml] libraryName=[ice.core] contentType=[null]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
          Deryk Sinotte made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Affects Sample App./Tutorial [ 10001 ]
          Resolution Fixed [ 1 ]
          Deryk Sinotte made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Deryk Sinotte made changes -
          Workaround Description Turn off resource coalescing for portlets. It's off by default but you can set it using:


          <context-param>
              <param-name>org.icefaces.coalesceResources</param-name>
              <param-value>false</param-value>
          </context-param>
          Assignee Deryk Sinotte [ deryk.sinotte ] Mircea Toma [ mircea.toma ]
          Fix Version/s EE-3.3.0.GA [ 10572 ]
          Affects Sample App./Tutorial [ 10001 ] Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial,Compatibility/Configuration [ 10003, 10001, 10002 ]
          Workaround Exists Yes [ 10007 ]
          Deryk Sinotte made changes -
          Link This issue blocks ICE-9338 [ ICE-9338 ]
          Deryk Sinotte made changes -
          Affects Version/s EE-3.3.0.GA [ 10572 ]
          Ken Fyten made changes -
          Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ] P3 [ 10012 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s EE-3.3.0.GA_P01 [ 11174 ]
          Ken Fyten made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 11382 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: