[xwiki-users] WYSIWYG editor won't read tables with colored text correctly
I submitted the following as a bug about two weeks ago, but perhaps that wasn't the right way to ask for help about this problem, so I'm trying the list -- I tried both 1.3 M2 and 1.2.2, and I had the following problem (both using the standalone zip version on Windows) : If you create a table on a page using WYSIWYG, it all works great. If you highlight a the first table cell of a row or a whole row and use the palette button to change the color of those cells, it works. If you save the page, it looks good. If you edit it again with the WYSIWYG, however, it doesn't render it right, and the cell/row that you changed color of gets appended to the line above it in the WYSIWYG editor. Using the WIKI editor (as long as you don't save the broken page back down from the WYSIWYG editor), everything still works good. So it's how the editor is choosing to render out the page that seems to be causing the problem. Bolding a cell/row doesn't seem to cause this problem, only changing the text color. Below is an example of some code that won't show up correctly in the WYSIWYG editor (even though it was the WYSIWYG editor that created it) {table} table info |test table test test test |test test test asdklfj|lkajsdlj {style:type=span|color=#99}test{style}|{style:type=span|color=#99}test{style}{table} The last row shows up tacked on to the end of the 2nd to last row, instead of appearing as its own row. This is only the case in the WYSIWYG editor. This code displays fine when just viewing the page. Is this actually a bug or am I doing something screwy? Thanks! -BJ Quinn -- View this message in context: http://www.nabble.com/WYSIWYG-editor-won%27t-read-tables-with-colored-text-correctly-tp16048621p16048621.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
Well with v1.3 coming out and 1.4 on the horizon, I was just wondering if there had been any progress on this issue? Thanks! -BJ Quinn vmassol wrote: > > Just to be clear. We're all in favor of having the ability to store > attachments using webdav. It'll happen eventually. > > the only thing lacking right now is manpower. > > Thanks > -Vincent > > On Nov 16, 2007, at 8:47 PM, Pavel wrote: > >> One more upside is that with filesystem attachments you can easily use >> streams and never hold whole attachment in memory. >> This is really necessary for scalable deployment. >> >> And BTW there is no max_packet_size restriction as well. >> >> One can also do streaming with db BLOBs, but not via hibernate I >> believe. >> >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >> Behalf Of >> bjquinn >> Sent: Friday, November 16, 2007 9:14 PM >> To: users@xwiki.org >> Subject: Re: [xwiki-users] Xwiki file and attachment storage >> >> >> >> vmassol wrote: >>> >>> However I'm curious to know why you need attachments stored in the >>> file system. >>> >> >> Because many of these attachments may be large (>50MB), and over >> time the >> database can grow to be unweildy. Currently that's our problem with >> our >> exchange server setup (people keep emailing these files back and >> forth as it >> stands now *shudder*). The upside of storing attachments in a >> filesystem is >> easier access from other clients (as the other poster suggested), less >> likelihood of corruption on large databases (our Exchange DB is 200+ >> GB >> right now), less likelihood of backup problems, copy-only-what's- >> changed >> backups, and quicker backup and restore time. >> -- >> View this message in context: >> http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a1379 >> 9175 >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tp11991466p16048620.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
vmassol wrote: > > However I'm curious to know why you need attachments stored in the > file system. > Because many of these attachments may be large (>50MB), and over time the database can grow to be unweildy. Currently that's our problem with our exchange server setup (people keep emailing these files back and forth as it stands now *shudder*). The upside of storing attachments in a filesystem is easier access from other clients (as the other poster suggested), less likelihood of corruption on large databases (our Exchange DB is 200+ GB right now), less likelihood of backup problems, copy-only-what's-changed backups, and quicker backup and restore time. -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a13799175 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
>> Is that what you mean? And is this Jackrabbit >> stuff ready by v1.1? >Nope. This is 1.2 stuff. Well, 1.2 is almost here... is the jackrabbit stuff ready, and can I store attachments in files?? -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a13494689 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
http://jackrabbit.apache.org/faq.html#whats-fs wrote: > > What is a Jackrabbit file system? > > A Jackrabbbit file system (FS) is an internal component that > implements standard file system operations on top of some underlying > storage mechanism (a normal file system, a database, a webdav server, or a > custom file format). A file system component is any Java class that > implements the FileSystem interface and the associated behavioural > contracts. File systems are used in Jackrabbit both as subcomponents of > the persistence managers and for general storage needs (for example to > store the full text indexes). > So does this mean that I will be able to mount the xwiki database as a filesystem or something? Is that what you mean? And is this Jackrabbit stuff ready by v1.1? (Please excuse my ignorance! I'm a bit weak when it comes to Java!!!) -BJ -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a12409445 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
vmassol wrote: > > Google is your friend... :) > > For example, at random: > http://www.onjava.com/pub/a/onjava/2006/10/04/what-is-java-content- > repository.html > > -Vincent > > Sure, Google is my friend. :) What I was wanting to know, though, is whether the work you're doing will implement JCR in the sense that someone *could* write some code to allow attachments to be stored on the filesystem, or is allowing attachments to be stored on the filesystem *part* of the work that you're doing with JCR right now for a future xwiki release? Thanks! -BJ -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a12408664 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
vmassol wrote: > > Artem, would you mind giving us a status on the JCR work and the plan > ahead? > vmassol wrote: > >> So I take it nothing like this is in the works? :) > > like what? (did you see my answer btw) > Just the part about storing attachments as files outside of the DB. Did Artem ever respond about the status of the JCR work? Would it in and of itself allow storing attachments as files outside of the DB or is it just a framework that would allow something like that if more work was done? -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a12398128 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
Esbach, Brandon wrote: > >>>With a little work, you could probably intercept the upload via > groovy, place it on a network drive, replace the attachment with a link > to that network file.. > > Would think that this would be your next step? Granted, I've never > tested the idea; but it should do what you're looking for. > So I take it nothing like this is in the works? :) -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a12389832 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki file and attachment storage
Esbach, Brandon wrote: > > So far my own internal wiki's run at between 5mb and 3gb - > with no real noticable difference in performance from the smallest to > the largest. > Hmmm, yes, the problem seems to be currently that our Exchange database right now is 200gb, filled mostly with all these attachments. The goal was to get those attachments out of the huge, unwieldy 200gb, corrupt-prone, Exchange database. The problem with *any* database on the order of tens or hundreds of gigs is of course (beyond performance) possibility of corruption, and time to backup and restore because it has to be done as one big unit. I was hoping that we could store those attachments as individual files, rather than just moving our problem from a huge Exchange DB to a huge xwiki DB. I know filesystems aren't good at indexing, etc. But attachments are often jpg's and stuff that can't be indexed or anything. -- View this message in context: http://www.nabble.com/Xwiki-file-and-attachment-storage-tf4214945.html#a12378518 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users