Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2416

Mail from header cannot be set from jbpm.cfg.xml

    Details

    • Affects Testing:
      Regression
    • Release Notes Text:
      When a mail from header was set in jbpm.cfg.xml, the value of the jbpm.mail.from.address property was not used in the header. This has been corrected, and the header can now be set in jbpm.cfg.xml as expected.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      The mail from header can be set in two places - in jbpm.cfg.xml file as jbpm.mail.from.address config property or in property file defined in file referred by resource.mail.properties property.

      The problem is that originally it was possible to have this file present (for example to define SMTP parameters) AND at the same time to configure jbpm.mail.from.address in jbpm.cfg.xml.

      This is no longer possible as the code contains a condition at lin 293 that say that either external file is used or jbp.cfg.xml definitions can be used.
      if (Configs.hasObject("resource.mail.properties")) {

      This is a regression from previous version.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aguizar Alejandro Guizar
                  Reporter:
                  jpechanec Jiri Pechanec
                  Writer:
                  Dana Mison
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 hours, 27 minutes
                    3h 27m