Uploaded image for project: 'ZZZ-WSO2 Data Services Server'
  1. ZZZ-WSO2 Data Services Server
  2. DS-1153

Parts of copyright header getting added to scheduled tasks, operations list

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.1-RC1, 3.5.1
    • Component/s: UI
    • Labels:
      None

      Description

      While adding "Scheduled Tasks" in DSS, noticed that parts of WSO2 copyright notice is being displayed under operations list [1].

      This happens because getOperations(obj) function of taskcommon.js [2], is getting data from serviceId_ajaxprocessor.jsp [3], which returns output with WSO2 copyright header as shown in image [1] (developer console).

      It seems like the best method to resolve the issue without making any changes to the copyright header, is to change getOperations(obj) function to read content skipping any HTML comments. Please comment on this. If changing function is acceptable kindly review pull request [4].

      [1] https://drive.google.com/a/wso2.com/file/d/0B-0UyBaVrBStdXBlSERpQ3lDeHM/view?usp=drive_web

      [2] https://github.com/wso2/carbon-data/blob/master/components/data-services/org.wso2.carbon.dataservices.task.ui/src/main/resources/web/ds_task/js/taskcommon.js

      [3] https://github.com/wso2/carbon-data/blob/master/components/data-services/org.wso2.carbon.dataservices.task.ui/src/main/resources/web/ds_task/serviceId_ajaxprocessor.jsp

      [4]

        Attachments

          Activity

            People

            • Assignee:
              chanika@wso2.com Chanika Geeganage
              Reporter:
              ayoma@wso2.com Ayoma Wijethunga
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: