Weird bug: empty content on symlinks and weblinks upon saving

Modx 2.8.1

I’m encountering a weird bug which started happening randomly and is now pretty consistent.

It only affects symlink and weblink type resources.

Basically whenever i save the resource from edit screen the “content” field gets emptied, and upon refreshing i get either an empty value or just “https://”.

No particular errors are logged so i don’t know where to even start looking for a fix.

Anyway if I edit the field from the “Quick Edit” frame the value gets saved correctly.

I tried upgrading to 2.8.3 but it broke the manager and i was getting all sorts of blank screens so i reverted back to the previous version.

Anyone experienced the same bug or has any idea?

Do you have the StageCoach or VersionX extras installed?

Do you see anything relevant in the MODX error log, or the Dev. Tools (Ctrl-shift-i) console tab?

The weird thing is that it is “happening randomly”.

Maybe you can open the “Network” tab of the developer tools in the browser, then click “Save” and check the value of “content” in the newly created request to see if the value that is sent is correct.

I do have versionX installed but even after uninstalling it the error persists.

No particular errors in the Modx logs.

The only notable console error i get is related to ContentBlocks but it shouldn’t be an issue considering it’s a “Weblink” type of resource

Mmmh. Bad choice of words i guess. the error happens all the time. But it started happening out of nothing. that’s what i meant with “randomly”.

Anyway there’s no “content” record in the new request when i check the network panel.

This is the wrong request. I guess it creates some additional ones. There should be a request before that with the “action” = “resource/update” in the request payload.

Content-Disposition: form-data; name="action"

Content-Disposition: form-data; name="content"