Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-41668

Fill a new blog's Trackback URL with another existed blog's Trackback URL leads errors

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Admin > Control Panel > Sites > Liferay.
      2. Click Blogs.
      3. Add a blog named "test" and publish.
      4. Click test and copy the Trackback URL.
      5. Add a new blog named "test1" and paste the URL to Trackbacks to Send Box.
      6. Click Publish.

      Expected result:
      You should publish successfully and the console shouldn't show errors.

      Actual result:
      You can publish the second blog successfully, but the console will show errors.

      02:18:05,358 INFO  [http-bio-8080-exec-7][LinkbackProducerUtil:110] Pinging trackback http://localhost:8080/group/control_panel/manage?doAsGroupId=10197&refererPlid=10187&controlPanelCategory=sites/-/blogs/trackback/test
      02:18:05,722 ERROR [http-bio-8080-exec-7][BlogsEntryLocalServiceImpl:1605] Error while sending trackback at http://localhost:8080/group/control_panel/manage?doAsGroupId=10197&refererPlid=10187&controlPanelCategory=sites/-/blogs/trackback/test
      com.ctc.wstx.exc.WstxParsingException: Received event DTD, instead of START_ELEMENT or END_ELEMENT.__ at [row,col {unknown-source}]: [1,14] [Sanitized]
              at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
              at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
              at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1113)
              at com.liferay.portlet.blogs.util.LinkbackProducerUtil.sendTrackback(LinkbackProducerUtil.java:146)
              at com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.pingTrackbacks(BlogsEntryLocalServiceImpl.java:1600)
              at com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.updateStatus(BlogsEntryLocalServiceImpl.java:1219)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.sun.proxy.$Proxy153.updateStatus(Unknown Source)
              at com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil.updateStatus(BlogsEntryLocalServiceUtil.java:829)
              at com.liferay.portlet.blogs.workflow.BlogsEntryWorkflowHandler.updateStatus(BlogsEntryWorkflowHandler.java:62)
              at com.liferay.portlet.blogs.workflow.BlogsEntryWorkflowHandler.updateStatus(BlogsEntryWorkflowHandler.java:1)
              at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.startWorkflowInstance(WorkflowHandlerRegistryUtil.java:163)
              at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.startWorkflowInstance(WorkflowHandlerRegistryUtil.java:84)
              at com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl.addEntry(BlogsEntryLocalServiceImpl.java:211)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haoliang.wu Haoliang Wu (Inactive)
              Reporter:
              yang.gao Yang Gao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 9 weeks ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE
                  7.0.0 M1