Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-516

SecureUberspector doesn't work with #foreach (iterators)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5 beta2
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None

      Description

      When using a #foreach iterating over strings I get: "Cannot retrieve iterator from object of class [Ljava.lang.String; due to security restrictions."

      The reason is that in the SecureUberspector class there's a call to checkObjectExecutePermission() with the second parameter being null. And in checkObjectExecutePermission() there's:

              if (methodName == null)
              {
                  return false;
              }
      

        Attachments

          Activity

            People

            • Assignee:
              henning Henning Schmiedehausen
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: