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

MockNodeData should mimic the way DefaultNodeData works

    XMLWordPrintable

Details

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

    Description

      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)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR