Page MenuHomeMiraheze

Unable to delete page (Cargo bug)
Closed, ResolvedPublic

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

image.png (219×1 px, 36 KB)

What should have happened instead?:

Page should be deleted.

Browser information, screenshots and other applicable information:

Previously this page contained Cargo store calls. However after Cargo got re-enabled after that security, we weren't able to store any information on the page into Cargo anymore. We're thinking Cargo might be the one that has an issue here. We are able to delete other non-Cargo pages just fine.

Event Timeline

RespectMat renamed this task from Unable to delete page to We demand respect and honesty! Stop lying to us and saying everything is swell and your working hard. Instead of telling us why don't you SHOW US with actual FACTS and ACTIONS. People should just leave this swamp unless the management promises to actually help which they are not doing they are just disrespecting us users and think they are better than us .Oct 23 2023, 10:22
RespectMat updated the task description. (Show Details)

Is this still an issue? If so, please paste the long string of text (request ID) so we can analyze it.

Yes, we have a workaround for that page by changing the titles around so that this broken page is now just a redirect (please don't delete it now though).

Just tried deleting that page again as a test and I get this error: [8c542d2a9da5f817042e8517] 2023-12-26 19:59:52: Fatal exception of type "Wikimedia\Rdbms\DBQueryError".

The new url is https://www.sekaipedia.org/w/index.php?title=%E3%82%A2%E3%82%A4%E3%82%B9%E3%83%89%E3%83%AD%E3%83%83%E3%83%97&redirect=no.

Which page do you want deleted currently?

[a7f9c29fea152ad355833c5c] 2024-01-09 14:19:56: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Error 1146: Table 'projectsekaiwikicargo.cargo__external_link' doesn't exist
Function: Wikimedia\Rdbms\Database::delete
Query: DELETE FROM `cargo__external_link` WHERE `_pageID` = 21584
from /srv/mediawiki/1.40/includes/libs/rdbms/database/Database.php(1524)
#0 /srv/mediawiki/1.40/includes/libs/rdbms/database/Database.php(1508): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /srv/mediawiki/1.40/includes/libs/rdbms/database/Database.php(1482): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /srv/mediawiki/1.40/includes/libs/rdbms/database/Database.php(855): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /srv/mediawiki/1.40/includes/libs/rdbms/database/Database.php(2021): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /srv/mediawiki/1.40/extensions/Cargo/CargoHooks.php(193): Wikimedia\Rdbms\Database->delete(string, array)
#5 /srv/mediawiki/1.40/extensions/Cargo/CargoHooks.php(423): CargoHooks::deletePageFromSystem(integer)
#6 /srv/mediawiki/1.40/includes/HookContainer/HookContainer.php(338): CargoHooks::onPageDeleteComplete(WikiPage, User, string, integer, MediaWiki\Revision\RevisionStoreRecord, ManualLogEntry, integer)
#7 /srv/mediawiki/1.40/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#8 /srv/mediawiki/1.40/includes/HookContainer/HookRunner.php(2732): MediaWiki\HookContainer\HookContainer->run(string, array)
#9 /srv/mediawiki/1.40/includes/page/DeletePage.php(687): MediaWiki\HookContainer\HookRunner->onPageDeleteComplete(WikiPage, User, string, integer, MediaWiki\Revision\RevisionStoreRecord, ManualLogEntry, integer)
#10 /srv/mediawiki/1.40/includes/page/DeletePage.php(465): MediaWiki\Page\DeletePage->deleteInternal(WikiPage, string, string)
#11 /srv/mediawiki/1.40/includes/page/DeletePage.php(367): MediaWiki\Page\DeletePage->deleteUnsafe(string)
#12 /srv/mediawiki/1.40/includes/actions/DeleteAction.php(163): MediaWiki\Page\DeletePage->deleteIfAllowed(string)
#13 /srv/mediawiki/1.40/includes/actions/DeleteAction.php(115): DeleteAction->tempDelete()
#14 /srv/mediawiki/1.40/includes/MediaWiki.php(556): DeleteAction->show()
#15 /srv/mediawiki/1.40/includes/MediaWiki.php(333): MediaWiki->performAction(Article, MediaWiki\Title\Title)
#16 /srv/mediawiki/1.40/includes/MediaWiki.php(923): MediaWiki->performRequest()
#17 /srv/mediawiki/1.40/includes/MediaWiki.php(576): MediaWiki->main()
#18 /srv/mediawiki/config/initialise/entrypoints/index.php(86): MediaWiki->run()
#19 /srv/mediawiki/config/initialise/entrypoints/index.php(82): wfIndexMain()
#20 {main}
Reception123 renamed this task from Unable to delete page to Unable to delete page (Cargo bug).Jan 9 2024, 20:47

Interesting, it must be because of that incident where Cargo got disabled; I never recreated that 'external_link' table once Cargo got re-enabled. I wonder if creating that table then deleting it will allow that page I linked to be deleted?

Interesting, it must be because of that incident where Cargo got disabled; I never recreated that 'external_link' table once Cargo got re-enabled. I wonder if creating that table then deleting it will allow that page I linked to be deleted?

Yeah I think it should be tried

Reception123 claimed this task.

No further response, please let us know if this is still an issue/this is still needed.