Uploaded image for project: 'Enterprise Mail Handler for JIRA (JEMH)'
  1. JEMH-253

Addressee's not being picked out for encoded user email addreses

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JEMH Core
    • Labels:
      None
    • Internal Complexity:
      Unknown
    • Internal Value:
      Unknown

      Description

      LOG message

      User wasn't found for emailAddress: =?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de>
      

      This causes knock on effects like failing to match email address and trying to recreate users, which fails (harmlessly?):

      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] setting email address [=?UTF-8?Q?H=C3=A4nsel=2C_Michaela_=28JIRA=29?= <jira@services.dlh.de>] on provider com.javahollic.jira.emh.engine.DefaultEmailUserLookup
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] calling getAlternateUserIDForEmail()
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EmailAliasHelper] jira@services.dlh.de
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] finding a USERID based on FULL email address
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] No createUsersIDFromEmailDomainRestrictions property set, just creating from: jira@services.dlh.de
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 DEBUG [jira.emh.engine.EMHUserUtils] UserID will be: jira@services.dlh.de
      2010-07-22 10:29:24,541 JiraQuartzScheduler_Worker-3 ERROR [jira.emh.engine.EMHUserUtils] Unhandled Exception occurred while automatically creating a new user from email: 
      com.opensymphony.user.DuplicateEntityException: The user jira@services.dlh.de already exists.
      	at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:261)
      	at com.atlassian.core.user.UserUtils.createUser(UserUtils.java:238)
      	at com.javahollic.jira.emh.engine.EMHUserUtils.createUser(EMHUserUtils.java:215)
      	at com.javahollic.jira.emh.engine.EMHUserUtils.createUserFromEmailAddress(EMHUserUtils.java:202)
      	at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupReporter(AbstractFieldProcessorHelper.java:763)
      	at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:103)
      	at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48)
      	at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:279)
      	at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:125)
      	at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67)
      	at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189)
      	at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
      	at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                abrook Andy Brook (DEV)
                Reporter:
                abrook Andy Brook (DEV)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?