Re: [base] Size limit of online file edit

2009-10-02 Thread Jari Häkkinen
Nicklas Nordborg wrote: I downloaded and installed Tomcat 6.0.16 and got the same problem. It works with Tomcat 6.0.20. And our production server runs 6.0.16. So, it is time to upgrade. Jari -- Come build with us!

Re: [base] Size limit of online file edit

2009-10-02 Thread Pawel Sztromwasser
OK. Great thanks for solving this! Pawel Jari Häkkinen wrote: Nicklas Nordborg wrote: I downloaded and installed Tomcat 6.0.16 and got the same problem. It works with Tomcat 6.0.20. And our production server runs 6.0.16. So, it is time to upgrade. Jari

Re: [base] Size limit of online file edit

2009-10-01 Thread Nicklas Nordborg
There is a hard-coded limit of 100kb. Files larger than that can't be edited online. I just tried to edit a 92kb file and it worked without problems. Maybe it is a browser limitation? I checked with Firefox 3.0.14 and IE 8. In any case, I think we may have to check on the server-side that the

Re: [base] Size limit of online file edit

2009-10-01 Thread Nicklas Nordborg
Pawel Sztromwasser wrote: I just tested it again (FF3.5.3). Here is how to reproduce: - upload a text file which is larger then 8kb - memorize file's size - edit file removing one character only - check the size again In my case removing one character from ~40kb file shrank the file to

Re: [base] Size limit of online file edit

2009-10-01 Thread Jari Häkkinen
I can confirm Pawels problem. I run Firefox 3.5.3 on Mac OS X 10.6.1 (Snowleopard). My 63k file is now only 32k. Jari Nicklas Nordborg wrote: Pawel Sztromwasser wrote: I just tested it again (FF3.5.3). Here is how to reproduce: - upload a text file which is larger then 8kb - memorize

Re: [base] Size limit of online file edit

2009-10-01 Thread Nicklas Nordborg
Jari Häkkinen wrote: I can confirm Pawels problem. I run Firefox 3.5.3 on Mac OS X 10.6.1 (Snowleopard). My 63k file is now only 32k. One more question. Is the data lost when loading the file or when saving the file? I tried it on our old Mac (10.5.8) here. Works fine but it is running

Re: [base] Size limit of online file edit

2009-10-01 Thread Jari Häkkinen
Jari Häkkinen wrote: I can confirm Pawels problem. I run Firefox 3.5.3 on Mac OS X 10.6.1 (Snowleopard). My 63k file is now only 32k. And redoing edit saves a 16k file, redoing the edit saves a 8k file, and another edit will not halve the size but a 7.99k file is saved. Jari

Re: [base] Size limit of online file edit

2009-10-01 Thread Pawel Sztromwasser
Strange... I tested it on Windows as well (XP SP3). Could it be installation specific? Our config is: Version BASE 2.12.1 (build #4972; schema #72) Web server Apache Tomcat/6.0.16 Database Server PostgreSQL 8.3.8 Database Dialectorg.hibernate.dialect.PostgreSQLDialect

Re: [base] Size limit of online file edit

2009-10-01 Thread Nicklas Nordborg
I have added a ticket for this: http://base.thep.lu.se/ticket/1393 If anyone comes up with new information please post it there. /Nicklas Jari Häkkinen wrote: Jari Häkkinen wrote: I can confirm Pawels problem. I run Firefox 3.5.3 on Mac OS X 10.6.1 (Snowleopard). My 63k file is now only

Re: [base] Size limit of online file edit

2009-10-01 Thread Nicklas Nordborg
I downloaded and installed Tomcat 6.0.16 and got the same problem. It works with Tomcat 6.0.20. /Nicklas Pawel Sztromwasser wrote: Strange... I tested it on Windows as well (XP SP3). Could it be installation specific? Our config is: Version BASE 2.12.1 (build #4972; schema #72) Web