StarWarsFoundryVTT / StarWarsFFG

StarWarsFFG System for Foundry VTT.
http://www.foundryvtt.com
MIT License
93 stars 79 forks source link

Migrate data lookup #1066

Closed wrycu closed 2 years ago

wrycu commented 2 years ago

It looks like data access for entities has changed in v10 and it's causing issues.

From creating an actor:

Error: You are accessing the ActorFFG#data object which is no longer used. Since V10 the Document class and its contained DataModel are merged into a combined data structure. You should now reference keys which were previously contained within the data object directly.

You are accessing ActorFFG#data which has been migrated to ActorFFG#system Deprecated since Version 10

Error: TextEditor.enrichHTML is becoming asynchronous. In the short term you may pass async=true or async=false as an option to nominate your preferred behavior. Deprecated since Version 10

Esrin commented 2 years ago

Tackled a bunch of these. There's lots left, although they're all deprecation warnings rather than total fails.

Haven't even looked at the importers yet but I imagine they're probably a bit dire.

wrycu commented 2 years ago

Items don't generate warnings anymore, and I've migrated some actor calls. known issues as of the above commit:

Esrin commented 2 years ago

These commits look good @wrycu ... get a PR in to the v10 branch! I'm also gonna add you to the main repo so it's a bit easier for you to work on this going forward.

wrycu commented 2 years ago

okay, current status:

wrycu commented 2 years ago

opened https://github.com/StarWarsFoundryVTT/StarWarsFFG/pull/1079. Once I get the content working for links, I'll start deving directly in this repo (but I think we'll be in a fairly good place for a v10 alpha release)