Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Koiak 700 posts 2626 karma points
    Oct 31, 2010 @ 20:49
    Chris Koiak
    0

    Package Creation Issues

    I've created a new package, http://our.umbraco.org/projects/starter-kits/basic-website, but I'm having some issues with the package itself.

    The package installation fails on the following stages

    1. Creating the first page underneath the home page. It should be 'About us'. This just appears to not be installed, I've checked the package xml and it's present.
    2. Creating the correct prevalues against custom (ucomponent - mntp) datatypes. It loses the start node and inserts an incorrect value into the xpath expression.
    3. The associated page data for the ucomponent datatypes is incorrect. The pages selected by the mntp are just wrong.

    I'm sure this is a hard one for ayone to help debug, but where would you even start?

    I've tried looking in the log table but without any luck.

    The package is created and installs withotu generating any errors.

    Thanks for any pointers,

    Chris

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Oct 31, 2010 @ 21:22
    Niels Hartvig
    1

    - No clue in regards to no 1.

    - No 2+3: The selected page ids makes sense as they can change from install to install (they're integers), thus these type of ids are NOT safe in a package. Only workaround is some custom code afterwards that inserts the values based on looking up the pages via xpath (by name)

    Hope this helps!

  • Chris Koiak 700 posts 2626 karma points
    Oct 31, 2010 @ 21:36
    Chris Koiak
    0

    2+3 I think you're right. I've also noticed that if an empty value exists in a prevalue node (in the package.xml) then a blank value is not written to the database. It looks like it just skips the value. I can find a work around to this for the time being.

    I'm not happy having the additional install steps for 'Basic Website', hopefully release a new version with these fixes later this week.

    Thanks for the help.

     

     

Please Sign in or register to post replies

Write your reply to:

Draft