Copied to clipboard

Flag this post as spam?

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


  • Tommy Poulsen 514 posts 708 karma points
    Feb 17, 2010 @ 22:17
    Tommy Poulsen
    0

    Package action addRestExtensions does not work... or ?

    I'm trying to build a package where I need to add some /base stuff to restExtensions.config.

    Unfortunately I cannot get the addRestExtension package action to work - it simply does not change the file.

    After some investigations I found this error in the log:

    Error loading package action 'addRestExtension' for package BPGridView: System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\config\restExtensions.config'...

    I checked out the StandardPackageActions.cs source, and it seems that the file is loaded using

    xdoc.Load("/config/restExtensions.config");

    where as the other extensions are handled using xmlHelper:

    xdoc = xmlHelper.OpenAsXmlDocument("/config/xsltExtensions.config");

    Is it actually a bug in the package action source, or am I simply doing something wrong?

     

    >Tommy

  • Tommy Poulsen 514 posts 708 karma points
    Feb 18, 2010 @ 08:53
    Tommy Poulsen
    0

    Filed an issue on codeplex about it.

  • Tommy Poulsen 514 posts 708 karma points
    Feb 18, 2010 @ 09:07
    Tommy Poulsen
    0

    Note to self: remember to use latest patch (seems to be fixed in 4.0.3 - I was using 4.0.2.1)

  • Tommy Poulsen 514 posts 708 karma points
    Feb 18, 2010 @ 11:17
    Tommy Poulsen
    0

    Now updated to 4.0.3 but the issue is still there (same log error). Bummer. Wonder if I found the right 4.0.3 sources...

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies