com.meterware.httpunit.MissingParameterValueException: Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT }

Atlassian JIRA | Philip Cher | 6 years ago
  1. 0

    Hi Guys, Let me keep this short, I am having a problem on JIRA Linker plugin func test (latest JIRA 4.2-SNAPSHOT). It is failing with the error below:- {code} com.meterware.httpunit.MissingParameterValueException: Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT } at com.meterware.httpunit.FormControl.claimValueIsRequired(FormControl.java:279) at com.meterware.httpunit.BooleanFormControl.claimRequiredValues(FormControl.java:474) at com.meterware.httpunit.RadioGroupFormControl.claimRequiredValues(FormControl.java:587) at com.meterware.httpunit.FormParameter.setValues(FormParameter.java:89) at com.meterware.httpunit.WebForm.setParameter(WebForm.java:533) at net.sourceforge.jwebunit.HttpUnitDialog.updateFormParameter(HttpUnitDialog.java:368) at net.sourceforge.jwebunit.WebTester.checkCheckbox(WebTester.java:821) at com.atlassian.jira.functest.framework.admin.AttachmentsImpl.enable(AttachmentsImpl.java:28) at com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.importAndExportBackupAndSetupCurrentInstance(AbstractProjectImportTestCase.java:153) at com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.doProjectImport(AbstractProjectImportTestCase.java:80) at it.com.atlassian.jira.plugin.linker.TestProjectImportValidation.testImportWithValidUrlAsLinkerCfTypeValue(TestProjectImportValidation.java:15) {code} I have check on the [func test library|https://atlaseye.atlassian.com/browse/jira/jira/trunk/subprojects/func_tests/src/test/com/atlassian/jira/functest/framework/admin/AttachmentsImpl.java?r=HEAD] which is check for check box but in JIRA UI it has changed to radio buttons instead. Without this getting fixed, the build in BDAC will keep turning red. Let me know if there is a need for more information. Thanks! Regards, Philip

    Atlassian JIRA | 6 years ago | Philip Cher
    com.meterware.httpunit.MissingParameterValueException: Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT }
  2. 0

    Hi Guys, Let me keep this short, I am having a problem on JIRA Linker plugin func test (latest JIRA 4.2-SNAPSHOT). It is failing with the error below:- {code} com.meterware.httpunit.MissingParameterValueException: Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT } at com.meterware.httpunit.FormControl.claimValueIsRequired(FormControl.java:279) at com.meterware.httpunit.BooleanFormControl.claimRequiredValues(FormControl.java:474) at com.meterware.httpunit.RadioGroupFormControl.claimRequiredValues(FormControl.java:587) at com.meterware.httpunit.FormParameter.setValues(FormParameter.java:89) at com.meterware.httpunit.WebForm.setParameter(WebForm.java:533) at net.sourceforge.jwebunit.HttpUnitDialog.updateFormParameter(HttpUnitDialog.java:368) at net.sourceforge.jwebunit.WebTester.checkCheckbox(WebTester.java:821) at com.atlassian.jira.functest.framework.admin.AttachmentsImpl.enable(AttachmentsImpl.java:28) at com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.importAndExportBackupAndSetupCurrentInstance(AbstractProjectImportTestCase.java:153) at com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.doProjectImport(AbstractProjectImportTestCase.java:80) at it.com.atlassian.jira.plugin.linker.TestProjectImportValidation.testImportWithValidUrlAsLinkerCfTypeValue(TestProjectImportValidation.java:15) {code} I have check on the [func test library|https://atlaseye.atlassian.com/browse/jira/jira/trunk/subprojects/func_tests/src/test/com/atlassian/jira/functest/framework/admin/AttachmentsImpl.java?r=HEAD] which is check for check box but in JIRA UI it has changed to radio buttons instead. Without this getting fixed, the build in BDAC will keep turning red. Let me know if there is a need for more information. Thanks! Regards, Philip

    Atlassian JIRA | 6 years ago | Philip Cher
    com.meterware.httpunit.MissingParameterValueException: Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT }
  3. 0

    set hidden fields and submit

    httpunit | 1 decade ago | *anonymous
    com.meterware.httpunit.MissingParameterValueException: Parameter 'linkSource' must have the value ''. Attempted to set it to: \{ addComponentPage \}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    set hidden fields and submit

    httpunit | 1 decade ago | *anonymous
    com.meterware.httpunit.MissingParameterValueException: Parameter 'linkSource' must have the value ''. Attempted to set it to: \{ addComponentPage \}

    Root Cause Analysis

    1. com.meterware.httpunit.MissingParameterValueException

      Parameter 'attachmentPathOption' must have the value 'CUSTOM'. Attempted to set it to: { DEFAULT }

      at com.meterware.httpunit.FormControl.claimValueIsRequired()
    2. HttpUnit
      WebForm.setParameter
      1. com.meterware.httpunit.FormControl.claimValueIsRequired(FormControl.java:279)
      2. com.meterware.httpunit.BooleanFormControl.claimRequiredValues(FormControl.java:474)
      3. com.meterware.httpunit.RadioGroupFormControl.claimRequiredValues(FormControl.java:587)
      4. com.meterware.httpunit.FormParameter.setValues(FormParameter.java:89)
      5. com.meterware.httpunit.WebForm.setParameter(WebForm.java:533)
      5 frames
    3. net.sourceforge.jwebunit
      WebTester.checkCheckbox
      1. net.sourceforge.jwebunit.HttpUnitDialog.updateFormParameter(HttpUnitDialog.java:368)
      2. net.sourceforge.jwebunit.WebTester.checkCheckbox(WebTester.java:821)
      2 frames
    4. com.atlassian.jira
      AbstractProjectImportTestCase.doProjectImport
      1. com.atlassian.jira.functest.framework.admin.AttachmentsImpl.enable(AttachmentsImpl.java:28)
      2. com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.importAndExportBackupAndSetupCurrentInstance(AbstractProjectImportTestCase.java:153)
      3. com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase.doProjectImport(AbstractProjectImportTestCase.java:80)
      3 frames
    5. it.com.atlassian
      TestProjectImportValidation.testImportWithValidUrlAsLinkerCfTypeValue
      1. it.com.atlassian.jira.plugin.linker.TestProjectImportValidation.testImportWithValidUrlAsLinkerCfTypeValue(TestProjectImportValidation.java:15)
      1 frame