Bug 1231054 - Exception when clicking "more activity" when there is no valid "editor url"
Summary: Exception when clicking "more activity" when there is no valid "editor url"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.7
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.7
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 06:06 UTC by Damian Jansen
Modified: 2015-07-22 02:19 UTC (History)
3 users (show)

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
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1229940 0 unspecified CLOSED When deleting a version or project remove links and replace icon from the activity feed 2021-02-22 00:41:40 UTC

Internal Links: 1229940

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


Note You need to log in before you can comment on or make changes to this bug.