5 Replies Latest reply: Apr 24, 2014 1:48 PM by Doolius RSS

    Static File Upload Problems

    Doolius

      Would there be any specific reason why I would have to upload the same javascript STATIC FILE 3 or 4 times before the changes are actually implemented in the application?

       

      It's almost like the old file is cached or when the file is deleted it takes the application a couple times for it to notice/implement the new file.

       

      APEX: 4.0.2

      THEME: SAND

      SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server

       

      Steven

        • 1. Re: Static File Upload Problems
          TexasApexDeveloper

          Caching by the database server?  I would suggest instead to load them to the app server to a mapped folder for your custom files for your APEX installation..

           

          Thank you,

           

          Tony Miller
          LuvMuffin Software
          Ruckersville, VA

          • 2. Re: Static File Upload Problems
            scott.wesley

            Or try force refresh your browser (ctrl-f5)

            • 3. Re: Static File Upload Problems
              GhanaApexDeveloper

              Hi,

              Clear cache of your web browser being used.

              Thanks

              Benjamin.

              • 4. Re: Static File Upload Problems
                Doolius

                What do you mean by mapped folder in the app server. Is that not what the "static files" in the shared components is?

                 

                I've tried the refresh options and neither worked.

                 

                Is there another place the file could be stored that it is being called from?

                -- edit --

                The reason I ask that is because when I delete the JS file from the static files, the applications are still able to call functions from that file.

                -- edit --

                 

                It is being called when the user clicks the "submit" button, they are redirected to a URL and the URL is:

                javascript:massValidate('INBOUND');

                 

                I reverted my application back to the origional when it worked before and reverted the JS file back to the origional and now one of my applications doesn't submit. I'm hoping that there is somewhere else the function is being called from.

                 

                Thanks

                Steven

                 

                Message was edited by: Doolius

                • 5. Re: Static File Upload Problems
                  Doolius

                  I think i've figured out the problem, but don't know why it happened.

                   

                  When I queried the WWV_FLOW_FILE_OBJECTS$ and searched for my file, there were 5 instances of it.

                  When I deleted all but 1 instance, everything worked again.

                   

                  Any idea why the old file wasn't fully deleted when I clicked to delete it from the static files?

                   

                  Steven