Copied to clipboard

Flag this post as spam?

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


  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 11:53
    Stephen
    0

    Hi,

    Is the data type reusable? (Not sure if this is the correct terminology) i.e. Can I create a new version of the data type calling it what I want. I have read the instructions, and maintained the bits that MUST NOT CHANGE.

    The reason I ask is, as soon as I created the new instance the following happened:

    The data in the config panel wouldn't save (I can save the data type, but as soon as the page is refreshed, the config content is gone) I started getting (backend site wide) errors about a missing view called textstring.html

    I also got more errors once it came to the front end, I won't list everything, as I am guessing there is a chance the answer to my first question is no, rendering everything else mute.

    This happened on Umbraco 7.4.3

    Thanks

    Stephen

  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 12:05
    Stephen
    0

    Screen grab

    Here is a quick screen grab in case it helps.

  • Lee Kelleher 3689 posts 13410 karma points admin core mvp c-trib
    Sep 13, 2017 @ 12:16
    Lee Kelleher
    0

    Hi Stephen,

    I'd never seen the "Grid Editors" tree before, is that another package?

    If so, I've no idea how DTGE is meant to work with it.

    Thanks,
    - Lee

  • Bjarne Fyrstenborg 1066 posts 2787 karma points mvp c-trib
    Sep 13, 2017 @ 12:28
    Bjarne Fyrstenborg
    1

    @Lee the Grid Editors tree is rendered by LeBlender package - it just render the tree nodes from the existing grid-editors in /config/grid.editors.config.js - both default grid editors and custom grid editors using LeBlender editor.

    /Bjarne

  • Lee Kelleher 3689 posts 13410 karma points admin core mvp c-trib
    Sep 13, 2017 @ 12:37
    Lee Kelleher
    0

    ah ok. Thanks Bjarne!

    I'm not sure whether this is a DTGE or LeBlender issue... or a combination of both?

    If anyone else has experience of DTGE playing nicely with LeBlender can help?

    Thanks,
    - Lee

  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 14:41
    Stephen
    0

    I completely forgot that had been extended by LeBlender.

    At the moment I am going down the Macro route, but extending what's available under macros.

    There are a few too many new things for me to learn here, and my head is fit for busting. Angular is a bridge too far when you have a bug (human bug that is).

    I wish extending the Grid Editors was better documented with more working examples. The thing that bugs me is I can see 90% of the code is already written, it just needs accessed. My Angular skills are the main bit lacking here, I just can't bridge the gap.

    I really need to build a library of easily reusable "plugins" for the Grid, so I can add specifically formatted things to the grid. I.e. adding a bootstrap rotator via the grid. (I have already coded that 3 different ways, it was one of the easy ones.)

    Thanks

    Stephen

  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 16:32
    Stephen
    0

    And just because I have it handy (found it in an open browser page), here is the error I was getting when on the front end:

    Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at ASP.Pageapppluginsdoctypegrideditorrenderdoctypegrideditorcshtml.Execute() in c:\inetpub\wwwroot\xxx\AppPlugins\DocTypeGridEditor\Render\DocTypeGridEditor.cshtml:line 13 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP.PageViewsPartialsgrideditorsbase_cshtml.Execute() in c:\inetpub\wwwroot\xxx\Views\Partials\Grid\Editors\Base.cshtml:line 20

  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 16:39
    Stephen
    0

    Still broken with LeBlender removed:

    System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Core.Cache.HttpRequestCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem) at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValueToContent(String id, String contentTypeAlias, String dataJson) at ASP.Pageapppluginsdoctypegrideditorrenderdoctypegrideditorcshtml.Execute() in c:\inetpub\wwwroot\VillaUmbraco\AppPlugins\DocTypeGridEditor\Render\DocTypeGridEditor.cshtml:line 26 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP.PageViewsPartialsgrideditorsbase_cshtml.Execute() in c:\inetpub\wwwroot\VillaUmbraco\Views\Partials\Grid\Editors\Base.cshtml:line 20

  • Stephen 94 posts 254 karma points
    Sep 13, 2017 @ 16:46
    Stephen
    0

    For the mo both are removed (LeBlender and DTGE) to many issues throughout the back and frontend whilst installed. If I get a chance I will re-install later and see if I can trace any of the issues, might help someone in the future.

    For now back to the basic grid offerings.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft