Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.5.201110061808
      Ubuntu 10.10

      Description

      The Scripting Console returns an error when the end user cancels the Insert Color dialog.

      Steps to Replicate :

      1) Open Aptana Studio
      2) Open a CSS file
      3) CSS > Insert Color
      4) Cancel

      Actual Results :

      Scripting Concole returns :

      [2011-10-09 14:07:16] An error occurred while processing the invoke block for the command Insert Color... in /home/qatester/Documents/Aptana Rubles/css.ruble/commands/insert_color.rb: (NoMethodError) undefined method `red' for nil:NilClass
      org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `red' for nil:NilClass
      	at #<Class:0x10119717a>.request_color(/home/qatester/Desktop/Aptana Studio 3latest/configuration/org.eclipse.osgi/bundles/89/1/.cp/framework/ruble/ui.rb:55)
      	at #<Class:0x100fcf7e3>.define_command(/home/qatester/Documents/Aptana Rubles/css.ruble/commands/insert_color.rb:18)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:232)
      

      Expected Results :

      Studio should handle this without an error.

        Activity

        Hide
        Chris Williams added a comment -

        Pushed fix to 'release' and 'development' branches.

        Show
        Chris Williams added a comment - Pushed fix to 'release' and 'development' branches.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.7.201110281756
        Ubuntu 11.10

        Opening a CSS file then Commands > CSS > Insert Color > Cancel no longer returns Scripting Console error.

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.7.201110281756 Ubuntu 11.10 Opening a CSS file then Commands > CSS > Insert Color > Cancel no longer returns Scripting Console error.

          People

          • Assignee:
            Chris Williams
            Reporter:
            Joel Witt (Inactive)
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: