Page MenuHomePhabricator

Can't post comments, 1.31.5 LTS
Closed, DeclinedPublicBUG REPORT

Description

Steps to Reproduce:

In Mediawiki Version 1.30, Comment was OK.

But in Mediawiki Version 1.31.5. / Comment version 4.3.2 (5872433).
When I try to post a comment, nothing happens.

Actual Results:

When I try to post a comment, nothing happens.

Expected Results:

Comment appear.

ref:
https://www.mediawiki.org/wiki/Extension_talk:Comments#Can't_post_comments,_1.31.3_LTS
https://www.mediawiki.org/wiki/Extension_talk:Comments#Can't_post_comments,_1.31.5_LTS

Event Timeline

Restricted Application added a project: Social-Tools. · View Herald TranscriptMar 17 2020, 4:50 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

2 debug output

Somebody reports:
https://www.mediawiki.org/wiki/Extension_talk:Comments#Can't_post_comments,_1.31.3_LTS

Can't post comments, 1.31.3 LTS
When I try to post a comment, nothing happens. I downloaded the corret 1.31 extension. Installed it according to instructions. Console shows errors in js, but I'm not that proficient to get to the source of the issue. Please help

load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:139 JQMIGRATE: Migrate is installed with logging active, version 3.0.1
load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:177 Exception in resolve:
load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:177 Error: Unknown dependency: ext.comments.js
  at sortDependencies (load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:159)
  at resolveStubbornly (load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:160)
  at Object.load (load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:171)
  at Računi:9
  at startUp (load.php?debug=false&lang=sl&modules=startup&only=scripts&skin=timeless:22)
  at HTMLScriptElement.script.onload (load.php?debug=false&lang=sl&modules=startup&only=scripts&skin=timeless:23)
logError @ load.php?debug=false&lang=sl&modules=jquery%2Cmediawiki&only=scripts&skin=timeless&version=1ripgdv:177

and I can see these message. at 1.31.5 LTS

[GlobalTitleFail] MessageCache::parse called by Comment->display/Comment->showIgnore/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
User: loading options for user 2 from database.
[GlobalTitleFail] MessageCache::parse called by CommentFunctions::getTimeAgo/CommentFunctions::getTimeOffset/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[GlobalTitleFail] MessageCache::parse called by CommentFunctions::getTimeAgo/CommentFunctions::getTimeOffset/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[GlobalTitleFail] MessageCache::parse called by CommentFunctions::getTimeAgo/CommentFunctions::getTimeOffset/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[GlobalTitleFail] MessageCache::parse called by CommentFunctions::getTimeAgo/CommentFunctions::getTimeOffset/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[GlobalTitleFail] MessageCache::parse called by Comment->display/Comment->showComment/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
ashley closed this task as Declined.Mar 18 2020, 12:16 AM
ashley added a subscriber: ashley.

Per mw:Social tools/MediaWiki compatibility, the only supported combination is latest stable version of MediaWiki + master version of the desired social tools; any and all other combinations, including whatever you're trying to do here, are unsupported. Sorry. Please upgrade to MediaWiki 1.34 and try installing the master version of Comments and it should work. If not, please file a new bug.

more debug output (from javascript console)

 mw.Api error:  internal_api_error_DBUnexpectedError 
{error: {…}}
error: {code: "internal_api_error_DBUnexpectedError", info: "[37336ccc3960cef790df6212] Exception caught: Comme…ss commit of all peer transactions (DBO_TRX set)."}
__proto__:
constructor: ƒ Object()
__defineGetter__: ƒ __defineGetter__()
__defineSetter__: ƒ __defineSetter__()
hasOwnProperty: ƒ hasOwnProperty()
__lookupGetter__: ƒ __lookupGetter__()
__lookupSetter__: ƒ __lookupSetter__()
isPrototypeOf: ƒ isPrototypeOf()
propertyIsEnumerable: ƒ propertyIsEnumerable()
toString: ƒ toString()
valueOf: ƒ valueOf()
toLocaleString: ƒ toLocaleString()
get __proto__: ƒ __proto__()
set __proto__: ƒ __proto__()
Libattery added a comment.EditedMar 18 2020, 6:12 AM

@ashley

I found solution : same to below. solved.

https://phabricator.wikimedia.org/T197967