Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2276

Cluster (web service) does not escape/quote task names properly.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Administrative Tools
    • Labels:
      None

      Description

      I entered the following (valid, as far as I know) task name into the UI for an account (see attached), and

      Name:

      ask updater (1=mon, 3=wed, 5=fri)

      select * from `cluster`.`tasks` inner join `cluster`.`runnables` on ((`cluster`.`tasks`.`runnableID`=`cluster`.`runnables`.`id`)) wh

      ere ((((`cluster`.`tasks`.`accountID`=17)) and ((`cluster`.`tasks`.`name`=ask updater (1=mon, 3=wed, 5=fri)))))

      I was able to find this in the server.log

      grep cluster /usr/local/jboss-4.2.1.GA/server/default/log/server.log | grep -v 'databaseStatus' | less

        Attachments

        1. clusterbug.png
          123 kB
          Jeff Theroux
        2. clusterstacktrace.txt
          7 kB
          Jeff Theroux
        3. taskscheduler.out
          5 kB
          Jeff Theroux

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              therouxj Jeff Theroux
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: