vicuna icon indicating copy to clipboard operation
vicuna copied to clipboard

Open session function truncates descriptions which contain wiki links

Open PetrReischig opened this issue 11 years ago • 4 comments

If I save session with file descriptions that use links to wiki pages like ... text ... [[:en:Aspergillus fumigatus|Kropidlák]] ... text... and then try to open the session file later, it does not load full descriptions. The descriptions are cut after second appearance of ]] and even strangely the continuation of description for first image is used as description for second image, again truncated after second ]]. When I replace the [[ and ]] characters by // and , descriptions are loaded correctly, but it is then useless as the links will not work this way. I would like to upload about 400 micrograph pictures so I need to prepare the XML session file externally (I have it already). If needed I can send small XML session file example and screen shots as well. If you correct it will there be a new release or how can I get it working? I would very appreciate if you correct this bug. Thank you.

PetrReischig avatar Jan 31 '14 10:01 PetrReischig

Yes, saving and loading session is still an issue.

Technical info: now sessions are handled using class DocumentBuilder. It will be replaced by XStream library.

yarl avatar Jan 31 '14 15:01 yarl

Thank you for your quick reply. Can you give some estimation when this issue will be solved? So I know if I should look for alternative solutions.

PetrReischig avatar Jan 31 '14 16:01 PetrReischig

Now, it will be about 2-3 weeks.

yarl avatar Feb 04 '14 18:02 yarl

I have tried this - adding some link in the preferences as well as for a particular file. Now I my wikitext is the same as it was before saving the session:

=={{int:filedesc}}==
{{Information
|description = lalaa [[:User:Saper|did this to us!]]
|date = 
|source = {{own}}
|author = [[user:Saper|]]
|permission = 
|other_versions = 
}}

=={{int:license-header}}==
{{cc-by-sa 3.0}}
Some some [[:en:Aspergillus fumigatus|Kropidlák]] no

So it looks to me this has been fixed!

saper avatar May 18 '15 20:05 saper