Closed
Bug 651921
Opened 14 years ago
Closed 14 years ago
Browsing Marks: "view first" and "view last" mark doesn't work
Categories
(Websites Graveyard :: markup.mozilla.org, defect)
Websites Graveyard
markup.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: mbrandt, Assigned: adam)
References
()
Details
Steps to reproduce:
1. Go to https://markup.allizom.org/en/#/linear/
2. In the Markup browsing pane, click "view first"
3. Click "view last"
Expected:
The user should be zoomed to either the first or last mark
Actual:
Nothing happens, there is no feedback to the user.
[11:04:14.903] b.currentMark is null @ https://markup.allizom.org/media/assets/js/markUp_app.min.js:29
Updated•14 years ago
|
Assignee: nobody → adam
Assignee | ||
Comment 1•14 years ago
|
||
It looks like there are blank marks in the database. Please remove these then retest this.
The blank marks may be there from before proper validation was put in place to prevent users from submitting blank marks.
Reporter | ||
Comment 2•14 years ago
|
||
Adam, what's the route for removing them. Can this be accomplished via the admin panel? Note this is what I have access to at the moment.
Assignee | ||
Comment 3•14 years ago
|
||
No you have to do it by hand, sorry. Using a GUI or the command line should make it pretty clear which marks are bad and which are fine. The bad ones will have a very small or no data in the points_obj and points_obj_simplified columns.
This is a cleanup we shouldn't have to do again. There was a bug that came up during QA that showed you could add marks w/o any data.
The visualization and admin's moderate view are only designed to work with valid marks, so that's why you can't fix this through that screen.
I'm about to commit some improvements to the javascript that will better handle some of these edge cases, but the improperly formed marks need cleared out before this particular issue with the First/Last buttons will be fixed.
Comment 4•14 years ago
|
||
All right, I filed an IT bug to wipe out the marks that have "null" (in base64) as their simplified points object.
Reporter | ||
Comment 5•14 years ago
|
||
Thanks Fred and Adam!
Comment 6•14 years ago
|
||
IT removed the empty marks. Matt, please take a look if this is fixed?
Reporter | ||
Comment 7•14 years ago
|
||
Removing the nulls from the db (bug 652147) appears to have cleaned this up nicely.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 1.0
Updated•3 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•