AW: [daisy] [JIRA] Created: (DSY-657) Deleting daisy:include in GUI causes errorneous entries to be added.

"Ehms, Jürgen" jge at msc-ge.com
Wed Jun 4 14:51:26 CEST 2008


I have the same problems with previews of includes. 
If i don't close the preview before switching to HTML-View or before save 
all the contens of the included Documents are copied in the new document.

Juergen 

> 
MSC Vertriebs GmbH
registered office : Stutensee
Jurisdiction and registered Mannheim, Germany, HRB No. 10 3631
Managing Director: Manfred Schwarztrauber, Lothar Kümmerlin, Rüdiger Kuhn

Gleichmann & Co. Electronics GmbH
registered office : Frankenthal
Jurisdiction and registered Ludwigshafen, Germany, HRB No. 21305
Managing Director: Manfred Schwarztrauber, Thomas Klein

-----Ursprüngliche Nachricht-----
> Von: daisy-bounces at lists.cocoondev.org 
> [mailto:daisy-bounces at lists.cocoondev.org] Im Auftrag von 
> Ross Gardler (JIRA)
> Gesendet: Mittwoch, 4. Juni 2008 13:46
> An: daisy at lists.cocoondev.org
> Betreff: [daisy] [JIRA] Created: (DSY-657) Deleting 
> daisy:include in GUI causes errorneous entries to be added.
> 
> 
> Deleting daisy:include in GUI causes errorneous entries to be added.
> --------------------------------------------------------------------
> 
>          Key: DSY-657
>          URL: http://issues.cocoondev.org//browse/DSY-657
>      Project: Daisy
>         Type: Bug
>   Components: Editing experience  
>     Versions: 2.2    
>  Reporter: Ross Gardler
>     Priority: Minor
> 
> 
> I have a document which consists mainly of daisy includes.
> 
> I wanted to remove one of these includes.
> 
> Using the GUI I was able to remove the "daisy:DOC_ID" data, 
> but this left the preview data from the previously included 
> page. Trying to delete that said I can't and offered to open 
> the included page for editing. No good.
> 
> I saved the document anyway, hoping Daisy would just "get 
> it", but the rendered page contained an error: "Missing or 
> empty src attribute on einclude:include element"
> 
> Editing the document again I can no longer see the offending 
> include element in the GUI.
> 
> So I switched to the source editor and sure enough, there was 
> the line "<pre class="include"></pre>".
> 
> I deleted this and saved the document. Still the error 
> appeared in the rendered page and the  source view showed the 
> line had not been deleted. At this point my source looked 
> like this. Further investigation of the source showed that a 
> whole load of includes had been inserted into my content by 
> the orginal edit through the GUI.
> 
> This first GUI edit, can be seen at 
> http://data.oss-watch.ac.uk:8888/OSSWatch/49-OSSW/version/22/d
iff?&branch=main&language=default&otherDocumentId=49-OSSW&otherBranch=main&otherLanguage=default&otherVersion=23&contentDiffType=text

I've not tried reproducing this but hope that the above is enough detail to track the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy



More information about the daisy mailing list