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! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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
 
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 expected amount of data is coming through.

/Nicklas

Pawel Sztromwasser wrote:
 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 text that is larger then 8kb, but when saving, the file is truncated. 
 No warning is issued. I read in the ticket 
 http://base.thep.lu.se/ticket/1270 that the availability of editing 
 might be limited to size and type of the file, and I am wondering if 
 this limit can be increased?  I hope there are no technical limitations 
 that required to set the size limit in the first place.
 I guess 50-100kb would be a reasonable size for us. Many of our import 
 sheets have more than 100 lines and they easily exceed 8kb.
 
 Another request would be a warning displayed when the file can't be 
 saved/edited because of its size. It took us a while to find out what is 
 going on with some of the files being properly saved, while others were 
 not. What do you think about it?
 
 All the best,
 Pawel Sztromwasser
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 24kb.

Works fine with Firefox 3.5.3 on Windows when I test it. The test with
Forefox 3.0 is on Linux.

/Nicklas


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 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.
 
 Works fine with Firefox 3.5.3 on Windows when I test it. The test with
 Forefox 3.0 is on Linux.
 
 /Nicklas
 
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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
Firefox 3.0.1

/Nicklas


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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
JDBC Driver org.postgresql.Driver (version 8.3)
Java runtimeJava(TM) SE Runtime Environment (1.6.0_03-b05), Sun 
Microsystems Inc. http://java.sun.com/
Operating systemLinux amd64 2.6.9-78.0.22.ELsmp
Memory  Total: 509.8 MB
Free: 176.5 MB
Max: 910.3 MB



Pawel
PS
I will try linux later today

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

 Works fine with Firefox 3.5.3 on Windows when I test it. The test with
 Forefox 3.0 is on Linux.

 /Nicklas


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net
   

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 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
 
 
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 serverApache Tomcat/6.0.16
 Database Server   PostgreSQL 8.3.8
 Database Dialect  org.hibernate.dialect.PostgreSQLDialect
 JDBC Driver   org.postgresql.Driver (version 8.3)
 Java runtime  Java(TM) SE Runtime Environment (1.6.0_03-b05), Sun 
 Microsystems Inc. http://java.sun.com/
 Operating system  Linux amd64 2.6.9-78.0.22.ELsmp
 MemoryTotal: 509.8 MB
 Free: 176.5 MB
 Max: 910.3 MB
 
 
 
 Pawel
 PS
 I will try linux later today
 
 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 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.
 
 Works fine with Firefox 3.5.3 on Windows when I test it. The test with
 Forefox 3.0 is on Linux.

 /Nicklas


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net
   
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 basedb-users-requ...@lists.sourceforge.net


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net