Starts in:
1 DAY
16 HRS
21 MIN
31 SEC
Starts in:
1 D
16 H
21 M
31 S
Open Closed

Forms module export response empty csv #2891


User avatar
0
Mikael created

ABP Commercial 5.2.0 stable MVC, EF SQL New MVC project

When I Download the csv file exporting responses of a Forms, the csv file is **empty **even if I have several responses shown in the web interface.

The csv is requested to the api:

2022-04-12 14:26:33.458 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44367/api/forms/e8833ba0-d578-73cf-0c14-3a032a948ca2/download-responses-csv?sorting=id%20asc - - 2022-04-12 14:26:33.467 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:37d550ec-deb0-2d61-0b69-3a032a8c4cc3,n:Forms.Form 2022-04-12 14:26:33.467 +02:00 [DBG] Found in the cache: pn:U,pk:37d550ec-deb0-2d61-0b69-3a032a8c4cc3,n:Forms.Form 2022-04-12 14:26:33.468 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Forms.Form 2022-04-12 14:26:33.468 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Forms.Form 2022-04-12 14:26:33.469 +02:00 [INF] Executing endpoint 'Volo.Forms.Forms.FormController.GetCsvResponsesAsync (Volo.Forms.HttpApi)' 2022-04-12 14:26:33.472 +02:00 [INF] Route matched with {area = "form", controller = "Form", action = "GetCsvResponses", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Content.IRemoteStreamContent] GetCsvResponsesAsync(System.Guid, Volo.Forms.Responses.GetResponseListInputDto) on controller Volo.Forms.Forms.FormController (Volo.Forms.HttpApi). 2022-04-12 14:26:33.488 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:37d550ec-deb0-2d61-0b69-3a032a8c4cc3,n:Forms.Form 2022-04-12 14:26:33.489 +02:00 [DBG] Found in the cache: pn:U,pk:37d550ec-deb0-2d61-0b69-3a032a8c4cc3,n:Forms.Form 2022-04-12 14:26:33.489 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Forms.Form 2022-04-12 14:26:33.489 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Forms.Form 2022-04-12 14:26:33.649 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Content.RemoteStreamContent'. 2022-04-12 14:26:33.650 +02:00 [INF] Executed action Volo.Forms.Forms.FormController.GetCsvResponsesAsync (Volo.Forms.HttpApi) in 178.041ms 2022-04-12 14:26:33.650 +02:00 [INF] Executed endpoint 'Volo.Forms.Forms.FormController.GetCsvResponsesAsync (Volo.Forms.HttpApi)' 2022-04-12 14:26:33.651 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44367/api/forms/e8833ba0-d578-73cf-0c14-3a032a948ca2/download-responses-csv?sorting=id%20asc - - - 200 - text/csv 193.1328ms

Am I missing something to allow answers to be in the CSV?

Regards, Mikael


1 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    I have reproduced this problem and created an internal issue.

    Thank you for reporting. I have refunded your question credit.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06