Uploaded image for project: 'Kuali Mobility'
  1. Kuali Mobility
  2. MOBILITY-712

Dev - Modify the events tool to save module state and reload it when needed.

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: Events
    • Labels:
      None
    • Rank (Obsolete):
      112610
    • Global Rank:
      91261
    • Sprint:
      Mobility 3.3

      Description

      Modify the events tool so that each init() method of each controller saves the state of the event factory to local storage. The use of the factory type of data sharing should allow easy conversion to and from JSON format for storage.

      Within each init() method, test if the factory is in the default state and if so, load the saved app state from local storage so that the particular route's data is actually available.

        Attachments

          Issue Links

            Activity

            joseswan Joe Swanson (Inactive) created issue -
            joseswan Joe Swanson (Inactive) made changes -
            Field Original Value New Value
            Link This issue cloned from MOBILITY-710 [ MOBILITY-710 ]
            joseswan Joe Swanson (Inactive) made changes -
            Issue Type Bug Fix [ 1 ] Task [ 3 ]
            joseswan Joe Swanson (Inactive) made changes -
            Description If a user navigates the events tool to an event detail page and then clicks an event's web page link to leave the app, when using the back button (browser) to navigate back to events, the page is blank.

            This is due to the angularjs service that controls events having been lost from memory and re-initialized with no state. Modify the event detail angularjs controller to detect if there is no currently selected event and if so to send the user to the appropriate entry page for the events tool (obtained from the home page's tool definition). The default home URL should be bound within the JSP on the server side to minimize network traffic and simplify getting the information since it will be an internal call at that point rather than a web service call.
            Modify the events tool so that each init() method of each controller saves the state of the event factory to local storage. The use of the factory type of data sharing should allow easy conversion to and from JSON format for storage.

            Within each init() method, test if the factory is in the default state and if so, load the saved app state from local storage so that the particular route's data is actually available.
            joseswan Joe Swanson (Inactive) made changes -
            Original Estimate 2 days [ 57600 ] 4 days [ 115200 ]
            Remaining Estimate 2 days [ 57600 ] 4 days [ 115200 ]
            joseswan Joe Swanson (Inactive) made changes -
            Link This issue relies on MOBILITY-710 [ MOBILITY-710 ]
            joseswan Joe Swanson (Inactive) made changes -
            Link This issue cloned to MOBILITY-713 [ MOBILITY-713 ]
            tamerman Tom Amerman (Inactive) made changes -
            Assignee Xin Feng [ xinfeng ]
            xinfeng Xin Feng (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            xinfeng Xin Feng (Inactive) logged work - 22/Aug/14 10:37 AM
            • Time Spent:
              2 days
               

              Committed to mobility-3.2.0 branch.

            xinfeng Xin Feng (Inactive) made changes -
            Remaining Estimate 4 days [ 115200 ] 2 days [ 57600 ]
            Time Spent 2 days [ 57600 ]
            Worklog Id 98595 [ 98595 ]
            xinfeng Xin Feng (Inactive) logged work - 28/Aug/14 1:29 PM
            • Time Spent:
              1 day
               

              Merge the fixes to trunk.

            xinfeng Xin Feng (Inactive) made changes -
            Remaining Estimate 2 days [ 57600 ] 1 day [ 28800 ]
            Time Spent 2 days [ 57600 ] 3 days [ 86400 ]
            Worklog Id 98734 [ 98734 ]
            Hide
            xinfeng Xin Feng (Inactive) added a comment -

            Also implement to "By Date" and "By Range" tabs.

            Show
            xinfeng Xin Feng (Inactive) added a comment - Also implement to "By Date" and "By Range" tabs.
            xinfeng Xin Feng (Inactive) logged work - 03/Sep/14 3:22 PM
            • Time Spent:
              2 days
               

              Implement on "By Date" and "By Range" tabs. Commit to trunk reversion 3141.

            xinfeng Xin Feng (Inactive) made changes -
            Remaining Estimate 1 day [ 28800 ] 0 minutes [ 0 ]
            Time Spent 3 days [ 86400 ] 1 week [ 144000 ]
            Worklog Id 98812 [ 98812 ]
            xinfeng Xin Feng (Inactive) made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Fix Version/s 3.3 [ 17730 ]
            Fix Version/s 3.2.1 [ 17829 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                xinfeng Xin Feng (Inactive)
                Reporter:
                joseswan Joe Swanson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week
                  1w