Announcement

Collapse
No announcement yet.

805 Bug: Spurious warning if JavaScript files contain filenames.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    805 Bug: Spurious warning if JavaScript files contain filenames.

    If you have a JavaScript file (bug.js) containing e.g.
    Code:
    // upload annoyance demo
        var x = 'thing.jpg';
    And include it with a line like

    <script language="javascript" type="text/javascript" src="bug.js"></script>

    then Actinic displays a warning at Upload time
    While Actinic was generating your store pages, it found that some of your layouts contain links to files that Actinic cannot find on your computer....
    You can safely ignore this error and things proceed as expected.

    Workaround. The follwing code change seems to prevent this error.
    Code:
    // upload annoyance demo
        var x = 'thing' + '.jpg';
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    I've also found (yesterday) that the search for dependant files accidently looks inside comments of jscript files.
    example
    Code:
    /* some comments (multiple lines) - to show how to install the js file
       <script src="PATH TO SCRIPT/listCollapse.js" type="text/javascript" language="javascript1.2"></script>
       last line  of comments
    */
    you then end up with a warning message
    Cannot find "/PATH TO SCRIPT/listCollapse.js"
    I've tried splitting the word "scr ipt" - that doesn't do it
    the only way I've found so far is to physically split the line, or remove it all together.
    seems like the parser needs tightening up

    Comment


      #3
      Thanks chaps

      I've reported both these problems to the development team.

      Comment

      Working...
      X