Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2237

MockNodeData should mimic the way DefaultNodeData works

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 3.6
    • None
    • None
    • None

      Unfortunately, all get

      {Type}

      methods of DefaultNodeData do return null/""/0 when any exception is thrown (in most cases when the property does not exist, but there is absolutely no differentiation). Until this is fixed, MockNodeData should do the same.

      (the real fix should be letting the exception bubble up, but calling code should be more preventive and check if the property exists before using it)

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR