I have a problem with a multi-language xwiki.
I've added a new space and some documents in that space.
xxxx.WebHome is the startpage in that xxxx space
A few documents have graphical attachments and one has a pdf attachment

As a guest of this website I do not see the full text, and sometimes  
the geaphics are lost.
Als the PDF is lost.

When I edit the documents they are still there, saving does not  
resolve the problem

I made a XAR export of the xwiki, and I noticed something remarkable  
(taken from package.xml)
<file defaultAction="0" language="">CdLSWorld. Index of Questions</file>
<file defaultAction="0" language="">CdLSWorld.BookingForm</file>
<file defaultAction="0" language="en">CdLSWorld.BookingForm</file>
<file defaultAction="0" language="">CdLSWorld.ConferenceVenue</file>
<file defaultAction="0" language="en">CdLSWorld.ConferenceVenue</file>
<file defaultAction="0" language="">CdLSWorld.ContactDetails</file>
<file defaultAction="0" language="en">CdLSWorld.ContactDetails</file>
<file defaultAction="0" language="">CdLSWorld.GettingThere</file>
<file defaultAction="0" language="">CdLSWorld.GrowthCharts</file>
<file defaultAction="0" language="">CdLSWorld.MedicalProfessional</file>
<file defaultAction="0" language="en">CdLSWorld.MedicalProfessional</ 
file>
<file defaultAction="0" language="">CdLSWorld.Professional</file>
<file defaultAction="0" language="en">CdLSWorld.Professional</file>
<file defaultAction="0" language="">CdLSWorld.ScientificFederation</ 
file>
<file defaultAction="0" language="en">CdLSWorld.ScientificFederation</ 
file>
<file defaultAction="0" language="">CdLSWorld.TheFamilyConference</file>
<file defaultAction="0" language="en">CdLSWorld.TheFamilyConference</ 
file>
<file defaultAction="0" language="">CdLSWorld.WebHome</file>
<file defaultAction="0" language="en">CdLSWorld.WebHome</file>
<file defaultAction="0" language="">CdLSWorld.What is CdLS</file>
<file defaultAction="0" language="">CdLSWorld.World conference</file>
<file defaultAction="0" language="en">CdLSWorld.World conference</file>
<file defaultAction="0" language="">CdLSWorld.hotel</file>
<file defaultAction="0" language="en">CdLSWorld.hotel</file>

Example:
<file defaultAction="0" language="">CdLSWorld.BookingForm</file>
<file defaultAction="0" language="en">CdLSWorld.BookingForm</file>
The BookingForm document contains my PDF, but I see two instances of  
them in the XAR (while expecting only one)
One has the language="" and the other language="en"

My xwiki has "en" as default language, but in the XAR only my new  
space has documents with "en"
The other space(s) are like;
<file defaultAction="0" language="">Main.AllDocs</file>
<file defaultAction="0" language="">Main.BlogRss</file>
<file defaultAction="0" language="">Main.Dashboard</file>
<file defaultAction="0" language="">Main.EventCalendar</file>
<file defaultAction="0" language="">Main.LuceneSearch</file>
<file defaultAction="0" language="">Main.RecentMembers</file>
or
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ12</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ13</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ14</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ15</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ16</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ17</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ178</file>
<file defaultAction="0"  
language="">CdlsatdPublic.GerritjanKoekkoek_FAQ179</file>
The last type of files have many translations inside, but not as  
seperate documents

What is the reason of this? Could it explain why 'view' does not  
display the same as 'edit'
I was heavily switsching between WYSIWIG and WIKI editor and switching  
from xwiki1 and xwiki2 syntax?
Could this have lead to this problem
How do I remove the "en" files or should I not do that?

Gerritajn
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to