Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-14468

Integrity checker shouldn't offer repairs, if duplicated subscriptions are discovered.

    XMLWordPrintable

Details

    Description

      If Integrity checker is run over data with a duplicated entries for a single subscription, the tool reports this issue and offers to repair the problem.

      Check for invalid filter subscriptions
      
          * PASSED: Check FilterSubscriptions for references to non-existent QuartzTriggers
          * PASSED: Check FilterSubscriptions for references to non-existent SearchRequests
      
      Check for existance of SimpleTriggers
      ERROR: SimpleTrigger with name SUBSCRIPTION_10033 is missing its corresponding filter subscription and will be removed.
      

      Although, if one tries to fix it using the Fix button, Jira crashes with "java.lang.IllegalArgumentException: Passed List had more than one value" and in the log file is recoded:

      java.lang.IllegalArgumentException: Passed List had more than one value.
      	at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:58)
      	at com.atlassian.scheduler.OfBizJobStore.removeTrigger(OfBizJobStore.java:332)
      	at org.quartz.core.QuartzScheduler.unscheduleJob(QuartzScheduler.java:680)
      	at org.quartz.impl.StdScheduler.unscheduleJob(StdScheduler.java:268)
      	at com.atlassian.jira.util.SimpleToCronUtil.unscheduleJob(SimpleToCronUtil.java:113)
      	at com.atlassian.jira.appconsistency.integrity.check.SimpleTriggerCheck.doCheck(SimpleTriggerCheck.java:83)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bdziedzic Bogdan Dziedzic [Atlassian]
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: