Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-1010

Incorrect working of Link Destination Details

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1 Enterprise
    • Fix Version/s: 3.3 Community
    • Component/s: ZZ_Archive
    • Labels:
      None
    • Environment:
      Alfresco 3.2 Labs build 1837 (Windows 2003 R2 SP2, Tomcat 6.0.18, Mysql 5.0.67)
    • Resource:
      External
    • Resolution Time Custom Field:
      48 weeks, 4 days, 15 hours, 47 minutes, 23 seconds

      Description

      Steps to reproduce:
      1. Create any content;
      2. Copy content and paste as a link;
      3. Open Details page for Link to content;
      4. Click "Link Destination Details" link on "Links" pane -> Details for parent content page is displayed, but Actions are displayed as Actions for link to content (see attached screenshot);
      5. Click "Modify" icon on "Properties" pane -> the next error is displayed:

      javax.faces.FacesException: javax.faces.FacesException: Could not retrieve value of component with path :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}

      caused by:
      org.apache.jasper.JasperException: javax.faces.FacesException: Could not retrieve value of component with path :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}

      caused by:
      javax.faces.FacesException: Could not retrieve value of component with path :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}

      caused by:
      javax.faces.el.EvaluationException: Cannot get value for expression '#

      {DialogManager.bean.properties.name}'
      caused by:
      javax.faces.el.EvaluationException: Exception getting value of property properties of base of type : org.alfresco.web.bean.LinkPropertiesDialog
      caused by:
      javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.LinkPropertiesDialog, property: properties
      caused by:
      java.lang.reflect.InvocationTargetException
      caused by:
      java.lang.IllegalArgumentException: Dialog has not been initialised with noderef or setup action event called.

      Hide Details

      javax.faces.FacesException: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}
      at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
      at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)
      at sun.reflect.GeneratedMethodAccessor593.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy190.doFilter(Unknown Source)
      at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)
      at sun.reflect.GeneratedMethodAccessor593.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy190.doFilter(Unknown Source)
      at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.jasper.JasperException: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
      at org.apache.jsp.jsp.dialog.container_jsp._jspService(container_jsp.java:637)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
      ... 38 more
      Caused by: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: javax.faces.component.UINamingContainer,Id: dialog-body][Class: javax.faces.component.html.HtmlInputText,Id: file-name]}
      at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:227)
      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135)
      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
      at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:498)
      at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:366)
      at org.apache.jsp.jsp.content.edit_002dlink_002dproperties_jsp._jspx_meth_h_005finputText_005f0(edit_002dlink_002dproperties_jsp.java:312)
      at org.apache.jsp.jsp.content.edit_002dlink_002dproperties_jsp._jspService(edit_002dlink_002dproperties_jsp.java:92)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      ... 61 more
      Caused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{DialogManager.bean.properties.name}

      '
      at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:405)
      at javax.faces.component.UIOutput.getValue(UIOutput.java:80)
      at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:223)
      ... 71 more
      Caused by: javax.faces.el.EvaluationException: Exception getting value of property properties of base of type : org.alfresco.web.bean.LinkPropertiesDialog
      at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:99)
      at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:535)
      at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
      at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:386)
      ... 73 more
      Caused by: javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.LinkPropertiesDialog, property: properties
      at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:461)
      at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
      ... 76 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)
      ... 77 more
      Caused by: java.lang.IllegalArgumentException: Dialog has not been initialised with noderef or setup action event called.
      at org.alfresco.web.bean.LinkPropertiesDialog.getEditableNode(LinkPropertiesDialog.java:89)
      at org.alfresco.web.bean.LinkPropertiesDialog.getProperties(LinkPropertiesDialog.java:65)
      ... 82 more

      Olgadu

        Attachments

        1. 1.png
          1.png
          43 kB
        2. 2.png
          2.png
          58 kB
        3. Screenshot.jpg
          Screenshot.jpg
          114 kB

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                mkononovich mkononovich
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: