Details

      Description

      7.2.x/Master: ManageLayoutProductNavigationControlMenuEntry

      [java] 1: ./modules/apps/layout/layout-admin-web/src/main/java/com/liferay/layout/admin/web/internal/product/navigation/control/menu/ManageLayoutProductNavigationControlMenuEntry.java expected:<...atch (JspException j[e) {
           [java] 			ReflectionUtil.throwException(j]e);
           [java] 		}
           [java] 
           [java] 		Writer wr...> but was:<...atch (JspException j[spe) {
           [java] 			ReflectionUtil.throwException(jsp]e);
           [java] 		}
           [java] 
           [java] 		Writer wr...>
      

      7.2.x/Master: SimulationProductNavigationControlMenuEntry

      [java] 2: ./modules/apps/product-navigation/product-navigation-simulation-web/src/main/java/com/liferay/product/navigation/simulation/web/internal/product/navigation/control/menu/SimulationProductNavigationControlMenuEntry.java expected:<...atch (JspException j[e) {
           [java] 			throw new IOException(je);
           [java] 		}
           [java] 
           [java] 		return true;
           [java] 	}
           [java] 
           [java] 	@Override
           [java] 	public boolean includeIcon(
           [java] 			HttpServletRequest httpServletRequest,
           [java] 			HttpServletResponse httpServletResponse)
           [java] 		throws IOException {
           [java] 
           [java] 		PortletURL simulationPanelURL = _portletURLFactory.create(
           [java] 			httpServletRequest,
           [java] 			ProductNavigationSimulationPortletKeys.
           [java] 				PRODUCT_NAVIGATION_SIMULATION,
           [java] 			PortletRequest.RENDER_PHASE);
           [java] 
           [java] 		try {
           [java] 			simulationPanelURL.setWindowState(LiferayWindowState.EXCLUSIVE);
           [java] 		}
           [java] 		catch (WindowStateException wse) {
           [java] 			ReflectionUtil.throwException(wse);
           [java] 		}
           [java] 
           [java] 		Map<String, String> values = new HashMap<>();
           [java] 
           [java] 		IconTag iconTag = new IconTag();
           [java] 
           [java] 		iconTag.setCssClass("icon-monospaced");
           [java] 		iconTag.setImage("simulation-menu-closed");
           [java] 		iconTag.setMarkupView("lexicon");
           [java] 
           [java] 		try {
           [java] 			values.put(
           [java] 				"iconTag",
           [java] 				iconTag.doTagAsString(httpServletRequest, httpServletResponse));
           [java] 		}
           [java] 		catch (JspException je) {
           [java] 			ReflectionUtil.throwException(j]e);
           [java] 		}
           [java] 
           [java] 		values.pu...> but was:<...atch (JspException j[spe) {
           [java] 			throw new IOException(jspe);
           [java] 		}
           [java] 
           [java] 		return true;
           [java] 	}
           [java] 
           [java] 	@Override
           [java] 	public boolean includeIcon(
           [java] 			HttpServletRequest httpServletRequest,
           [java] 			HttpServletResponse httpServletResponse)
           [java] 		throws IOException {
           [java] 
           [java] 		PortletURL simulationPanelURL = _portletURLFactory.create(
           [java] 			httpServletRequest,
           [java] 			ProductNavigationSimulationPortletKeys.
           [java] 				PRODUCT_NAVIGATION_SIMULATION,
           [java] 			PortletRequest.RENDER_PHASE);
           [java] 
           [java] 		try {
           [java] 			simulationPanelURL.setWindowState(LiferayWindowState.EXCLUSIVE);
           [java] 		}
           [java] 		catch (WindowStateException wse) {
           [java] 			ReflectionUtil.throwException(wse);
           [java] 		}
           [java] 
           [java] 		Map<String, String> values = new HashMap<>();
           [java] 
           [java] 		IconTag iconTag = new IconTag();
           [java] 
           [java] 		iconTag.setCssClass("icon-monospaced");
           [java] 		iconTag.setImage("simulation-menu-closed");
           [java] 		iconTag.setMarkupView("lexicon");
           [java] 
           [java] 		try {
           [java] 			values.put(
           [java] 				"iconTag",
           [java] 				iconTag.doTagAsString(httpServletRequest, httpServletResponse));
           [java] 		}
           [java] 		catch (JspException jspe) {
           [java] 			ReflectionUtil.throwException(jsp]e);
           [java] 		}
           [java] 
           [java] 		values.pu...>
      

      7.2.x/Master: IconTag

      [java] 3: ./util-taglib/src/com/liferay/taglib/aui/IconTag.java expected:<...atch (JspException j[e) {
           [java] 			throw new ServletException(j]e);
           [java] 		}
           [java] 
           [java] 		return un...> but was:<...atch (JspException j[spe) {
           [java] 			throw new ServletException(jsp]e);
           [java] 		}
           [java] 
           [java] 		return un...>
      

      Master: SegmentsExperimentProductNavigationControlMenuEntry

      [java] 3: ./modules/apps/segments/segments-experiment-web/src/main/java/com/liferay/segments/experiment/web/internal/product/navigation/control/menu/SegmentsExperimentProductNavigationControlMenuEntry.java expected:<...atch (JspException j[e) {
           [java] 			throw new IOException(je);
           [java] 		}
           [java] 
           [java] 		return true;
           [java] 	}
           [java] 
           [java] 	@Override
           [java] 	public boolean includeIcon(
           [java] 			HttpServletRequest httpServletRequest,
           [java] 			HttpServletResponse httpServletResponse)
           [java] 		throws IOException {
           [java] 
           [java] 		Map<String, String> values = new HashMap<>();
           [java] 
           [java] 		String segmentsExperimentPanelState = SessionClicks.get(
           [java] 			httpServletRequest,
           [java] 			"com.liferay.segments.experiment.web_panelState", "closed");
           [java] 
           [java] 		if (Objects.equals(segmentsExperimentPanelState, "open")) {
           [java] 			values.put("cssClass", "active");
           [java] 			values.put("dataURL", StringPool.BLANK);
           [java] 		}
           [java] 		else {
           [java] 			values.put("cssClass", StringPool.BLANK);
           [java] 
           [java] 			PortletURL portletURL = _portletURLFactory.create(
           [java] 				httpServletRequest, SegmentsPortletKeys.SEGMENTS_EXPERIMENT,
           [java] 				RenderRequest.RENDER_PHASE);
           [java] 
           [java] 			portletURL.setParameter(
           [java] 				"mvcPath", "/segments_experiment_panel.jsp");
           [java] 
           [java] 			try {
           [java] 				portletURL.setWindowState(LiferayWindowState.EXCLUSIVE);
           [java] 			}
           [java] 			catch (WindowStateException wse) {
           [java] 				ReflectionUtil.throwException(wse);
           [java] 			}
           [java] 
           [java] 			values.put("dataURL", "data-url='" + portletURL.toString() + "'");
           [java] 
           [java] 			ResourceBundle resourceBundle = ResourceBundleUtil.getBundle(
           [java] 				_portal.getLocale(httpServletRequest), getClass());
           [java] 
           [java] 			values.put(
           [java] 				"title",
           [java] 				_html.escape(_language.get(resourceBundle, "ab-test")));
           [java] 		}
           [java] 
           [java] 		IconTag iconTag = new IconTag();
           [java] 
           [java] 		iconTag.setCssClass("icon-monospaced");
           [java] 		iconTag.setImage("star-half");
           [java] 		iconTag.setMarkupView("lexicon");
           [java] 
           [java] 		try {
           [java] 			values.put(
           [java] 				"iconTag",
           [java] 				iconTag.doTagAsString(httpServletRequest, httpServletResponse));
           [java] 		}
           [java] 		catch (JspException je) {
           [java] 			ReflectionUtil.throwException(j]e);
           [java] 		}
           [java] 
           [java] 		values.pu...> but was:<...atch (JspException j[spe) {
           [java] 			throw new IOException(jspe);
           [java] 		}
           [java] 
           [java] 		return true;
           [java] 	}
           [java] 
           [java] 	@Override
           [java] 	public boolean includeIcon(
           [java] 			HttpServletRequest httpServletRequest,
           [java] 			HttpServletResponse httpServletResponse)
           [java] 		throws IOException {
           [java] 
           [java] 		Map<String, String> values = new HashMap<>();
           [java] 
           [java] 		String segmentsExperimentPanelState = SessionClicks.get(
           [java] 			httpServletRequest,
           [java] 			"com.liferay.segments.experiment.web_panelState", "closed");
           [java] 
           [java] 		if (Objects.equals(segmentsExperimentPanelState, "open")) {
           [java] 			values.put("cssClass", "active");
           [java] 			values.put("dataURL", StringPool.BLANK);
           [java] 		}
           [java] 		else {
           [java] 			values.put("cssClass", StringPool.BLANK);
           [java] 
           [java] 			PortletURL portletURL = _portletURLFactory.create(
           [java] 				httpServletRequest, SegmentsPortletKeys.SEGMENTS_EXPERIMENT,
           [java] 				RenderRequest.RENDER_PHASE);
           [java] 
           [java] 			portletURL.setParameter(
           [java] 				"mvcPath", "/segments_experiment_panel.jsp");
           [java] 
           [java] 			try {
           [java] 				portletURL.setWindowState(LiferayWindowState.EXCLUSIVE);
           [java] 			}
           [java] 			catch (WindowStateException wse) {
           [java] 				ReflectionUtil.throwException(wse);
           [java] 			}
           [java] 
           [java] 			values.put("dataURL", "data-url='" + portletURL.toString() + "'");
           [java] 
           [java] 			ResourceBundle resourceBundle = ResourceBundleUtil.getBundle(
           [java] 				_portal.getLocale(httpServletRequest), getClass());
           [java] 
           [java] 			values.put(
           [java] 				"title",
           [java] 				_html.escape(_language.get(resourceBundle, "ab-test")));
           [java] 		}
           [java] 
           [java] 		IconTag iconTag = new IconTag();
           [java] 
           [java] 		iconTag.setCssClass("icon-monospaced");
           [java] 		iconTag.setImage("star-half");
           [java] 		iconTag.setMarkupView("lexicon");
           [java] 
           [java] 		try {
           [java] 			values.put(
           [java] 				"iconTag",
           [java] 				iconTag.doTagAsString(httpServletRequest, httpServletResponse));
           [java] 		}
           [java] 		catch (JspException jspe) {
           [java] 			ReflectionUtil.throwException(jsp]e);
           [java] 		}
           [java] 
           [java] 		values.pu...>
      

        Attachments

          Activity

            People

            • Assignee:
              joshua.itagaki Joshua Itagaki
              Reporter:
              joshua.itagaki Joshua Itagaki
              Recent user:
              Brian Wulbern
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package