Re: [Hypercontent-users] some HC2 bugs
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-25 19:07:18
|
Responses embedded below: On May 19, 2005, at 12:44 AM, =E5=AD=99=E7=A3=8A wrote: > =C2=A0 > Yesterday=C2=A0I tried the beta vesion on winXP,jdk1.4.2_07.It seems = that=20 > some bugs still exsists compared to the version checked out from=20 > CVS.They are: > =C2=A0 > 1.When I create a new project ,it doesn't work as it is said in=20 > HyperContent 2 Beta READ ME that > "Use the URL with the mountpoint as just described to enter your=20 > project repository; you may > initially get a "file not found" error when you try to access it.=C2=A0=20= > Wait about 10 seconds and try again - the system only checks for new=20= > projects every 10 seconds." > I had to restart=C2=A0tomcat=C2=A0so that i could enter my new = project.I found=20 > that after created the new project,no directories or files were=20 > created by Hypercontent2 in where the repository should=20 > be.=C2=A0BTW,=C2=A0should I=C2=A0=C2=A0create the project repository = directory by myself ? Just to clarify, you waited at least 10 seconds and were still not able=20= to enter the new project? And after you restarted, you were able to=20 enter it? The filesystem.xml template includes an argument at index 1 whose value=20= is "autocreate" - this tells hypercontent to automatically create the=20 root directory for you. If that argument is present in your=20 filesystem.xml, you should not have to create the repository directory=20= yourself, otherwise you would have to. > =C2=A0 > 2.I configure the project-definition.xml by the project definition xml=20= > file=C2=A0of a 1.3 project.The url pattern such as=20 > /news/*/index.xml,/news/*/details/*=C2=A0..=C2=A0doesn't work.That = means I can't=20 > create files by using the pull down menus for adding content.But the=20= > pattern such as /images/* does work. The "add" menu in version 2.0 does not offer choices to the same level=20= of depth as versions 1.2 - 1.4. This changed behavior is open to=20 debate (I am willing to change it back if people feel strongly about=20 it), but you should be able to create "/news/*/index.xml" files by=20 first clicking to the directory "/news/", and "/news/*/details/*" files=20= by first clicking to a subdirectory of "/news/", etc. > =C2=A0 > 3.At the time I was creating the new project ,I=C2=A0named the project=20= > "lsun" and mounted it to "/lsun/"and hypercontent2 automatically=20 > created the directory "lsun" under /projects/ and then i was in the=20 > path /projects/lsun/ as it was shown on the top of the outer frame.But=20= > when returned to /projects/,I can't see the directory "lsun" in the=20 > list until i restarted tomcat.=C2=A0This problem also occur=C2=A0when = i=20 > create=C2=A0=C2=A0files in the url pattern such as /images/* for this = new=20 > project.I can't see the "images" dir or its files=C2=A0in the list = until i=20 > restart tomcat. The directory listings are cached against the last modified date of the=20= directory itself . . . it is possible that Windows does not=20 automatically update the last modified date of a directory after files=20= or subdirectories have been added, although that would be strange and=20 certainly did not show up in our testing. Anybody else seeing this=20 problem? I will do further testing on Windows to see if I can=20 duplicate it. By the way, is your browser set to "check every time" that pages are=20 up-to-date? What browser are you using? > =C2=A0 > 4.when I uploaded the zip file of=C2=A0the 1.3 project in the workflow = (in=20 > /lsun/),i met an exception which=C2=A0was : > =C2=A0=C2=A0=C2=A0=C2=A0 [java] Upload = org.hypercontent.servlet.FileUpload > =C2=A0=C2=A0=C2=A0=C2=A0 [java] ERROR [FileHandleOutputStream pool7] = (Logger.java:35) - > =C2=A0=C2=A0=C2=A0=C2=A0 [java] = org.hypercontent.filesystem.FileSystemException: The=20 > requested direc > tory was not found:=20 > /workflow-data/upload/g6LB7fc1zT/D:\eclips_workspace\CMS\sit > es\scn\scn_comic.zip > =C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=A0 at=20 > org.hypercontent.filesystem.impl.LocalEditioningFileSystemImp > l.newFile(LocalEditioningFileSystemImpl.java:82) > =C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=A0 at=20 > org.hypercontent.filesystem.FileHandle.create(FileHandle.java > :247) > =C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=A0 at=20 > org.hypercontent.filesystem.FileHandleOutputStream$Work.run(F > ileHandleOutputStream.java:79) > =C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=A0 at=20 > org.hypercontent.util.RunnableQueueThread.run(RunnableQueueTh > read.java:30) > =C2=A0 Please update the following class from CVS and let me know if it fixes=20= this problem. I just checked in the change, so it may take a few hours=20= to propagate to the sourceforge anonymous CVS. org.hypercontent.servlet.FileUpload -Alex= |