Impossible to remove / redirect document (appears duplicate) when using yarn tool delete slug locale --redirect newslug
- heir of #6226
#6278
Labels
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Summary
The removal tool does not work in some conditions.
When removing macros and targeting
conflicting
pages, I usedbut this did not work: "error: unable to remove and redirect a document with children" (while this doc had no children)
Removing the redirect option displayed:
URL
Not applicable :/
Reproduction steps
yarn tool delete conflicting/Web/API/WebRTC_API_d8621144cbc61520339c3b10c61731f0 fr --redirect Web/API/WebRTC_API
Expected behavior
The command completes and it removes the page/adds the redirect
Actual behavior
An error since the tool believes there are either two pages (when no redirect options is used) or that there is a child for this page.
Device
Laptop
Browser
Other (specify below)
Browser version
Other version (specify below)
Operating system
Linux
Screenshot
Anything else?
3efd1affb
(i.e. before perf(build): use fdir instead of glob #6146)Validations
The text was updated successfully, but these errors were encountered: