Copied to clipboard

Flag this post as spam?

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


  • Vetrivel 21 posts 130 karma points
    Nov 27, 2020 @ 11:01
    Vetrivel
    0

    Error at - MultiUrlPickerPropertyEditor.MultiUrlPickerPropertyValueEditor.ConvertDbToEditor

    Error getting links. [{"name":"testpage","udi":"umb://document/{contentid}"}] System.ArgumentNullException: Value cannot be null. Parameter name: umbracoContext at Umbraco.Web.UmbracoHelper..ctor(UmbracoContext umbracoContext) at Umbraco.Web.PropertyEditors.MultiUrlPickerPropertyEditor.MultiUrlPickerPropertyValueEditor.ConvertDbToEditor(Property property, PropertyType propertyType, IDataTypeService dataTypeService)

    Can anyone facing the same issue, we are using Umbraco 7 and we faced this issue continuously for more than 200 pages right away.

    we got the code for that Api, https://github.com/rasmusjp/umbraco-multi-url-picker/blob/master/src/RJP.MultiUrlPicker/MultiUrlPickerPropertyEditor.cs

    but we don't know how to prevent this exception.

    could anyone help us out with this exception?

  • Owain Williams 481 posts 1413 karma points MVP 7x c-trib
    Nov 27, 2020 @ 12:45
    Owain Williams
    0

    Hi, What version of Umbraco 7 are you running as MultiUrlPicker was integrated in to the Umbraco Core after 7.14.

    This might help understand the issue.

    This is the documentation for 7.14 : https://our.umbraco.com/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Multi-Url-Picker/index-vpost7_14

    It might help.

    O.

  • Vetrivel 21 posts 130 karma points
    Nov 27, 2020 @ 13:45
    Vetrivel
    0

    Hi Owain, We are using Umbraco 7.14. The MultiUrlPicker working fine, at some part of the time we got that exception (in Question).

    As I mentioned in the question, we got the exception we found that the exception is in the ConvertDbToEditor method.

Please Sign in or register to post replies

Write your reply to:

Draft