5

I found these instructions on how to move examples to another tag, but when I tried, I got a strange error:

"An error has occurred" is the best possible error message.

When I clicked on the Reload link, I got redirected to https://stackoverflow.com/error?aspxerrorpath=/documentation/javascript/503/document-object-model-dom#t=201608031631493624383

And now I get a similar error whenever I try to go to the topic directly, similar to that reported here or this one. It may be that I'm the only one who's getting the error, however.

I was using Chrome Version 51.0.2704.106 m (64-bit) on Windows 8.1 when the error occurred.

The full repro steps:

  1. Clicked on the Move Examples button on the Document Object Model (DOM) topic in the JavaScript tag.
  2. Checked all of the examples
  3. Checked that I understood it would delete the topic
  4. Clicked the Next button
  5. Clicked Search for topic selection
  6. Pasted the URL to the Intro to DOM topic on the DOM tag: https://stackoverflow.com/documentation/dom/2584/introduction-to-dom
  7. Clicked the Next button (or something, I forget the exact words)
  8. Error occurs
  9. ...
  10. No profit :(
2

1 Answer 1

4

I have no idea what caused the error you encountered; I went through the steps you outline with two different accounts and was unable to reproduce.

That said, there was definitely some weirdness added to the process by versions; we may have to do something here, since moving examples between tags is likely to be afflicted by this when the versions don't align:

Version is not valid in this context

The problem here is two-fold: the ES versions don't exist in the DOM topic, and it's not possible to add them (or otherwise adjust versions such that they validate) in the same draft that moves the examples. The only way around this is to strip the version information entirely, and then re-add it.

Since you ended up with one draft that removes the examples from the source and deletes the topic, I'm guessing that something caused the creation of the second draft to fail.

Additional weirdness:

  • Looking at your draft, you'll see two examples that did not appear in the topic when I was testing this (1, 2) as they'd been previously deleted...
  • Trying to view the revision history for the now-deleted topic crashes.
1
  • Weird wild wacky stuff. Thanks for digging! Commented Aug 3, 2016 at 18:27

Not the answer you're looking for? Browse other questions tagged .