Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2154

Environment keys with empty associated stacks should not be listed as available

    XMLWordPrintableJSON

Details

    Description

      I just got the confusing error message:

      No object of type org.apache.tapestry5.services.Heartbeat is available from the Environment.
      Available values:

      • org.apache.tapestry5.services.Heartbeat
        ..

      That happened because Heartbeat had been pushed and popped during the render cycle. The problem is, that Heartbeat is still a key in the map of available objects, but the list/stack of associated objects is empty.
      The patch removes entries removes those keys from the AvailableValues values list.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: