Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-838

Template of email notifications for 'text' format doesn't exist.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.0 Release Candidate 6
    • 1.0 Release Candidate 5
    • None
    • Sun Solaris 9, Sparc;
      Sun JDK 1.4.2_02

    Description

      Confluence failed to send daily notification with digest of changes, when user select a text format for email.
      Reason: template for such format doesn't exist - there is no such file 'WEB-INF/classes/templates/email/text/changedigest-notification.vm' .
      Stack trace:
      2004-02-25 00:00:06,845 ERROR [com.atlassian.confluence.util.VelocityUtils] Error occurred rendering template: /templates/email/text/changedigest-notification.vm
      org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/templates/email/text/changedigest-notification.vm'
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:501)
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:384)
      at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:814)
      at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:533)
      at com.atlassian.confluence.util.VelocityUtils.getRenderedTemplate(VelocityUtils.java:24)
      at com.atlassian.confluence.mail.VelocityRenderedQueueItem.getRenderedContent(VelocityRenderedQueueItem.java:102)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.render(PreRenderedMailNotificationQueueItem.java:66)
      at com.atlassian.confluence.mail.jobs.DailyReportJob.doExecute(DailyReportJob.java:55)
      at com.atlassian.confluence.mail.jobs.AbstractConfluenceJob.execute(AbstractConfluenceJob.java:81)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:147)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
      2004-02-25 04:00:02,313 WARN [net.sf.hibernate.impl.SessionImpl] Narrowing proxy to class com.atlassian.confluence.spaces.SpaceDescription - this operation breaks ==
      2004-02-25 04:00:02,926 WARN [net.sf.hibernate.impl.SessionImpl] Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==
      2004-02-25 04:00:03,013 WARN [net.sf.hibernate.impl.SessionImpl] Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==
      2004-02-25 04:00:03,081 WARN [net.sf.hibernate.impl.SessionImpl] Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==
      2004-02-25 04:00:03,134 WARN [net.sf.hibernate.impl.SessionImpl] Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation

      Attachments

        Activity

          People

            0e1d1dcfc133 Armond Avanes
            863fe2d9e3b9 Alex Pavlov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: