Copied to clipboard

Flag this post as spam?

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


  • dandrayne 1138 posts 2262 karma points
    Jun 04, 2010 @ 11:03
    dandrayne
    0

    Compatibility with 4.1 beta 2

    Hi Marco

    This is probably a bit premature, but I tried installing the package on 4.1b2 and when editing the document containing the multi picker the following error appears. Consider this more of a heads-up than anything else.

    Server Error in '/' Application.

    Method not found: 'System.String umbraco.cms.presentation.Trees.BaseTree.GetTreeServiceUrl(System.Object)'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.MissingMethodException: Method not found: 'System.String umbraco.cms.presentation.Trees.BaseTree.GetTreeServiceUrl(System.Object)'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [MissingMethodException: Method not found: 'System.String umbraco.cms.presentation.Trees.BaseTree.GetTreeServiceUrl(System.Object)'.]
    treeMultiPicker.treeMultiPickerInit.Page_Load(Object sender, EventArgs e) +0
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    umbraco.BasePages.BasePage.OnLoad(EventArgs e) in c:\source\branches\4.1.0\umbraco\businesslogic\BasePages\BasePage.cs:313
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627



    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

     

    Cheers,
    Dan

     

  • Marco Lusini 176 posts 1370 karma points
    Jun 10, 2010 @ 09:23
    Marco Lusini
    0

    Yes, I was almost sure it wouldn't have worked.

    I have not yet played with 4.1, but I understand that the main tree in Umbraco has been completely replaced, so I think that it will require quite a lot of work to change TreeMultiPicker accordingly.

    I am waiting for a more stable beta / rc to start looking at the subject.

    Ciao,

    Marco

  • Julien Decaudin 44 posts 31 karma points
    Jun 16, 2010 @ 10:15
    Julien Decaudin
    0

    Hi guys, I've just started using 4.1rc yesterday - so far, so good - but then, as Dan picked up, I realised Marco's picker isn't compatible due to the new tree API. So as far as I know there isn't any multi content picker (with node ordering) available yet for 4.1rc. This data type is mandatory for the project I'm currently working on and I'm keen to start using 4.1rc too, so I might have a look at the Tree Picker source and try to understand what needs to be updated.

    Marco, do you plan to work on an update soon? Would you have any advices on what needs to be updated?

    Thanks!

    Ju

  • Marco Lusini 176 posts 1370 karma points
    Jun 17, 2010 @ 11:34
    Marco Lusini
    0

    Hi Julien,

    at first I hoped to start working on a 4.1 compatible release in this week, but I couldn't find some spare time :(, and honestly I don't know when I'll be able to look at it.

    You are welcome to try to port it, I think that most work should be related to the new trees, which I mostly handle in umbraco/treeMultiPickerInit.aspx and in getInitUrl() in treeMultiPickerDataEditor.cs.

Please Sign in or register to post replies

Write your reply to:

Draft