Collective zc.buildout recipes

[windows] plone.recipe.zope2instance: "resources" option causes incorrect "directory" attribute to "plone:static" in zcml file

Reported by kleist on 2011-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
collective.buildout
Undecided
Unassigned

Bug Description

plone.recipe.zope2instance 4.1.9 (as in Plone coredev buildout today), Windows 7 64 bit

buildout.cfg:
[instance]
resources = ${buildout:directory}/resources

... causes this in the generated zcml file:
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:plone="http://namespaces.plone.org/plone">
    <include package="plone.resource" file="meta.zcml"/>
    <plone:static directory="E:\buildout\plone-coredev-4.2/resources"/>
</configure>

The directory attribute should be "/buildout/plone-coredev-4.2/resources"

For more info, please see http://dev.plone.org/plone/ticket/12271

kleist (kleist) wrote :

Please close this ticket. "plone.resource" was the culprit, fixed by https://github.com/plone/plone.resource/commit/dff3379187f54e941ee041c215358bcf1024976d

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers