Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-96757

Parsing exceptions count as unsuccessful execution but still execute the command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 16w05b, Minecraft 16w36a, Minecraft 1.11, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When a parsing exception inside a nested command occurs the command returns that it ran unsuccessful, however it still gets executed.

      How to reproduce

      Use the following command and place a comparator next the command block or a conditional chain command block with a command

      /setblock ~ ~1 ~ oak_sign{Text1:"\"Q\"",Text2:"\"Q\"",Text3:"\"Q\"",Text4:"Not JSON!"}
      

      The first JSON data for Text4 is invalid, but instead of not placing the sign at all or ignoring this, it places the sign but states it was unsuccessful

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: