Since today everytime I try to merge 2 releases I get the following error code:
TypeError: Cannot read properties of undefined (reading 'field')
at /home/musicbrainz/musicbrainz-server/root/static/build/server.js:1:577528
at Array.map (<anonymous>)
at /home/musicbrainz/musicbrainz-server/root/static/build/server.js:1:577496
at Fb (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:65:44)
at Ib (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:254)
at W (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Jb (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
at Ib (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:145)
at W (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Jb (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
To enter the merge I have to go back from the error page and click enter edit again and it works; is anyone else facing the same issue?
Just had the same issue. Exact same screen. Obviously they are upgrading or something because the main site is now the beta site. So, hopefully all this will be back to normal soon.
Update: I guess it had nothing to do with being on the beta. Main site is back up. But still can’t merge.
Somewhere, I was replacing some MBS text node.
And this was curiously recently causing React-hydrate to remove the unrelated merge strategy <select> element.
To avoid that, I now insert stuff, not replace.
And now, there is no problems!