Announcement

Collapse
No announcement yet.

Bug: Erratic behaviour generating Act_section_tree.js

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

    Bug: Erratic behaviour generating Act_section_tree.js

    Using Actinic 8.0.2

    Erratic behaviour generating Act_section_tree.js

    On a Preview Act_section_tree.js should contain links like

    section_tree[1].sURL = "../../../Act_PreviewWarningPage.html?ACTION=SHOWCART";

    If you do Web / Refresh the following format is generated

    section_tree[1].sURL = "http://mega/cgi-bin/ss008003.pl?SECTIONID=Books.html&NOLOGIN=1";

    if you now do a Preview Act_section_tree.js isn't changed and the live web site URLS are used.

    Also that &NOLOGIN=1 is different behaviour from V7 where &NOLOGIN=1 was generated. I'm not sure if HTML entities like this are valid in query strings across all browsers. I'm getting different behaviour in Firefox, Opera, IE.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    Also that &NOLOGIN=1 is different behaviour from V7 where &NOLOGIN=1 was generated. I'm not sure if HTML entities like this are valid in query strings across all browsers. I'm getting different behaviour in Firefox, Opera, IE.
    We were told to use & rather than & by the w3c, because apparently, '&' is only ever meant to be used at the start of an ascii string, and then ';' marks the end of it. Browsers don't care, but when you go to validator.w3c.org, using just a & causes all kinds of stupid errors.

    I'll report the other error to the team. I have a feeling the lack of generating the file all the time is a performance improvement change that was made back in the beta - but I'll pass on your comments.

    Comment


      #3
      Hi Norman - turns out the generation behaviour is fixed in 8.0.3. I've just tested iwth with an early cut, and when I did a preview after a refresh, Act_section_tree.js contained the correct links.

      Comment


        #4
        Chris,
        Preview works great! however when you upload to production domain, you get the preview results rather then the production domain. The file is not generated correctly. Seems to be a step backwards IMHO :-)

        Brian
        Brian Johnson
        :::Sure Solutions Inc:::Professional Actinic templates from Buythisdesign.com:::
        1-732-528-7635 x203

        Comment


          #5
          Perhaps it was fixed for the UK release of 803 but it was not included in the 803 US beta build? It seems like the only time to get the generation error is when the file is manually deleted then upon its recreation all the sURL are ../../../Act_PreviewWarningPage.html?ACTION=SHOWCART

          Comment


            #6
            Hi there

            I'm just checking the US 8.0.3 Beta issue for this problem, please bear with me

            Kind Regards
            Nadeem Rasool
            SellerDeck Development

            Comment


              #7
              Hi there,

              Has the section been marked as deleted? Development have found that after marking a section as deleted, previewing and then undeleting the section the js file seemed to be generated normally.

              Please could you check this

              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment

              Working...
              X