Details

      Description

      Reproduction Steps

      1. Unzip a Liferay bundle (here I use 7.0.x, because there are some errors happened when deploying Audience Targeting to master )
        2. Deploy latest version of Audience Targeting portlet from marketplace
        3. Navigate to Liferay DXP > Configuration > Mobile Device Families to create a new device family named "Iphone" or "Android"
        4. Navigate to Liferay DXP > Configuration > Audience Targeting > User Segments
        5. From Session Attribute, drag Device to the panel then select *Iphone" or "Android" from Device Family selection
        6. Save the record.
        7. Go back to the home page.
        8. Sign in as Administrator and create at least five pages (More pages will expand the diagram so the issue is more clear)
        9. Navigate to Liferay DXP > Configuration > Audience Targeting > User Segments and click on Mobile > Reports
        10. Click Update Report (Must run this otherwise there is no data generated for the report).
        11. Click Content Views
        12. Change the size of browser to see the report
        Actual Result: The diagram is not expanded to landscape
        Expected Result: The diagram is expanded to suit landscape
        Note If rotating the screen to landscape before viewing the report (step 11), the diagram will expand.

      Branch

      commit 510fe5ef06f9316a02430412076f58ecc74e9f69 (HEAD -> develop, upstream/develop)
      Merge: 62f91781d 50b57f3ed
      Author: Eduardo García <eduardo.garcia@liferay.com>
      Date:   Wed May 16 12:07:13 2018 +0200
      
          Merge pull request #289 from jonathanmccann/pull-request-6-WCM-1453
          
          WCM-1453 - move dependency for report campaign tracking action to correct location
      

      Using this branch and build AT jars successfully but deploying on latest master throws error.

      2018-05-24 05:23:36.479 ERROR [main][ModuleFrameworkImpl:1592] Unable to start bundle com.liferay.content.targeting.analytics.api
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.content.targeting.analytics.api [366]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.model; version="[1.0.0,1.1.0)"_ [Sanitized]
      	at org.eclipse.osgi.container.Module.start(Module.java:429)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1589)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:412)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:257)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4579)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5041)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:525)
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424)
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1586)
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
      2018-05-24 05:23:36.480 INFO  [main][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.analytics.lang_1.0.0 [367]
      2018-05-24 05:23:36.482 ERROR [main][ModuleFrameworkImpl:1592] Unable to start bundle com.liferay.content.targeting.analytics.processor
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.content.targeting.analytics.processor [368]_  Unresolved requirement: Import-Package: com.liferay.content.targeting.analytics.configuration; version="[3.0.0,4.0.0)"_    -> Export-Package: com.liferay.content.targeting.analytics.configuration; bundle-symbolic-name="com.liferay.content.targeting.analytics.api"; bundle-version="4.0.0"; version="3.0.0"; uses:="aQute.bnd.annotation.metatype,com.liferay.portal.configuration.metatype.annotations"_       com.liferay.content.targeting.analytics.api [366]_         Unresolved requirement: Import-Package: com.liferay.portal.kernel.model; version="[1.0.0,1.1.0)"_ [Sanitized]
      	at org.eclipse.osgi.container.Module.start(Module.java:429)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1589)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:412)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:257)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4579)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5041)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:525)
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424)
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1586)
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
      ......
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.2.0