fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

Reorder Frames Error #170

Open BobbyOfWindsor1974 opened 4 years ago

BobbyOfWindsor1974 commented 4 years ago

When trying to reorder frames, I get this error as soon as I click the reorder frames link on the MAIN panel.

Source Panel/SortFrames
Message Object reference not set to an instance of an object.
Stack trace at ASP._Page_Views_Video__Film_cshtml.Execute() in c:\inetpub\wwwroot\DisplayMonkey_Management\Views\Video_Film.cshtml:line 8 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 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._Page_Views_Panel_SortFrames_cshtml.Execute() in c:\inetpub\wwwroot\DisplayMonkey_Management\Views\Panel\SortFrames.cshtml:line 48 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
michaelmalmgren commented 4 years ago

Hi Bobby,

I tried to reproduce this but I was not able to. Once you click on reorder frames this page should be displayed: image

I assume that is where you get the error? What types of frames should have been displayed?

BobbyOfWindsor1974 commented 4 years ago

That is the one I see for every other fame. Just not this one. We have a mix of pics, videos, etc.

Is there away to move them to another from the DB?

I want to create a new frame..then move the items off one by one to see if I can narrow it down to an entry?

Thanks

--Bobby

Robert Hicks Senior Technical Analyst

Leggett & Platt Automotive 360 Silvercreek Industrial Dr., Lakeshore, ON N8N 4Y3 Office: +1 519 727-7000 ext. 1003

bobby.hicks@leggett.commailto:bobby.hicks@leggett.com Leggett-Automotive.com [Description: Description: blue facebook 18]https://www.facebook.com/LeggettAuto/ [Description: Description: blue insta 18] https://www.instagram.com/leggettauto/ [Description: Description: blue linkedin 18] https://www.linkedin.com/company/leggettauto/ [Description: Description: blue twitter 18] https://twitter.com/LeggettAuto

[Description: Description: L&P_Automotive_Group_w-Tagline_email] P Please consider your environmental responsibility before printing this e-mail

From: Michael Malmgren notifications@github.com Sent: Wednesday, February 26, 2020 4:09 AM To: fuel9/DisplayMonkey DisplayMonkey@noreply.github.com Cc: Bobby Hicks bobby.hicks@leggett.com; Author author@noreply.github.com Subject: [EXTERNAL] Re: [fuel9/DisplayMonkey] Reorder Frames Error (#170)

Hi Bobby,

I tried to reproduce this but I was not able to. Once you click on reorder frames this page should be displayed: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_25671627_75329277-2Daa54da80-2D587f-2D11ea-2D90ca-2Dfe30e9a7f798.png&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=y68ansI2Ttp-QRE_q_sWnPvAWtxKPEMEF_S1S1CefNU&s=ri0DaIxgdKHPJteCjpqsfFZzFNxJG8z3HSmZfCpoGhc&e=

I assume that is where you get the error? What types of frames should have been displayed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_fuel9_DisplayMonkey_issues_170-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAKA6JGD5WTFJRDVCAMMNMK3REYWRBA5CNFSM4KUV4NN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM7M5IY-23issuecomment-2D591318691&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=y68ansI2Ttp-QRE_q_sWnPvAWtxKPEMEF_S1S1CefNU&s=lGDU6WfTebHuLmmnV_UGWFIXvFBHVYIgxLk-Ej1IbbU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKA6JGCTBVNOI7GONIGAPPLREYWRBANCNFSM4KUV4NNQ&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=y68ansI2Ttp-QRE_q_sWnPvAWtxKPEMEF_S1S1CefNU&s=TavBmYq41i6IpWDr9sohzs1VRHcIs5yKXMv70BV4TbI&e=.

michaelmalmgren commented 4 years ago

Yes, you can change the sort or move a frame from one panel to another in the table [dbo].[Frame]. PanelId is equal to the number you see in the URL, in my example above it is 1005 ie. select * from [dbo].[Frame] where PanelId = 1005

BobbyOfWindsor1974 commented 4 years ago

Thanks. I will attempt to recreate the frame and add things back one at a time to see if something breaks. I’ll keep you posted.

Thanks

--Bobby

Robert Hicks Senior Technical Analyst

Leggett & Platt Automotive 360 Silvercreek Industrial Dr., Lakeshore, ON N8N 4Y3 Office: +1 519 727-7000 ext. 1003

bobby.hicks@leggett.commailto:bobby.hicks@leggett.com Leggett-Automotive.com [Description: Description: blue facebook 18]https://www.facebook.com/LeggettAuto/ [Description: Description: blue insta 18] https://www.instagram.com/leggettauto/ [Description: Description: blue linkedin 18] https://www.linkedin.com/company/leggettauto/ [Description: Description: blue twitter 18] https://twitter.com/LeggettAuto

[Description: Description: L&P_Automotive_Group_w-Tagline_email] P Please consider your environmental responsibility before printing this e-mail

From: Michael Malmgren notifications@github.com Sent: Monday, March 2, 2020 7:24 AM To: fuel9/DisplayMonkey DisplayMonkey@noreply.github.com Cc: Bobby Hicks bobby.hicks@leggett.com; Author author@noreply.github.com Subject: [EXTERNAL] Re: [fuel9/DisplayMonkey] Reorder Frames Error (#170)

Yes, you can change the sort or move a frame from one panel to another in the table [dbo].[Frame]. PanelId is equal to the number you see in the URL, in my example above it is 1005 ie. select * from [dbo].[Frame] where PanelId = 1005

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_fuel9_DisplayMonkey_issues_170-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAKA6JGF4Z36KLYUO6S3MPRDRFOQMRA5CNFSM4KUV4NN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPDLDY-23issuecomment-2D593376655&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=EydqMJ1p7GDjVyKImOT2gzxwdY2REki6PNQPyF6X4Ug&s=CoiqJESVqjNFWkcTaMGCyugL-GGhfc268vYx9z-xT5U&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKA6JGDE62BSYCQPIYAJ5GDRFOQMRANCNFSM4KUV4NNQ&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=EydqMJ1p7GDjVyKImOT2gzxwdY2REki6PNQPyF6X4Ug&s=8nfcEFQKc1yai_gtdKdzMRL123j3S9eZnNSJxYxQasg&e=.

BobbyOfWindsor1974 commented 4 years ago

Thanks. I found the two slides with the issue. I could not determine what the issue was, but once removed, the re-order worked again.

Thanks

--Bobby

Robert Hicks Senior Technical Analyst

Leggett & Platt Automotive 360 Silvercreek Industrial Dr., Lakeshore, ON N8N 4Y3 Office: +1 519 727-7000 ext. 1003

bobby.hicks@leggett.commailto:bobby.hicks@leggett.com Leggett-Automotive.com [Description: Description: blue facebook 18]https://www.facebook.com/LeggettAuto/ [Description: Description: blue insta 18] https://www.instagram.com/leggettauto/ [Description: Description: blue linkedin 18] https://www.linkedin.com/company/leggettauto/ [Description: Description: blue twitter 18] https://twitter.com/LeggettAuto

[Description: Description: L&P_Automotive_Group_w-Tagline_email] P Please consider your environmental responsibility before printing this e-mail

From: Michael Malmgren notifications@github.com Sent: Monday, March 2, 2020 7:24 AM To: fuel9/DisplayMonkey DisplayMonkey@noreply.github.com Cc: Bobby Hicks bobby.hicks@leggett.com; Author author@noreply.github.com Subject: [EXTERNAL] Re: [fuel9/DisplayMonkey] Reorder Frames Error (#170)

Yes, you can change the sort or move a frame from one panel to another in the table [dbo].[Frame]. PanelId is equal to the number you see in the URL, in my example above it is 1005 ie. select * from [dbo].[Frame] where PanelId = 1005

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_fuel9_DisplayMonkey_issues_170-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAKA6JGF4Z36KLYUO6S3MPRDRFOQMRA5CNFSM4KUV4NN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPDLDY-23issuecomment-2D593376655&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=EydqMJ1p7GDjVyKImOT2gzxwdY2REki6PNQPyF6X4Ug&s=CoiqJESVqjNFWkcTaMGCyugL-GGhfc268vYx9z-xT5U&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKA6JGDE62BSYCQPIYAJ5GDRFOQMRANCNFSM4KUV4NNQ&d=DwMCaQ&c=y2CoG5YnjIJpazuVfWQ7cQ&r=VSK8zsTMB9_o0CyFtzVnI7KU3082pv11Dn5l0G4nfiY&m=EydqMJ1p7GDjVyKImOT2gzxwdY2REki6PNQPyF6X4Ug&s=8nfcEFQKc1yai_gtdKdzMRL123j3S9eZnNSJxYxQasg&e=.