ventrian / News-Articles

News Articles for DNN has been helping DNN administrators to publish articles and blogs to their DNN portals since 2004.
MIT License
38 stars 24 forks source link

Error in DNN 9.2.0 #6

Closed b-creative closed 6 years ago

b-creative commented 6 years ago

Anyone experienced this error (visible when logged in as admin) aswell? Cannot view or edit the articles or settings anymore... I'd hate to replace ALL my news articles/latest articles now,,,

DotNetNuke.Services.Exceptions.ModuleLoadException: Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. ---> System.MissingMethodException: Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. at Ventrian.NewsArticles.ArticleSettings.get_IsAdmin() at Ventrian.NewsArticles.ArticleSettings.get_IsSubmitter() at Ventrian.NewsArticles.TokenProcessor.ProcessMenuItem(String token, ControlCollection& objPlaceHolder, LayoutController objLayoutController, NewsArticleModuleBase moduleContext, Int32& iPtr, String[] templateArray, MenuOptionType selectedMenu) at Ventrian.NewsArticles.TokenProcessor.ProcessMenu(ControlCollection& placeHolder, NewsArticleModuleBase& moduleContext, MenuOptionType selectedMenu) at Ventrian.NewsArticles.ucHeader.Page_PreRender(Object sender, EventArgs e) --- End of inner exception stack trace ---

From the Log:

ModuleId:-1 ModuleDefId:-1 AbsoluteURL:/Default.aspx DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke AssemblyVersion:9.2.0 PortalId:0 Message:Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. InnerMessage:Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. InnerStackTrace: at Ventrian.NewsArticles.ArticleSettings.get_IsAdmin() at Ventrian.NewsArticles.ArticleSettings.get_IsSubmitter() at Ventrian.NewsArticles.TokenProcessor.ProcessMenuItem(String token, ControlCollection& objPlaceHolder, LayoutController objLayoutController, NewsArticleModuleBase moduleContext, Int32& iPtr, String[] templateArray, MenuOptionType selectedMenu) at Ventrian.NewsArticles.TokenProcessor.ProcessMenu(ControlCollection& placeHolder, NewsArticleModuleBase& moduleContext, MenuOptionType selectedMenu) at Ventrian.NewsArticles.ucHeader.Page_PreRender(Object sender, EventArgs e)

jaxuk commented 6 years ago

The breaking changes to 9.2.0 I believe break NA as the methods used by NA no longer exist in DNN.

I have been working on a replacement open source module that will do everything NA does and will import all NA data, redirect NA urls etc.

It's not quite ready yet but it should be ready for testing out in a couple of weeks.

On Tue, 10 Apr 2018, 13:48 b-creative, notifications@github.com wrote:

Anyone experienced this error (visible when logged in as admin) aswell? Cannot view or edit the articles or settings anymore... I'de hate to replace ALL my news articles/latest articles now,,,

DotNetNuke.Services.Exceptions.ModuleLoadException: Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. ---> System.MissingMethodException: Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. at Ventrian.NewsArticles.ArticleSettings.get_IsAdmin() at Ventrian.NewsArticles.ArticleSettings.get_IsSubmitter() at Ventrian.NewsArticles.TokenProcessor.ProcessMenuItem(String token, ControlCollection& objPlaceHolder, LayoutController objLayoutController, NewsArticleModuleBase moduleContext, Int32& iPtr, String[] templateArray, MenuOptionType selectedMenu) at Ventrian.NewsArticles.TokenProcessor.ProcessMenu(ControlCollection& placeHolder, NewsArticleModuleBase& moduleContext, MenuOptionType selectedMenu) at Ventrian.NewsArticles.ucHeader.Page_PreRender(Object sender, EventArgs e) --- End of inner exception stack trace ---

From the Log:

ModuleId:-1 ModuleDefId:-1 AbsoluteURL:/Default.aspx DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke AssemblyVersion:9.2.0 PortalId:0 Message:Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. InnerMessage:Method not found: 'System.String DotNetNuke.Entities.Modules.ModuleInfo.get_AuthorizedEditRoles()'. InnerStackTrace: at Ventrian.NewsArticles.ArticleSettings.get_IsAdmin() at Ventrian.NewsArticles.ArticleSettings.get_IsSubmitter() at Ventrian.NewsArticles.TokenProcessor.ProcessMenuItem(String token, ControlCollection& objPlaceHolder, LayoutController objLayoutController, NewsArticleModuleBase moduleContext, Int32& iPtr, String[] templateArray, MenuOptionType selectedMenu) at Ventrian.NewsArticles.TokenProcessor.ProcessMenu(ControlCollection& placeHolder, NewsArticleModuleBase& moduleContext, MenuOptionType selectedMenu) at Ventrian.NewsArticles.ucHeader.Page_PreRender(Object sender, EventArgs e)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ventrian/News-Articles/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ABc05SNMmpftUpOZ9pwqie_ehYe9N60pks5tnKoygaJpZM4TOMTa .

b-creative commented 6 years ago

Wauw, would be great! If I can test for you, let me know...

cklenk commented 6 years ago

We would be interested in that solution too!!

sjmcculloch commented 6 years ago

I'm patching the build over the next week - we've had someone sponsor the updates.

vincentparrett commented 6 years ago

Any update on this.. currently working through upgrading my site and this is blocking.

jag64551 commented 6 years ago

Hi Scott, just wondering if you had an ETA on this? Thanks

NerdyParker commented 6 years ago

@jaxuk @sjmcculloch Are either of you still working on this? I'd love to help with development

mastercodefu commented 6 years ago

Am really interested as well.

jaxuk commented 6 years ago

I am indeed. Busy moving house right now but next couple of weeks and I will have a public beta ready.

On Mon, 4 Jun 2018, 21:11 mastercodefu, notifications@github.com wrote:

Am really interested as well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ventrian/News-Articles/issues/6#issuecomment-394483050, or mute the thread https://github.com/notifications/unsubscribe-auth/ABc05eLHC9uX-3akhXecItK47eT76eTSks5t5ZSIgaJpZM4TOMTa .

NerdyParker commented 6 years ago

@jaxuk I've been working on this for past day or so. I have the public facing components updated and am finishing up some issues on the submit article screen.

NerdyParker commented 6 years ago

I have the updates complete here: https://github.com/NerdyParker/News-Articles

However, I'm not sure how to build the install packages for this particular module. Should be able to drop the Ventrian.NewsArticles.dll in your DNN directory. Please test and backup before deploying any of this to a production server.

kandiban99 commented 6 years ago

Hi,

We have installed module in Dnn 9.2.... same issue occurs. Module downloaded from https://github.com/NerdyParker/News-Articles

Location path: News-Articles-master\News-Articles-master\Installs

Please advice... waiting for your quick reply.

Thanks, Kandiban. D

vincentparrett commented 6 years ago

I've given up on this, moved the content to my blogs module and added a million redirects...

kandiban99 commented 6 years ago

Hi NerdyParker,

Any update on this module?

Thanks, Kandiban. D

NerdyParker commented 6 years ago

@kandiban99 You'll need to compile and drop the Ventrian.NewsArticles.dll in your bin folder. I'm not able to package it as an install because I don't have the correct build script.

Try downloading the .dll here: https://github.com/NerdyParker/News-Articles/raw/master/bin/Ventrian.NewsArticles.dll

kandiban99 commented 6 years ago

Hi NerdyParker,

Thank you so much... Now news article module works fine...

Thanks, Kandiban. D

Timo-Breumelhof commented 6 years ago

FYI: https://github.com/ventrian/News-Articles/pull/14