Copied to clipboard

Flag this post as spam?

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


  • Dorozco 3 posts 23 karma points
    Jan 21, 2015 @ 21:33
    Dorozco
    0

    Package adds new generic property but no updates a existing one

    Installing a new package adds 4 new properties in a document type, but no updates the validation and description of another two which were created. 

     

    The xml file looks like it is ok

    <GenericProperty>

              <Name>Title frontend name</Name>

              <Alias>TitleFrontendName</Alias>

              <Type>Umbraco.Textbox</Type>

              <Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>

              <Tab>Basic Information</Tab>

              <Mandatory>False</Mandatory>

              <Validation>^[\s\S]{0,100}$</Validation>

              <Description><![CDATA[Max. 100 characters]]></Description>

    </GenericProperty>

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 21, 2015 @ 21:38
    Jan Skovgaard
    0

    Hi Dorozco and welcome to our :)

    Ehm, could you ellaborate a bit more? What is it exactly you're doing? Are you importing an existing document type from one Umbraco installation to another? Or what is the scenario? Is it a package you have downloaded are installed yourself? And what version of Umbraco are you using?

    /Jan

  • Dorozco 3 posts 23 karma points
    Jan 21, 2015 @ 21:53
    Dorozco
    0

    Hi Jan, thanks for your answer.

    We are using umbraco 7. The document type was created by us. We had made some changes and to make a new deploy with this features, we made a package to install in the server. This package only adds 4 new properties and changes the validation and description of another two properties which already exist. But the update of this 2 properties didn't work. We reviewed the xml file and we found that it is ok. In the tag Validation and Description of the two properties there are the new values.

    So, apparently the package creation is ok and the problem is in the installation.

     

    Daniel

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 21, 2015 @ 22:00
    Jan Skovgaard
    0

    Hi Daniel

    Ok, thanks for clarifying. I think this may be a bug since these settings should be imported. Would you mind filing a bug report at the issue tracker about this?

    In regards to deploying you might want to check out Courier, which makes deploys easier - You can learn more here http://umbraco.com/products/more-add-ons/courier-2 - This is a commercial package developed by Umbraco HQ.

    Also umport might be interesting as well http://our.umbraco.org/projects/developer-tools/umport

    Hope this helps.

    /Jan

  • Dorozco 3 posts 23 karma points
    Jan 21, 2015 @ 22:06
    Dorozco
    0

    Thanks Jan

     

    Daniel

Please Sign in or register to post replies

Write your reply to:

Draft