Coder Social home page Coder Social logo

Comments (4)

issa-tseng avatar issa-tseng commented on August 27, 2024

as described in the message, this is intentional. you must change either the form id or the version in order to upload the same form again.

this is because if somebody has already downloaded the form to their mobile device before you deleted it from the server, and then you create a new different form with the same form id and version, then there is no way for the system to know that the form on the device is different than the form on the server when submissions to the form are uploaded, and data can get mixed and confused.

from central.

arkhub avatar arkhub commented on August 27, 2024

oh ok, that's make sense although I wish I can override it while still in development mode. Is it possible if i redownload the docker images or delete the specific data from the posgres db directly?

from central.

issa-tseng avatar issa-tseng commented on August 27, 2024

yeah—eventually if/when we have form preview on the central web panel itself, we may introduce some sort of draft state where you can replace over a form as many times as you'd like because it won't be visible for download onto mobile devices.

for right now, you can delete the data from postgres directly, yes: you can log into postgres with this command:

docker-compose exec postgres psql -U odk -W odk

and giving the password (by default also just odk). then you can cascading-delete the appropriate records from the forms table.

from central.

arkhub avatar arkhub commented on August 27, 2024

thanks, I've managed to delete the previous form now.

from central.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.