Skip to content
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

Front-end attempts to deploy non-current version of form #2205

Closed
mdestaubin opened this issue Feb 21, 2019 · 1 comment · Fixed by #2248
Closed

Front-end attempts to deploy non-current version of form #2205

mdestaubin opened this issue Feb 21, 2019 · 1 comment · Fixed by #2248
Assignees
Labels
bug Things broken and not working as expected UI & UX User interface problems and improvements

Comments

@mdestaubin
Copy link
Contributor

Description

On the UNHCR server, if you upload and deploy a new xlsform, then replace/change the form twice before redeploying a Server 500 Error occurs.

Steps to Reproduce

  1. Upload a XLSForm on UNHCR server (ac.xlsx)
  2. Deploy the project
  3. Upload and replace the form twice
  4. Click Redeploy

Expected behavior

The form should redeploy with no issue.

Actual behavior

image

Additional details

Request URL: https://kobo.unhcr.org/assets/aYkEM3qTrwPHXasdJxqiAW/deployment/
Request Method: PATCH
Status Code: 500 INTERNAL SERVER ERROR

@jnm jnm changed the title Getting Server Error (500) when changing a form twice before redeploying on UNHCR server Getting Server Error (500) when changing a form twice before redeploying 2.019.08a release Feb 21, 2019
@jnm jnm added the bug Things broken and not working as expected label Feb 21, 2019
@jnm
Copy link
Member

jnm commented Feb 21, 2019

NotImplementedError: Only the current version_id can be deployed
https://sentry.kbtdev.org/kobo/kpi-backend/issues/300661/?query=user.username:bareta

@magicznyleszek, any idea why the FE would be sending an older-than-current version_id to the backend when redeploying?

@jnm jnm assigned magicznyleszek and unassigned jnm Feb 28, 2019
@jnm jnm changed the title Getting Server Error (500) when changing a form twice before redeploying 2.019.08a release Front-end attempts to deploy non-current version of form Feb 28, 2019
@magicznyleszek magicznyleszek added the UI & UX User interface problems and improvements label Apr 14, 2019
@jnm jnm closed this as completed in #2248 Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things broken and not working as expected UI & UX User interface problems and improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants