GithubHelp home page GithubHelp logo

Comments (3)

kamsar avatar kamsar commented on July 18, 2024

Very odd. I just did the same thing with <include database="master" path="/sitecore/media library/Public/_Jellyfish"/>, both with and without the leading underscore. It worked.

You don't have two items named _Default Hero do you? If the path is non-unique it'll throw that. I'm assuming you've checked that there are no typos in the path?

Is there anything security related that might be getting in the way? Unicorn does use SecurityDisabler during dump and sync, but might be a bug or something.

from unicorn.

williamsk avatar williamsk commented on July 18, 2024

Only one item named _Default Hero (and at the moment, it's the only item in that folder). I copy/pasted the path from Quick Info in Content Editor, so I'm fairly sure that's right. :)

No security has been applied at all.

It's Sitecore 8 Update 4 (not Update 5) in case that makes a difference.

Media Library looks like this:
Screenshot of Media Library

Here's the relevant configuration (copy/paste from showconfig.aspx):

<targetDataStore type="Rainbow.Storage.SerializationFileSystemDataStore, Rainbow" physicalRootPath="C:\Projects\KNW.SUGBG.Website\items" useDataCache="false" singleInstance="true" patch:source="SUGBG.config"/>
<predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true">
<!-- snip -->
<!--
Specific media library images that we want source controlled (used in standard values, etc) -->
<include database="master" path="/sitecore/media library/SUGBG/Hero Images/_Default Hero" patch:source="SUGBG.config"/>

I can test again with Sitecore 8 Update 5 and/or b9 of Unicorn tonight.

from unicorn.

kamsar avatar kamsar commented on July 18, 2024

From Slack:

on that media error had you done an initial serialization yet?
because that error is because Unicorn can't read the root ​_serialized_​ item, not the sitecore item
maybe it's just not written yet?

from unicorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.