Review Board Ticket #4751: "Reload" button on Admin Dashboard News widget does not function

2018-10-01 Thread Storm Kaefer
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4751/
--

New ticket #4751 by skaefer143
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


--
"Reload" button on Admin Dashboard News widget does not function
==

# What version are you running?
Review Board release-4.0.x


# What's the URL of the page containing the problem?
/admin/


# What steps will reproduce the problem?
In w-news.html, line 10 contains this code: 
`$('.reload-news').click(function(evt) {`
This attaches a click function callback to objects with a class of 
`reload-news`, however the reload button has an id of `reload-news`. The reload 
code will never be triggered because of this.

To reproduce:
1. Insert `console.log("test");` into line 11 in w-news.html, right after 
`$('.reload-news').click(function(evt) {`
2. Reload admin page, open up javascript console, and click on the "Reload" 
button.
3. `test` will not appear in the javascript console.


# What is the expected output? What do you see instead?
The expected output of this is that the news widget should reload. It only 
reloads on a page refresh, not when the button is clicked.


# What operating system are you using? What browser?
Ubuntu 18.04, Firefox 62.0


# Please provide any additional information below.
This is an easyfix bug, because it involves 1 character change (change 
`$('.reload-news').click(function(evt) {` to 
`$('#reload-news').click(function(evt) {`). However, a test should be added to 
confirm that the "Reload" button does in fact work as expected.


--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: RBTools Ticket #4728: Git svn : diff can't be generated because of badly formatted call to git rev-list

2018-10-01 Thread Katell GENIN
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4728/
--

New update by KG
For Beanbag, Inc. > RBTools > Ticket #4728


Reply:

modifying git.py to have "git rev-list --not --remotes=origin --not 
SHA1_lastcommit_on_master" called doesn't work. Same backtrace as before.
Calling it directly in a terminal gives me the list of all commits of the 
repository.

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.