percussion / percussioncms

Percussion CMS - Content Management System
https://percussioncmshelp.intsof.com/percussioncms
Apache License 2.0
11 stars 9 forks source link

After update to 8.1.5 some publishing jobs complete with failures and the sitemap.xml is not generated as expected #1275

Open natechadwick opened 3 months ago

natechadwick commented 3 months ago

Describe the bug

After update to 8.1.5 some publishing jobs complete with failures and the sitemap.xml is not generated as expected.

To Reproduce

Steps to reproduce the behavior:

  1. Upgrade to 8.1.5
  2. Run a Full Site Publish
  3. Job will complete with Failures
  4. See error
name=Java/global/percussion/task/perc_SitemapGeneratorTask, while running publishing Job id=26017, Edition 'DCRT_FULL' (323).
java.lang.RuntimeException: javax.jcr.PathNotFoundException: Property rx:page_noindex not found
    at com.percussion.sitemanage.task.impl.PSSiteMapGeneratorTask.perform(PSSiteMapGeneratorTask.java:206) ~[?:?]
    at com.percussion.rx.publisher.impl.PSPublishingJob.runEditionTasks(PSPublishingJob.java:1409) ~[?:?]
    at com.percussion.rx.publisher.impl.PSPublishingJob.runPostTasks(PSPublishingJob.java:1029) ~[?:?]
    at com.percussion.rx.publisher.impl.PSPublishingJob.finishEdition(PSPublishingJob.java:880) ~[?:?]
    at com.percussion.rx.publisher.impl.PSPublishingJob.run(PSPublishingJob.java:813) ~[?:?]
    at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_262]
Caused by: javax.jcr.PathNotFoundException: Property rx:page_noindex not found
    at com.percussion.services.contentmgr.data.PSContentNode.getProperty(PSContentNode.java:510) ~[?:?]
    at com.percussion.sitemanage.task.impl.PSSiteMapGeneratorTask.perform(PSSiteMapGeneratorTask.java:196) ~[?:?]
    ... 5 more
2024-05-24 09:13:41,246 INFO  [com.percussion.rx.publisher.impl.PSPublishingJob] 

Expected behavior Job should run and site map should be generated.

Versions Affected

natechadwick commented 3 months ago

@ramdev1980 Looks like a regression related to your skip pages with no search indexing fix.