Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
If you try to import a features zip file containing an empty .feature using the REST API, the import completes but does not populates the Labels field with the folder path, generating the following error in atlassian-jira.log:
2022-03-28 19:40:44,207+0000 http-nio-8080-exec-6 ERROR acristiano 1180x90033x1 1krwttc 172.17.0.1 /rest/raven/2.0/import/feature [c.x.r.t.service.impl.TestImportServiceImpl] Error deserializing the Zip Document, one of the Gherkin Documents or the Gherkin Feature is null.
The expected behavior should be for the API endpoint to ignore empty files and complete the process as intended originally, by populating the Labels field if a .feature in the same zip is imported again.