We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Work package update_form is not implemented properly.
https://www.openproject.org/docs/api/endpoints/work-packages/#work-package-edit-form
L#62 in pyopenproject/business/services/work_package_service_impl.py
pyopenproject/business/services/work_package_service_impl.py
return UpdateForm(self.connection)
Should be
return UpdateForm(self.connection, work_package).execute()
And pyopenproject/business/services/command/work_package/update_form.py needs the post request modified
pyopenproject/business/services/command/work_package/update_form.py
json_obj = PostRequest(connection=self.connection, headers={"Content-Type": "application/json"}, context=f"{self.CONTEXT}/{self.package.id}/form", json=self.package.__dict__).execute()
along with the changes to the __init__ to store the package
__init__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Work package update_form is not implemented properly.
https://www.openproject.org/docs/api/endpoints/work-packages/#work-package-edit-form
L#62 in
pyopenproject/business/services/work_package_service_impl.py
return UpdateForm(self.connection)
Should be
return UpdateForm(self.connection, work_package).execute()
And
pyopenproject/business/services/command/work_package/update_form.py
needs the post request modifiedjson_obj = PostRequest(connection=self.connection, headers={"Content-Type": "application/json"}, context=f"{self.CONTEXT}/{self.package.id}/form", json=self.package.__dict__).execute()
along with the changes to the
__init__
to store the packageThe text was updated successfully, but these errors were encountered: