DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Search returns outdated pages

 3 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

I recognized that the (Standard) DNN Search returns pages that have an end date in the past. This might be OK for users with edit permissions for that page, but not for others (and esp. unauthenticated users) who get an "You don't have access to that page" error when they click on the search result - which is annoying.

Is that a known behaviour, or should I report a bug on GitHub?

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

Hi Michael,

This has not been logged as an issue, yet. 

One quick check: did you make sure the scheduler runs fine? Theoretically, it could be the case that the reindexing is not happening.
Another check to refine the problem is to check if it is returning pages that are for a certain role that you don't have access to.

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Tycho,

pages with restricted permissions appear in the search results only if the user has access, so this is not the problem. The problem is that the search results list outdated pages (with an end date in the past). For administrators and/or page editors this makes sense (more or less), but other users get the error.

And yes, the scheduler runs properly without any errors. Runs every 15 minutes, and needs ~15 seconds each time.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

I logged the issue to [Bug]: Search returns outdated pages · Issue #6213 · dnnsoftware/Dnn.Platform

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved