Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing objectQualifier in 9.5.0-DotNetNuke.Services.Social.Messaging.Scheduler.CoreMessagingScheduler. #3687

Closed
1 of 10 tasks
edisfera opened this issue Apr 16, 2020 · 6 comments

Comments

@edisfera
Copy link

edisfera commented Apr 16, 2020

Description of bug

The DotNetNuke.Services.Social.Messaging.Scheduler.CoreMessagingScheduler calls vw_MessagesForDispatch without the objectQualifier even if the installation uses objectQualifier.

Steps to reproduce

Install/Upgrade to 9.5.0 on an instance that uses objectQualifier.

Current behavior

Errors will be logged by the Scheduler in Admin Logs.

Expected behavior

No error logs.

Affected version

  • 10.0.0 alpha build
  • 9.5.1 alpha build
  • 9.5.0 latest supported release
  • 9.4.4

Affected browser

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer 11
  • Microsoft Edge (Classic)
  • Microsoft Edge Chromium
@sleupold
Copy link
Contributor

this issue had already been reported and the fix is included in DNN 9.6.0 (RC state atm)

@edisfera
Copy link
Author

Are you referring to #3540 and #3539? In those two I only see the stored procedure problem not the view... or there is going to be an overall check for the whole functionality?

@sleupold
Copy link
Contributor

see the fix in https://github.com/dnnsoftware/Dnn.Platform/pull/3606/files
it includes the stored procedure with missing OQ, called by the scheduler.

@edisfera
Copy link
Author

edisfera commented Apr 16, 2020

Hi Leupold, that's right, but I am experiencing a call to a view called vw_MessagesForDispatch which has been correctly created with the objectQualifier in the database but the code (DotNetNuke.Services.Social.Messaging.Scheduler.CoreMessagingScheduler) seems to call it without the objectQualifier (I get this error in the event log: 'Invalid object name 'dbo.vw_MessagesForDispatch'... it should call for dbo.LF_vw_MessagesForDispatch as it is in the database).

@valadas
Copy link
Contributor

valadas commented Apr 16, 2020

It is a stored procedure (CoreMessaging_GetNextMessagesForDigestDispatch) that calls that view from a quick look at the code, the fix in #3606 should be fine. You can try 9.6.0 release candidate (on a non-production environment) if you want to make absolutely sure. It is available here: https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v9.6.0-rc1

I will close this issue since it should be fixed already, but this does not lock it, feel free to comment again if you notice there is a problem not already handled.

@valadas valadas closed this as completed Apr 16, 2020
@sleupold
Copy link
Contributor

You may just run the file I mentioned before in your PersonaBar > Manage > SQL Console and restart your app. The scheduler should stop throwing errors immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants