Skip to content

the DELETE endpoint will not delete inspection if there is no pictures #150

@scaspers

Description

@scaspers

It looks like it fails when it tries to find and delete the ...Uploads/Inspections/{ordernumber} directory that does not exist unless picture(s) have been uploaded.

lert-danger">^ <i class="material-icons">error</i>^ <span>An unknown error o ccurred at Inspections/Delete.^^Innermost exception: (System.IO.DirectoryNotFoun dException) Could not find a part of the path &#39;/var/www/virtuals/daniel/di/U ploads/Inspections/004787919&#39;.</span>^^(P)MT,(T)EL,(W)RK,(E)<button type="bu tton" class="btn btn-default" onclick="window.location.reload()">^n" -H "Digita< i class="material-icons md-light">refresh</i>^69036" -X POST htt</button>^</div>

If I upload a picture then the DELETE will work and return 200

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions