Page MenuHomeMiraheze

Submitting an empty change via ManageWiki causes incossitent behaviour & exceptions
Closed, ResolvedPublic

Description

Pressing submit with a reason but making no configuration change on Special:ManageWiki/namespaces will log

ManageWiki log 12:42 RhinosF1 talk contribs block modified the namespace "$5" for wiki "test2wiki" ‎(Test)

This should either keep $5 set (in this case main) or fail gracefully

/core causes an exception which is detailed below

Event Timeline

RhinosF1 triaged this task as Normal priority.Jan 2 2021, 12:45
RhinosF1 created this task.

I checked the behaviour on other pages:
Core

[5fd85a54f215bed0579105ff] 2021-01-02 12:47:19: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Extensions & Settings

ManageWiki log 12:45 RhinosF1 talk contribs block changed the settings () for "test2wiki" ‎(Test)

Permissions

ManageWiki log 12:46 RhinosF1 talk contribs block changed group metadata for Special:ManageWiki/permissions/autopatrolled: add rights (none); removed rights (none); added addgroups (none); removed addgroups (none); added removegroups (none); removed removegroups (none); added addgroupstoself (none); removed addgroupstoself (none); added removegroupsfromself (none); removed removegroupsfromself (none); modified autopromotion (no) ‎(Test)

RhinosF1 renamed this task from Submitting an empty change via ManageWiki/Namespace/<namespace> logs but with $5 to Submitting an empty change via ManageWiki causes incossitent behaviour & exceptions.Jan 2 2021, 12:50
RhinosF1 updated the task description. (Show Details)
RhinosF1 added a project: Production Error.

I reported this on Discord earlier.

Unknown Object (User) moved this task from Backlog to Bugs on the ManageWiki board.Jan 2 2021, 14:56
Unknown Object (User) added a subscriber: John.

I checked the behaviour on other pages:
Core

[5fd85a54f215bed0579105ff] 2021-01-02 12:47:19: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

What is the exception?

In T6681#131402, @John wrote:

I checked the behaviour on other pages:
Core

[5fd85a54f215bed0579105ff] 2021-01-02 12:47:19: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

What is the exception?

I haven't had time to get the full trace. I think @Reception123 was going to look.

In T6681#131402, @John wrote:

I checked the behaviour on other pages:
Core

[5fd85a54f215bed0579105ff] 2021-01-02 12:47:19: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

What is the exception?

I haven't had time to get the full trace. I think @Reception123 was going to look.

Error 1048: Column 'log_action' cannot be null (db12.miraheze.org)
Function: ManualLogEntry::insert
Query: INSERT INTO `logging` (log_type,log_action,log_timestamp,log_namespace,log_title,log_page,log_params,log_comment_id,log_actor) VALUES ('managewiki',NULL,'20210102124719',-1,'ManageWiki/core',0,'a:1:{s:7:\"4::wiki\";s:9:\"test2wiki\";}','985',5465)
John claimed this task.