Krinkle assigned this task to Lucas_Werkmeister_WMDE.
Krinkle closed this task as "Resolved".
Krinkle added a comment.


  Confirmed via the ApiSandbox example in the task description. However, it now 
produces a different fatal error that still counts as the same severity 
production error. This probably still needs to be caught somewhere and turned 
into an API error that blames the client, instead of now where it counts as an 
internal server error.
  
    "error": {
        "code": "internal_api_error_InvalidArgumentException",
        "info": "[5c825728-ab28-4c14-9c67-a8bc8b96a56c] Caught exception of 
type InvalidArgumentException",
        "errorclass": "InvalidArgumentException"
    },
  
    InvalidArgumentException: Entity type property cannot be edited on this 
wiki.
    
    from 
/srv/mediawiki/php-1.39.0-wmf.4/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditEntity.php(629)
    #0 
/srv/mediawiki/php-1.39.0-wmf.4/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditEntity.php(669):
 
Wikibase\Repo\EditEntity\MediawikiEditEntity->checkLocal(Wikibase\DataModel\Entity\Property)
    #1 
/srv/mediawiki/php-1.39.0-wmf.4/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEditEntity.php(77):
 
Wikibase\Repo\EditEntity\MediawikiEditEntity->attemptSave(Wikibase\DataModel\Entity\Property,
 string, integer, string, NULL, array)
    #2 
/srv/mediawiki/php-1.39.0-wmf.4/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(392):
 
Wikibase\Repo\EditEntity\StatsdSaveTimeRecordingEditEntity->attemptSave(Wikibase\DataModel\Entity\Property,
 string, integer, string, NULL, array)
    #3 
/srv/mediawiki/php-1.39.0-wmf.4/extensions/Wikibase/repo/includes/Api/ModifyEntity.php(339):
 
Wikibase\Repo\Api\EntitySavingHelper->attemptSaveEntity(Wikibase\DataModel\Entity\Property,
 string, array, DerivativeContext)
    #4 /srv/mediawiki/php-1.39.0-wmf.4/includes/api/ApiMain.php(1897): 
Wikibase\Repo\Api\ModifyEntity->execute()

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

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

To: Lucas_Werkmeister_WMDE, Krinkle
Cc: brennen, cjming, Lucas_Werkmeister_WMDE, Jdforrester-WMF, Krinkle, hashar, 
Ladsgroup, Pablo-WMDE, Aklapper, Addshore, Fernandobacasegua34, Astuthiodit_1, 
786, Suran38, Biggs657, karapayneWMDE, Invadibot, Lalamarie69, maantietaja, 
Juan90264, Alter-paule, Beast1978, CBogen, ItamarWMDE, Un1tY, Akuckartz, 
Hook696, darthmon_wmde, Rosalie_WMDE, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Ramsey-WMF, 
Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Verdy_p, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to