New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporters of an idea are not updated after a vote #12

Closed
oanalavinia opened this Issue Sep 4, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@oanalavinia
Copy link

oanalavinia commented Sep 4, 2018

Steps to reproduce:

  1. Click on Ideas Application
  2. Click 'Add new entry'
  3. Fill an entry name
  4. Fill the required fields
  5. Click 'Save & View'
  6. On the idea's page, click on voting buttons from "Votes" or "Supporters"/"Opponents" fields

Expected result:
Depending on the pressed button, the name of the user appears under "Supporters"/"Opponents" fields with the specific text "You support this idea"/"You are against this idea" inside the box.

Actual result:
Only after refreshing the page the user is able to see these changes.
aftervote
afterrefresh

@oanalavinia oanalavinia self-assigned this Sep 4, 2018

@acotiuga acotiuga added this to the 1.10.4 milestone Sep 12, 2018

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 14, 2018

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 14, 2018

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 14, 2018

acotiuga added a commit that referenced this issue Sep 14, 2018

Supporters of an idea are not updated after a vote #12 (#13)
* Supporters of an idea are not updated after a vote #12
* applied xar:format

* Supporters of an idea are not updated after a vote #12

* Supporters of an idea are not updated after a vote #12
* updated some code style

@oanalavinia oanalavinia reopened this Sep 17, 2018

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 17, 2018

Supporters of an idea are not updated after a vote xwikisas#12
* changed so a user cannot vote if the vote is closed

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 17, 2018

Supporters of an idea are not updated after a vote xwikisas#12
* code refactoring
* added a notification in case someone votes when the status is not 'open'

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Sep 17, 2018

acotiuga added a commit that referenced this issue Sep 17, 2018

Supporters of an idea are not updated after a vote #12 (#14)
* a user cannot vote if the vote is closed
* added a notification in case someone votes when the status is not 'open'
* updated some translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment