plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Revision tab on spam moderation page link is broken

Open bronwen9 opened this issue 8 years ago • 6 comments

We've got a dead end on the "revisions" history tab.

revisiontab

bronwen9 avatar May 08 '18 13:05 bronwen9

Thanks Bronwen! I believe the relevant code should be on these lines:

https://github.com/publiclab/plots2/blob/112275b1a8fd9d91566786e4ba01f86be8ce1bda/app/controllers/admin_controller.rb#L91-L101

On Tue, May 8, 2018 at 9:01 AM, Bronwen Densmore [email protected] wrote:

We've got a dead end on the "revisions" history tab.

[image: revisiontab] https://user-images.githubusercontent.com/8331717/39758595-4778004c-529e-11e8-80a1-b02f2f47edb2.gif

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/2703, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ8UQV3rp5oPltWis1OG84ZhwzHL1ks5twZc1gaJpZM4T2mcD .

jywarren avatar May 08 '18 13:05 jywarren

If someone wants to test this out locally, I bet it's just a bad URL! @chanjess maybe this could be one to try out if you're interested?

jywarren avatar May 10 '18 17:05 jywarren

@jywarren Hi, i will try to test this out locally! Are you thinking that its an issue with a bad URL and not necessarily code?

chanjess avatar May 10 '18 20:05 chanjess

I suspect as much, but it's a guess!

On Thu, May 10, 2018, 4:49 PM chanjess [email protected] wrote:

@jywarren https://github.com/jywarren Hi, i will try to test this out locally! Are you thinking that its an issue with a bad URL and not necessarily code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/2703#issuecomment-388181279, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ5V8BAMOXLMBrn45SJBgO0PWu0yHks5txKfRgaJpZM4T2mcD .

jywarren avatar May 10 '18 21:05 jywarren

@jywarren Oh i see, ok I'll check it out. i'm guessing its on line 99?

redirect_to '/dashboard

chanjess avatar May 12 '18 01:05 chanjess

hi @chanjess @jywarren , line 99 is not in action as we are not redirected to dashboard. hmm, no such error is encountered in development, so it may be related to the production database. How about checking logs?

grvsachdeva avatar May 12 '18 13:05 grvsachdeva