Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate add buttons on collections when about is duplicated #139

Open
dbu opened this issue Oct 27, 2012 · 0 comments
Open

duplicate add buttons on collections when about is duplicated #139

dbu opened this issue Oct 27, 2012 · 0 comments

Comments

@dbu
Copy link
Contributor

dbu commented Oct 27, 2012

if the about attribute is duplicated, i.e. in the entity itself and in a list container of the collection, the add button is duplicated.

<div about="/cms/simple/news" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:skos="http://www.w3.org/2004/02/skos/core#" typeof="mystuff">

    <h2  property="dcterms:title">News</h2>
    <p  property="sioc:content">The latest news about the Symfony CMF:</p>

    <ul  rel="dcterms:hasPart" rev="dcterms:partOf" about="/cms/simple/news">
        <li  typeof="sioc:Post" about="/cms/simple/news/symfony-cmf-website-update">
                <div property="dcterms:title">Symfony CMF website update</div> (2012-09-28)
                <div class="newscontent" property="sioc:content">A test news</div>
        </li>
    </ul>
</div>

@flack says @bergie wants to fix this behaviour and it is a VIE bug in openpsa/createphp#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant