#Thread about first letter of tags

1 messages Β· Page 1 of 1 (latest)

bitter hatch
#

I didn't want to clutter up the main thread too much with this. But I'm assuming the screenshot above is the json, and you've migrated the data within foundry -- if you inspect the Item, does it have a nested array or a flat array?
[['this], ['is'], ['nested']] vs ['this', 'is', 'flat']

onyx heath
bitter hatch
#

Oh that left is the browser console?

#

I thought that was the text editor

onyx heath
#

left is text editor

bitter hatch
#

Yeah what does the in-memory object look like?

onyx heath
#

how do I check this? via console? in foudnry?

bitter hatch
#

Yeah you can find it in the console -- do you know how to do that?

onyx heath
#

no sry best I can do is hit F12 to open console πŸ˜„

bitter hatch
#

Is that Item on an actor or in a compendium?

onyx heath
#

compendium

bitter hatch
#

Ok gimme a minute to find an example for you

placid kraken
#

Mana already closed the issue

#

Migrate compendium

bitter hatch
#

Gotcha. I figured that was it but wasn't sure

onyx heath
#

Already reopend πŸ˜„

#

I did migrate compendiums before raising the issue^^

placid kraken
#

Ah, Mana was mistaken?!

#

Lol

bitter hatch
#

Ok cool, then this is still useful. In the item browser window, that book-looking icon next to the name, right click on it

onyx heath
#

Mark the day!

bitter hatch
#

It'll give you something like this Compendium.pf1.armors-and-shields.5TzaS38RPAx1oj9p

#

(into your clipboard)

onyx heath
#

Red Flag in Calender

#

the day Mana was wrong

bitter hatch
#

Then in the console type await fromUuid('Compendium.pf1.armors-and-shields.5TzaS38RPAx1oj9p')

#

That will spit out the Item into the console

#

Then just expand it and look at system.tags

twin olive
onyx heath
#

Those are the tags from console for the arcane strike feat

twin olive
#

The rendering part probably got forgotten when tuple removal was done.

#

So it's still trying to access the first tuple item which no longer exists, and it thus reads the first letter.

bitter hatch
#

Yeah, so it's my original assumption

So it appears to be doing something like array[0][0] which previously would have returned Combat but now returns the first letter (so just C)

bitter hatch
twin olive
#

It's fixed now.

bitter hatch
#

@onyx heath Going through all the compendiums and getting everything updated is a super awesome task. I'm glad you've taken it upon yourself to do this.

twin olive
#

jfastnacht is also doing great work on that department.

onyx heath
#

we're friends IRL and working on the german translation together. And while translating a lot of missing things pop up

bitter hatch
#

I know Mana has said as much before, but I'd rather code and don't really want to do any data stuff πŸ™ƒ (unless it's directly related to what I'm working on lol)

twin olive
#

Yeah, data entry is soulcrushing. I can do it if I can figure out a script to do it for me, because that's fun, like with the weapon props.

onyx heath
#

Data Entry is the only thing i can contribute as coding is not my strong side. But at least I learned to work with git working on this project so i got that going for me

bitter hatch
steep plinth
#

Just stumbling over stuff while trying to translate. And McGreger keeps pushing me by telling me how many weeks it has been since my last commit. blobmod It feels a little bit like work.

twin olive
#

It's really a great help for getting the system and its content into better shape.

steep plinth
#

In the end we want to use the system for our sessions as well.

onyx heath
#

soonβ„’