alaa_wmde added a comment.

  Turns out that for Firefox we do not store resource loader response in local 
storage 
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/startup/mediawiki.js#2216
  
  So on chrome the issue could be reproduced by following the steps:
  
  1. disable the extension after creating at least one property in an item with 
musical-notation type
  2. clear browsing storage (localStorage at least)
  3. reload lexeme page
  4. try to edit the score property
  5. then you should see a similar js error `Found property P2 in entityStore 
but couldn't find the datatype "musical-notation" in dataTypeStore. This is a 
bug or a configuration issue.`
  6. enable extension again
  7. reload (do not hard reload) the lexeme page and try to edit the score 
property
  8. then you should see **again** the same js error
  9. remove entry in local storage with key 'MediaWikiModuleStore:default'
  10. reload again
  11. try to edit score property
  12. the js error should not occur and you should be able to edit the property
  
  **Note** To double test too. When I tried to reload at step 10, backend kept 
producing old ETag for few more hits causing cached version on disk to be 
loaded and reproducing the issue again

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

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

To: alaa_wmde
Cc: Aklapper, Addshore, Onmir, DannyS712, Nandana, Mh-3110, Lahi, Gq86, 
GoranSMilovanovic, Jayprakash12345, QZanden, enigmaeth, rohitt, LawExplorer, 
_jensen, Jonas, Dixtosa, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to