This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6184 - Amaya does not load correct file
Summary: Amaya does not load correct file
Status: RESOLVED NEEDSINFO
Alias: None
Product: Amaya
Classification: Unclassified
Component: Editing (show other bugs)
Version: 10.1-pre5
Hardware: PC Windows XP
: P2 blocker
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 19:55 UTC by Marci Hopkins
Modified: 2008-12-09 15:36 UTC (History)
5 users (show)

See Also:


Attachments

Description Marci Hopkins 2008-10-27 19:55:50 UTC
I think this might be a cache problem, but I tried disabling the cache through preferences (Edit | Preferences | Cache | Enable cache) and it didn't solve the problem.

When I open a file with the same name as a previously opened file, the window shows me the contents of the previous file instead of the contents of the current file.  

I've paged through the text of my file outside Amaya and it's definitely not showing the contents of the correct file.  This makes Amaya unusable in a situation where you're editing say, "index.html" for a number of different directories.
Comment 1 Marci Hopkins 2008-10-27 20:03:35 UTC
I tried deleting the cache directory and it still displays the old data.  If I hadn't checked with four other sources (displaying in firefox, displaying in IE, viewing in emacs and notepad), I would believe I had the wrong file in the directory.  As it is, I know Amaya is doing the wrong thing.  I just don't know why.
Comment 2 Vatton 2008-11-03 13:02:04 UTC
(In reply to comment #0)
> I think this might be a cache problem, but I tried disabling the cache through
> preferences (Edit | Preferences | Cache | Enable cache) and it didn't solve the
> problem.
> 
> When I open a file with the same name as a previously opened file, the window
> shows me the contents of the previous file instead of the contents of the
> current file.  
> 
> I've paged through the text of my file outside Amaya and it's definitely not
> showing the contents of the correct file.  This makes Amaya unusable in a
> situation where you're editing say, "index.html" for a number of different
> directories.
> 

Could you give a scenario that reproduce the problem?
Comment 3 Marci Hopkins 2008-11-03 13:07:11 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > I think this might be a cache problem, but I tried disabling the cache through
> > preferences (Edit | Preferences | Cache | Enable cache) and it didn't solve the
> > problem.
> > 
> > When I open a file with the same name as a previously opened file, the window
> > shows me the contents of the previous file instead of the contents of the
> > current file.  
> > 
> > I've paged through the text of my file outside Amaya and it's definitely not
> > showing the contents of the correct file.  This makes Amaya unusable in a
> > situation where you're editing say, "index.html" for a number of different
> > directories.
> > 
> 
> Could you give a scenario that reproduce the problem?
> 

The way I did it was:
I had a file, index.html in one directory:
e:/build/MDoc/index.html
And a different file, index.html in a different directory:
c:/build/DDoc/index.html

Comment 4 Vatton 2008-12-09 15:36:45 UTC
Not able to reproduce that bug