Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71309

Remove usages of Prototype from qTest

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • qtest-plugin
    • None
    • 2024.1 release

      See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified. This may not be an exhaustive list:

      ./src/main/webapp/js/service.js:16:    srcNode.on('change', function () {
      ./src/main/webapp/js/service.js:55:    $j.each(src, function (index) {
      ./src/main/webapp/js/service.js:65:    node.parentElement.next().style.display = '';
      ./src/main/webapp/js/service.js:70:    node.parentElement.next().style.display = 'none';
      ./src/main/webapp/js/app.js:36:  $j(document).on("click", ".content", function(event) {
      ./src/main/webapp/js/app.js:56:  $j(document).on("change", "input[name='config.url']", function(event) {
      ./src/main/webapp/js/app.js:76:   $j(document).on("remove", "#containerTree", function (event) {
      ./src/main/webapp/js/app.js:89:  $j(document).on("click", "input[name='toscaIntegration']", function (event) {
      ./src/main/webapp/js/app.js:92:  $j(document).on("click", "#createNewTestRun", function (event) {
      ./src/main/webapp/js/app.js:96:  $j(document).on("click", ".collapse-indicator, .expand-indicator", function(event) {
      ./src/main/webapp/js/app.js:107:                toggleSubItem($j(event.currentTarget), $j(event.currentTarget.parentElement.next()));
      ./src/main/webapp/js/app.js:114:                    if (!loadContainers($j(event.currentTarget.parentElement.next()), data, nodeId)) {
      ./src/main/webapp/js/app.js:118:                    toggleSubItem($j(event.currentTarget), $j(event.currentTarget.parentElement.next()));
      ./src/main/webapp/js/app.js:165:  $j.each(trNodes, function (index) {
      ./src/main/webapp/js/app.js:189:        $j("input[name='fakeContainerName']").show();
      ./src/main/webapp/js/app.js:190:        $j("#containerTree").hide();
      ./src/main/webapp/js/app.js:192:        $j("input[name='fakeContainerName']").hide();
      ./src/main/webapp/js/app.js:193:        $j("#containerTree").show();
      ./src/main/webapp/js/app.js:197:  $j("#fetchProjectData").on('click', function (e) {
      ./src/main/webapp/js/app.js:353:      $j.each(data.environments.allowed_values, function (index) {
      ./src/main/webapp/js/app.js:498:                    if ($j(htmlNode.parentElement.next()).is(":visible")) {
      

            qasymphony Tricentis Developer
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: