DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37718>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37718 Summary: DocumentReferencesHelper does not use DocumentBuilder Product: Lenya Version: 1.2.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Publisher AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Symptom: - A custom DocumentBuilder is used. - When you click "Publish", Lenya complains about references to unpublished documents although they are actually published. Cause: The o.a.l.cms.publication.tools.DocumentReferencesHelper parses the links using a pattern, the document ID is extracted directly from the link URL. This is a typical knowledge duplication problem, actually only the DocumentBuilder might know the semantics of parsing the URL and identifying the document ID. The custom document builder uses an additional URL snippet which is not part of the document ID: URL: /newsletter/subscribe.html Document-ID: /newsletter The DocumentReferencesHelper identifies /newsletter/subscribe as the document ID, doesn't find a corresponding node in the live site tree, and concludes that the linked document is not published. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
