Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22369

Fix _doFakeSubmitForValidation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: WEBUI-1.0.0-SNAPSHOT
    • Fix Version/s: WEBUI-1.0.0
    • Component/s: Web UI

      Description

      Since https://github.com/PolymerElements/iron-form/pull/185 has been merged, creation fails and tests are in error.

      diff --git i/elements/document/nuxeo-document-create.html w/elements/document/nuxeo-document-create.html
      index 6b9860d0..53551ede 100644
      --- i/elements/document/nuxeo-document-create.html
      +++ w/elements/document/nuxeo-document-create.html
      @@ -293,6 +293,8 @@ Contributors:
       
                 // fake submit to trigger native validation checks and UI
                 if (valid) {
      +            // Hack for https://github.com/PolymerElements/iron-form/pull/185
      +            this.$.form.request.method = 'get';
                   this.$.form._doFakeSubmitForValidation();
                 }
      

      might fix.

      https://qa.nuxeo.org/jenkins/job/master/job/plugins_nuxeo-web-ui-master-8.10/318/cucumber-html-reports/report-feature_-opt-jenkins-workspace-master-plugins_nuxeo-web-ui-master-8-10-nuxeo-web-ui-ftest-webdriver-test-features-create_doc-feature.html

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: