eworkers / K2ForJ4

GNU General Public License v2.0
11 stars 6 forks source link

The "Moderate comments to my published items" option causes errors #17

Closed cmirnow closed 1 year ago

cmirnow commented 1 year ago

PHP 8.1, Joomla 4.2.5, K2ForJ4.

Reproduce:

  1. Publish module K2 User
  2. Log in through the module
  3. Click the link "Moderate comments to my published items"

The Unpublish and Flag as Spammer triggers do not work:

VM297 comments:290 Uncaught ReferenceError: listItemTask is not defined
    at HTMLAnchorElement.onclick (VM297 comments:290:157)

issue_k2

WARNING: This action will block the user and also unpublish all of their items and comments. Are you sure? You cannot edit two comments at the same time!

eworkers commented 1 year ago

For the publish/unpublish issue a commit has been pushed to fix, as for the (Flag as spammer) is this also a k2 official version issue on J3? Can you please test this for k2 official version so we can fix properly.

cmirnow commented 1 year ago

Right. I confirm it. As for the (Flag as spammer) is a problem with the official K2 version. Moreover, unlike K2ForJ4, K2 generates not 2 but 3 warnings! I am surprised.

new_issue_k2