Editor change: Linkfields are automatically contextualized to the branch and language of the containing document
----------------------------------------------------------------------------------------------------------------
Key: DSY-741
URL:
http://issues.cocoondev.org//browse/DSY-741 Project: Daisy
Type: Task
Reporter: Marc Portier
Priority: Minor
The editor in 2.3 introduced a new link-editor that changed behavior concerning the branch and language of the edited link-fields.
Since 2.3 apparently the editor will automatically replace any set branch and language values in link-fields to -1 if the values match those of the containing document.
For most practical cases this should not be a problem since clients are expected to always contextualize the -1 values with respect to the branch/language values of the containing document.
* See
http://daisycms.org/javadoc/daisy/2.3/org/outerj/daisy/repository/Field.html#getValue()
* Also note the handy 2.3 addition:
http://daisycms.org/javadoc/daisy/2.3/org/outerj/daisy/repository/Document.html#contextualiseVariantKey(org.outerj.daisy.repository.VariantKey)
(in fact we should consider adding a /**@see javadoc between those)
The effect for future branching/translating of the containing document seems useful, but occasionally not desired. Making it configurable (on the level of the site? the linkfield?) might make sense?
Additionally we probably should check the consistency of this behavior
* on linkfields that are hierarchical and/or multivalue
* on links that are embedded in the daisy-html
--
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.htmlmail to:
daisy@...
list information:
http://lists.cocoondev.org/mailman/listinfo/daisy