FLUID-5277: Improve the error message when an nonexistent container is provided for fluid.viewRelayComponent and fluid.rendererRelayComponent

Metadata

Source
FLUID-5277
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2014-02-14T10:45:30.415-0500
Updated
2014-03-18T11:24:15.453-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Framework

Description

When a nonexisted container is provided at instantiating a fluid.viewRelayComponent and fluid.rendererRelayComponent, the error message is "that is null". It would be helpful if the actual "container not found" message is provided. The latter helpful message has been implemented for non-relay components such as fluid.viewComponent and fluid.rendererComponent.

Comments

  • Cindy Li commented 2014-02-14T11:43:57.443-0500

    Sent a pull request that has a unit test for this issue: https://github.com/fluid-project/infusion/pull/468

  • Colin Clark commented 2014-03-18T04:03:40.762-0400

    I have reviewed, tested, and pushed this fix to the project repo's master branch at revision a145ef1f753ff61d514c00bcde60f3aa91fbb17b.

    @@Cindy Li, can you confirm that this issue is indeed fixed and close the ticket if so?

  • Cindy Li commented 2014-03-18T11:24:15.451-0400

    Confirmed the issue is fixed.