Code Monkey home page Code Monkey logo

Comments (7)

mr-falken avatar mr-falken commented on June 20, 2024 1

Hi @EliasBoulharts,
it works like a charm, thanks for helping! :)

from squest.

EliasBoulharts avatar EliasBoulharts commented on June 20, 2024

I tried to reproduce but it seems working for me to request a DELETE operation without survey. Do you have a survey?

from squest.

mr-falken avatar mr-falken commented on June 20, 2024

Hi @EliasBoulharts ,
yes, sorry I didn't mention that: I have a simple survey like this

{
  "delete": 2
}

I tried also to pass the survey in the post body, like :

[...] -d '{ "fill_in_survey": { "delete": 2 } }' [...]

But got the same error.

As further information, after the djiango stack trace the resource goes in "DELETING" state but no awx task is triggered.

from squest.

mr-falken avatar mr-falken commented on June 20, 2024

Sorry to bother again on this issue, but delete operation request via POST seems still broken on 1.8.0

I also tried calling a delete operation that doesn't need a survey, but still facing this error.

You mentioned that you didn't face that issue with an operation without survey, did you send "request_comment" (which seems mandatory in swagger) in your post ?

Can you share with me a simple curl that's working for you ?

Please note that I'm not deleting an instance, I am requesting a delete operation. :)

from squest.

EliasBoulharts avatar EliasBoulharts commented on June 20, 2024

I did a manual test and I can reproduce. Unfortunaly the 1.8.1 will be comming soon...

Thank you for your report.

from squest.

mr-falken avatar mr-falken commented on June 20, 2024

Thanks @EliasBoulharts !
Nevermind, good to hear that you've been able to reproduce the error: looking forward for a fix. :)

from squest.

EliasBoulharts avatar EliasBoulharts commented on June 20, 2024

Fixed

from squest.

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.