mojira.dev
MC-85627

Empty lines on signs rendered as "null" when upgrading 1.7.10 -> 1.8.8 -> 15w32c

tl;dr: When upgrading 1.7.10 --> 1.8.8 -->15w32c empty lines on 1.7.10 signs will be rendered as null in 15w32c.


  • World was right now created in 1.7.10

  • in 1.8.8 single and double quotes were removed, empty lines of 1.7.10 remain empty but represented internally as null

  • in 15w32c empty lines of the 1.7.10 signs render as null whereas the empty lines of the 1.8.8 signs remain empty

  • Upgrade over 1.8.8 is necessary, when directly upgrading 1.7.10 -> 15w32c empty lines remain empty

Version

NBT of empty line

1.7.10

1.7.10 -> 1.8.8

null

1.7.10 -> 1.8.8 -> 15w32c

{"text":"null"}

1.8.8

""

1.8.8 -> 15w32c

{"text":""}

1.7.10 -> 15w32c

{"text":""}

Linked issues

Attachments

Comments

Erik Broes

Can someone please confirm this still happens, this should have been fixed some snapshots ago again.

It is not possible to fix the things that have gone wrong but the upgradepath should be fine now from both 1.7->1.9 and 1.7->1.8->1.9.

migrated

This still happens when you use to setblock a sign like this and reload :

/setblock ~ ~1 ~ standing_sign 0 replace {Text1:"{\"text\":\"TEST\"}"}

This works but i think the other one should works to :

/setblock ~ ~1 ~ standing_sign 0 replace {Text1:"{\"text\":\"TEST\"}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"\"}"}
kumasasa

@@unknown: This is clearly related, but create another ticket about that issue. (Edit: Someone else did : MC-87143 )
Edit: Confirmed your issue.

kumasasa

Fix confirmed in 15w34d

kumasasa

Erik Broes

Unconfirmed

Minecraft 15w32c

Minecraft 15w34d

Retrieved