Bug 1231054

Summary: Exception when clicking "more activity" when there is no valid "editor url"
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: medium Docs Contact:
Priority: high    
Version: 3.7CC: dchen, djansen, zanata-bugs
Target Milestone: ---   
Target Release: 3.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3844) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 02:19:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Damian Jansen 2015-06-12 06:06:19 UTC
Description of problem:
If the user clicks "more activity" on the dashboard enough to reach some condition of their activity, it results in an exception.
It's unsure if this is related to having a deleted project, deleted version, or simply the end of the recorded activity.

Version-Release number of selected component (if applicable):
3.7-snapshot

How reproducible:
"Not sure", always

Steps to Reproduce:
Pre: in the test environment, there was three pages of activity, including some deleted projects and versions
1. Log in
2. At the dashboard, click more activity repeatedly

Actual results:
The loader keeps loading.

java.lang.NullPointerException
at org.zanata.action.ActivityAction.getEditorUrl(ActivityAction.java:205) [classes:]
at org.zanata.action.ActivityAction.getActivityMessage(ActivityAction.java:117) [classes:]

Expected results:
End / unavailable activity

Additional info:

Comment 1 Alex Eng 2015-06-12 18:21:39 UTC
Issue should be fixed as part of https://bugzilla.redhat.com/show_bug.cgi?id=1229940. 

Can you please verify if the issue is still occurring?

Comment 2 Damian Jansen 2015-06-18 02:11:01 UTC
Verified still occurring in release branch.

Comment 3 Alex Eng 2015-06-18 05:59:47 UTC
Pull request:

https://github.com/zanata/zanata-server/pull/880

Comment 4 Damian Jansen 2015-06-23 03:09:28 UTC
Verified at 2ff4212f0b01812bc034937e8a6094fd4d3a446e