Jump to content

Featured Replies

Posted

Dear IPS support,

I guess I have found a bug in the current release. (IPS 4.7.3)
There seems to be a change in the reporting system where the mod permissions are checked explicit.

In case this topic is already fixed, please ignore my post.

 

My IPS community has restricted moderators defined and as long as these restricted mods are enabled, the user gets and error message once a content is reported.
As soon as I disable the restricted mods, everything is working fine.

 

I have identified two issues so far:

  1. FORUMS - In case a moderator has permissions for all forums, the permission is saved as "-1" (select all checkbox is set)
  2. PAGES - In case a moderator has no permission for any category, the permission is saved as "" (no selection in the picker control)

Both values can't be converted into an array and the IPS code throws an exception.

 

Not to impact my community any longer, I have manipulated your code based on my understanding.
I'm sure you will find a better solution, but this "hack" is currently fine for my community.

 

File: \system\Content\Content.php
Line: 1714

Could contain: Document, Text, Page, Word, File

 

Please have a look.

Edited by derpunker

Solved by Marc

Go to solution

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

  • 3 weeks later...
  • Solution

Just a quick note to let you know this has been resolved in the latest 4.7.4 release, which went out a short time ago. If you are still experiencing this issue after upgrading to that release, please let us know.

  • Author

Thanks for the feedback.
I have already seen the update and will update my community in the next days.

  • Author

IPS update is installed and reporting function is working fine again.
Thanks for bringing the official fix so quick!

You're welcome, glad to hear all is well now. 🙂

 

Recently Browsing 0

  • No registered users viewing this page.