[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-19 Thread Jakob_WMDE
Jakob_WMDE closed this task as "Resolved".
Jakob_WMDE added a comment.


  Yes, thanks!

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jakob_WMDE
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-19 Thread daniel
daniel moved this task from Incoming (Needs Triage) to Done on the 
MW-Interfaces-Team board.
daniel added a comment.


  I think this should be fixed now, can you confirm?

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

WORKBOARD
  https://phabricator.wikimedia.org/project/board/6931/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-19 Thread daniel
daniel added a project: MW-Interfaces-Team.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-12 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Maintenance_bot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, 
Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, joker88john, 
CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, 
Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-12 Thread gerritbot
gerritbot added a comment.


  Change 1008763 **abandoned** by Jakob:
  
  [mediawiki/extensions/Wikibase@master] Revert "REST: Temporarily skip tests 
involving unusual content types"
  
  Reason:
  
  All the tests here have been re-enabled or deleted in the meantime, so we 
don't need this patch anymore. I540d25e3b997e791a40f8ba68712e33f5f662fc1 
re-enabled some, Id76125170ae6b2c6f32b926c96fe25d4ae804177 deleted the rest 
because they are no longer needed.
  
  https://gerrit.wikimedia.org/r/1008763

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008763 had a related patch set uploaded (by Daniel Kinzler; author: 
Daniel Kinzler):
  
  [mediawiki/extensions/Wikibase@master] Revert "REST: Temporarily skip tests 
involving unusual content types"
  
  https://gerrit.wikimedia.org/r/1008763

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Maintenance_bot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, 
Xinbenlv, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, 
Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, joker88john, 
CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, 
Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008758 **abandoned** by Daniel Kinzler:
  
  [mediawiki/core@wmf/1.42.0-wmf.21] Rest: allow Handlers to disable body 
parsing.
  
  Reason:
  
  This can probably wait for next week's train, no need for a backport
  
  https://gerrit.wikimedia.org/r/1008758

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008419 

 **merged** by jenkins-bot:
  
  [mediawiki/core@master] Rest: allow Handlers to disable body parsing.
  
  https://gerrit.wikimedia.org/r/1008419

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008758 had a related patch set uploaded (by Daniel Kinzler; author: 
Daniel Kinzler):
  
  [mediawiki/core@wmf/1.42.0-wmf.21] Rest: allow Handlers to disable body 
parsing.
  
  https://gerrit.wikimedia.org/r/1008758

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE lowered the priority of this task from "Unbreak Now!" to 
"High".
Lucas_Werkmeister_WMDE added a comment.


  Alright, tentatively lowering to High and removing parent task then.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE removed a parent task: T354439: 1.42.0-wmf.21 deployment 
blockers.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Jakob_WMDE
Jakob_WMDE added a subscriber: Ifrahkhanyaree_WMDE.
Jakob_WMDE added a comment.


  I don't think this needs to be a train blocker. We just agreed in a meeting 
with our PM (cc @Ifrahkhanyaree_WMDE) that we're fine with it being broken for 
a week given this is all still considered experimental. Patch requests using 
`application/json` as the content type still work, only 
`application/json-patch+json` doesn't.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jakob_WMDE
Cc: Ifrahkhanyaree_WMDE, Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, 
Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Jdforrester-WMF
Jdforrester-WMF triaged this task as "Unbreak Now!" priority.
Jdforrester-WMF added a comment.


  UBN as a (potential) train-blocker.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jdforrester-WMF
Cc: Jdforrester-WMF, daniel, Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, 
Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, 
Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, 
Akuckartz, apaskulin, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Xinbenlv, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Jdforrester-WMF
Jdforrester-WMF added a parent task: T354439: 1.42.0-wmf.21 deployment blockers.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jdforrester-WMF
Cc: daniel, Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, 
Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, 
Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, 
Akuckartz, apaskulin, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Xinbenlv, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008419 

 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):
  
  [mediawiki/core@master] Rest: allow Handlers to disable body parsing.
  
  https://gerrit.wikimedia.org/r/1008419

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: daniel, Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, Xinbenlv, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: daniel, Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, 
Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, 
Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, 
Akuckartz, apaskulin, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Xinbenlv, Bsandipan, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread daniel
daniel added a comment.


  Working on a fix

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: daniel, Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, apaskulin, Nandana, Lahi, Gq86, Xinbenlv, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Maintenance_bot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
apaskulin, Nandana, Lahi, Gq86, Xinbenlv, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, 786, Biggs657, Juan90264, Alter-paule, Beast1978, 
Un1tY, Hook696, Kent7301, joker88john, CucyNoiD, Gaboe420, Giuliamocci, 
Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.42-notes (1.42.0-wmf.22; 2024-03-12).

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ReleaseTaggerBot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, 
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008812 

 **merged** by jenkins-bot:
  
  [mediawiki/extensions/Wikibase@master] REST: Temporarily skip tests involving 
unusual content types
  
  https://gerrit.wikimedia.org/r/1008812

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, 
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  This hack makes the `PATCH 
/entities/items/{item_id}/statements/{statement_id}` test work again:
  
diff --git 
a/repo/rest-api/src/RouteHandlers/PatchItemStatementRouteHandler.php 
b/repo/rest-api/src/RouteHandlers/PatchItemStatementRouteHandler.php
index 76cfe52a94..615717b413 100644
--- a/repo/rest-api/src/RouteHandlers/PatchItemStatementRouteHandler.php
+++ b/repo/rest-api/src/RouteHandlers/PatchItemStatementRouteHandler.php
@@ -4,6 +4,7 @@
 
 use MediaWiki\MediaWikiServices;
 use MediaWiki\Rest\Handler;
+use MediaWiki\Rest\LocalizedHttpException;
 use MediaWiki\Rest\RequestInterface;
 use MediaWiki\Rest\Response;
 use MediaWiki\Rest\ResponseInterface;
@@ -22,6 +23,7 @@
 use Wikibase\Repo\RestApi\RouteHandlers\Middleware\MiddlewareHandler;
 use 
Wikibase\Repo\RestApi\RouteHandlers\Middleware\UserAgentCheckMiddleware;
 use Wikibase\Repo\RestApi\WbRestApi;
+use Wikimedia\Message\MessageValue;
 use Wikimedia\ParamValidator\ParamValidator;
 
 /**
@@ -137,6 +139,23 @@ public function getParamSettings(): array {
];
}
 
+   public function parseBodyData( RequestInterface $request ): ?array {
+   if ( $request->getBodyType() === 
ContentTypeCheckMiddleware::TYPE_JSON_PATCH ) {
+   // copy+paste from the standard JSON case in the parent 
method
+   $jsonStream = $request->getBody();
+   $parsedBody = json_decode( "$jsonStream", true );
+   if ( !is_array( $parsedBody ) ) {
+   throw new LocalizedHttpException(
+   // Fixme: missing parameter
+   new MessageValue( 
'rest-json-body-parse-error', [ "" ] ),
+   400
+   );
+   }
+   return $parsedBody;
+   }
+   return parent::parseBodyData( $request );
+   }
+
/**
 * @inheritDoc
 */
  
  But I’m not sure if it was intended in T358557 
 that all handlers should now have 
to override `parseBodyData()` if they want to support content types other than 
`application/x-www-form-urlencoded`, `multipart/form-data` and 
`application/json`.
  
  Also, this doesn’t seem to be a test problem, it’ll actually break JSON PATCH 
requests in production when this rolls out with the train. So this should 
probably be a train blocker?

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, 
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Note: Though the error message looks identical, this doesn’t come from 
Wikibase’s `ContentTypeCheckMiddleware`; with a debugger, I could instead see 
that it comes from `\MediaWiki\Rest\Handler::parseBodyData()`:
  
/**
 * @throws HttpException on failed check
 */
public function parseBodyData( RequestInterface $request ): ?array {
// Parse the body based on its content type
$contentType = $request->getBodyType();
switch ( $contentType ) {
case 'application/x-www-form-urlencoded':
case 'multipart/form-data':
return $request->getPostParams();
case 'application/json':
$jsonStream = $request->getBody();
$parsedBody = json_decode( "$jsonStream", true 
);
if ( !is_array( $parsedBody ) ) {
throw new LocalizedHttpException(
// Fixme: missing parameter
new MessageValue( 
'rest-json-body-parse-error', [ "" ] ),
400
);
}
return $parsedBody;
default:
throw new LocalizedHttpException( // <== HERE
new MessageValue( 
'rest-unsupported-content-type', [ $contentType ?? '(null)' ] ),
415
);
}
}

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, 
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, apaskulin, Hook696, 
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Xinbenlv, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread gerritbot
gerritbot added a comment.


  Change 1008812 

 had a related patch set uploaded (by Jakob; author: Jakob):
  
  [mediawiki/extensions/Wikibase@master] REST: Temporarily skip tests involving 
unusual content types
  
  https://gerrit.wikimedia.org/r/1008812

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
apaskulin, Nandana, Lahi, Gq86, Xinbenlv, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
apaskulin, Nandana, Lahi, Gq86, Xinbenlv, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Jakob_WMDE
Jakob_WMDE updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jakob_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
apaskulin, Nandana, Lahi, Gq86, Xinbenlv, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T359149: Wikibase apitests broken in CI: Unsupported Content-Type: application/json-patch+json

2024-03-05 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, ci-test-error (WMF-deployed 
Build Failure), MediaWiki-REST-API.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Example build 
:
  
  1) PATCH statement tests
   PATCH /entities/items/{item_id}/statements/{statement_id}
 200 success response
   allows content-type application/json-patch+json:

  AssertionError: 
7Response body: {
  errorKey: 'rest-unsupported-content-type',
  messageTranslations: { en: 'Unsupported Content-Type: 
application/json-patch+json' },
  httpCode: 415,
  httpReason: 'Unsupported Media Type'
}8
Invalid status: expected 415 to equal 200  
  actual expected
  
  415200
  
  at module.exports.expect.expect 
(tests/mocha/helpers/chaiHelper.js:26:27)
  at Proxy.chainableMethodWrapper 
(node_modules/chai/lib/chai/utils/addChainableMethod.js:113:49)
  at assertValid200Response 
(tests/mocha/api-testing/PatchItemStatementTest.js:71:32)
  at Context. 
(tests/mocha/api-testing/PatchItemStatementTest.js:123:6)
  at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)

  2) PATCH statement tests
   PATCH /statements/{statement_id}
 200 success response
   allows content-type application/json-patch+json:

  AssertionError: 
7Response body: {
  errorKey: 'rest-unsupported-content-type',
  messageTranslations: { en: 'Unsupported Content-Type: 
application/json-patch+json' },
  httpCode: 415,
  httpReason: 'Unsupported Media Type'
}8
Invalid status: expected 415 to equal 200  
  actual expected
  
  415200
  
  at module.exports.expect.expect 
(tests/mocha/helpers/chaiHelper.js:26:27)
  at Proxy.chainableMethodWrapper 
(node_modules/chai/lib/chai/utils/addChainableMethod.js:113:49)
  at assertValid200Response 
(tests/mocha/api-testing/PatchItemStatementTest.js:71:32)
  at Context. 
(tests/mocha/api-testing/PatchItemStatementTest.js:123:6)
  at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)

  3) PATCH property statement
   PATCH /statements/{statement_id}
 200 success response
   allows content-type application/json-patch+json:

  AssertionError: 
7Response body: {
  errorKey: 'rest-unsupported-content-type',
  messageTranslations: { en: 'Unsupported Content-Type: 
application/json-patch+json' },
  httpCode: 415,
  httpReason: 'Unsupported Media Type'
}8
Invalid status: expected 415 to equal 200  
  actual expected
  
  415200
  
  at module.exports.expect.expect 
(tests/mocha/helpers/chaiHelper.js:26:27)
  at Proxy.chainableMethodWrapper 
(node_modules/chai/lib/chai/utils/addChainableMethod.js:113:49)
  at assertValid200Response 
(tests/mocha/api-testing/PatchPropertyStatementTest.js:68:32)
  at Context. 
(tests/mocha/api-testing/PatchPropertyStatementTest.js:120:6)
  at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)

  4) PATCH property statement
   PATCH /entities/properties/{property_id}/statements/{statement_id}
 200 success response
   allows content-type application/json-patch+json:

  AssertionError: 
7Response body: {
  errorKey: 'rest-unsupported-content-type',
  messageTranslations: { en: 'Unsupported Content-Type: 
application/json-patch+json' },
  httpCode: 415,
  httpReason: 'Unsupported Media Type'
}8
Invalid status: expected 415 to equal 200  
  actual expected
  
  415200
  
  at module.exports.expect.expect 
(tests/mocha/helpers/chaiHelper.js:26:27)
  at Proxy.chainableMethodWrapper 
(node_modules/chai/lib/chai/utils/addChainableMethod.js:113:49)
  at assertValid200Response 
(tests/mocha/api-testing/PatchPropertyStatementTest.js:68:32)
  at Context. 
(tests/mocha/api-testing/PatchPropertyStatementTest.js:120:6)
  at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)
  
  According to @Jakob_WMDE, this broke with the core change Rest router should 
provide parsed body data to handler 
, though it’s not 
yet clear why.

TASK DETAIL
  https://phabricator.wikimedia.org/T359149

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Jakob_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1,