[base] Size limit of online file edit

2009-10-01 Thread Pawel Sztromwasser
Hi All, First of all: a superb feature! Editing text files in BASE is extremely useful for fixing batch import sheets. It saves a lot of time spent on uploading new versions of sheets after each single fix. Great job! I discovered that it has an 8kb limitation though. One can open or paste a t

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 expec

Re: [base] Size limit of online file edit

2009-10-01 Thread Pawel Sztromwasser
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 24kb. Pawel Nicklas Nordborg wrote:

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

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 >> - memori

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 Pawel Sztromwasser
Ok, then it is not installation specific. (I missed your email when sending mine) Pawel 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. > > > Jari > > > Nicklas Nordborg wrote: > >> Pawel Sztromwasse

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
Saving the file after editing: does not matter if enlarging or shrining editions. When pasting in text that would make a file bigger than 8kb, we have seen the problem as well (only after clicking save button of course). Pawel Nicklas Nordborg wrote: > Jari Häkkinen wrote: > >> I can confirm

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 Jari Häkkinen
The file has correct size in the edit window. I copy pasted it to my local editor, except for some formatting issues the content is correct. The file is truncated at save time. Jari Nicklas Nordborg wrote: > Jari Häkkinen wrote: >> I can confirm Pawels problem. I run Firefox 3.5.3 on Mac OS X

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

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) > W

Re: [base] Size limit of online file edit

2009-10-01 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-01 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 > > > ---