plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

'Add one now' redirects to dashboard when user is logged in

Open Rishabh-Kumar-Bothra opened this issue 7 years ago • 17 comments

Please describe the problem (or idea)

What happened just before the problem occurred? Or what problem could this idea solve?

test

so the issue is Add one now takes us to dashboard rather than to the create a wiki page with that tag name

What did you expect to see that you didn't?

https://publiclab.org/tag/event

What's your PublicLab.org username?

geekychaser

Browser, version, and operating system

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

Rishabh-Kumar-Bothra avatar Dec 30 '18 11:12 Rishabh-Kumar-Bothra

@gauravano please correct me if i am wrong

Rishabh-Kumar-Bothra avatar Dec 30 '18 11:12 Rishabh-Kumar-Bothra

Hi @geekychaser . I believe this is because your are a first time poster. On PL.org, you need to have at least 1 post approved by moderators before you can create a wiki page. The Add one now button tries to create a new wiki page. Because you haven't had a post approved yet, you are redirected to the dashboard and should be given this message: image

However, I don't seem to see it on your dashboard which might be an issue.

kevinzluo avatar Dec 30 '18 16:12 kevinzluo

@geekychaser have you posted a question or any other content before editing ? I think you first need to post a question.

shubhscoder avatar Dec 30 '18 16:12 shubhscoder

@kevinzluo @shubhscoder yes i posted a test question before using this button still encountered same behaviour

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

@geekychaser Maybe it hasn't been approved yet? Your account says 0 questions posted. https://publiclab.org/profile/rbothra1998

kevinzluo avatar Dec 30 '18 17:12 kevinzluo

@kevinzluo oh sorry , it hasn't been approved.

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

Maybe that is the issue. In that case, we should raise an issue saying that the user should be told to wait for their post to be approved when they try to create a page but have already posted! Would you like to make it @geekychaser ?

kevinzluo avatar Dec 30 '18 17:12 kevinzluo

@kevinzluo okay , i will create the issue

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

@kevinzluo i am facing this issue on local server image

when i am logged in and try to click on Add one now this occurs..?

are you facing the same problem or there is problem in my system..?

Thank you

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

Interesting. I am getting that issue too.

kevinzluo avatar Dec 30 '18 17:12 kevinzluo

shall i make one?

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

Sure! It appears someone hard coded the id into the url.

kevinzluo avatar Dec 30 '18 17:12 kevinzluo

@kevinzluo exactly

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

@kevinzluo this flash message appears and after click it redirects to a page describing the requirements image

is this fine?

Rishabh-Kumar-Bothra avatar Dec 30 '18 17:12 Rishabh-Kumar-Bothra

Hi @geekychaser @shubhscoder @kevinzluo sorry for replying late on this one.

The error you getting in this https://github.com/publiclab/plots2/issues/4463#issuecomment-450574459 is due to missing node, that node actually act as a template for new wiki. The link at Add one now is https://publiclab.org/wiki/new?title=event&n=14552 . the node is present in production database so showing error when run on local server.

I think, this solves all the confusion.

A new issue can be made from here, such that when a user tries to make a new wiki and if there work is in moderation then show a different alert.

grvsachdeva avatar Jan 03 '19 10:01 grvsachdeva

I have opened the issue at #4504. If any of you can edit it further and add links then it would be really helpful. Thanks!

grvsachdeva avatar Jan 03 '19 10:01 grvsachdeva

If you guys think any concern is missed, feel free to reopen this issue. Thanks all of you!

grvsachdeva avatar Jan 03 '19 10:01 grvsachdeva