Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6921

Studio: Validation of css files through studio does not show expected results

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: None
    • Component/s: Editor, Validation
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.4.0.201409112242
      CLI: 3.4.0-dev
      Alloy: 1.5.0-dev
      Code processor: 1.1.1
      SDK: 3.4.0
      Mac OSX version 10.9.4

      Description

      When validation of css or html file is done through the studio through the commands option the results are not as expected. When the css file is selected to do a validation, it shows no error even though there is an error present in the editor for the css file.

      This is not a regression as the same issue can be reproduced in appcelerator studio 3.3.0

      Steps to reproduce:
      1. Create a css file and add the following code:

      body { font-family: arial; }
      h1 { background-color:#CCC; border: 1px solid; color:#39F; text-align: center;}
      Hello
      Qwerty
      !!!Test1
      @!^$@#&^!
      !!Error!!! 
      

      2. observe the editor
      3. Go to commands > css > validated selected css file

      Actual Results:
      1. File created successfully
      2. Error icon appears on the left hand gutter
      3. Results shows no error (see attachment: CSS_validation_actualResult).

      Expected Results:
      1. File created successfully
      2. Error icon appears on the left hand gutter
      3. The same error found on the editor should be detected: Lexical error at line 5, column 2. Encountered: "Unable to render embedded object: File ( ") not found." Unable to render embedded object: File (Test1 !$#&) not found. Unable to render embedded object: File (Error) not found.

      Uploading this css file separately to http://jigsaw.w3.org/css-validator shows the expected results (see attachment: CSS_validation_expectedResult)

        Attachments

        1. CSS_validation_actualResult.png
          127 kB
          Visalakshi Chidambaram
        2. CSS_validation_expectedResult.png
          142 kB
          Visalakshi Chidambaram

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              vchidambaram Visalakshi Chidambaram
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: