Activities of "Mikael"

Hi,

I can confirm that issue is solved in 5.3.0 RC3.

Thanks, Mikael

Hi, I tested again and now the Forms appears in the menu BUT when I publish a form WITHIN a tenant, the following message appears when trying to fill the form:

  • ABP Framework version: v5.3.0-RC2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: An unhandled exception occurred while processing the request. ComponentNotRegisteredException: The requested service 'Volo.Forms.Web.Pages.Forms.IndexModel' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable<Parameter> parameters)

ComponentNotRegisteredException: The requested service 'Volo.Forms.Web.Pages.Forms.IndexModel' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable<Parameter> parameters) Volo.Abp.AspNetCore.Mvc.UI.RazorPages.ServiceBasedPageModelActivatorProvider+<>c__DisplayClass0_0.<CreateActivator>b__0(PageContext context) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelFactoryProvider+<>c__DisplayClass3_0.<CreateModelFactory>b__0(PageContext pageContext) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.CreateInstance() Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()

  • Steps to reproduce the issue:"
  • Create a new project with ABP Suite 5.3.0-RC2
  • Add the FROMS module using GUI (also tried with CLI)
  • Forms is not present in the Menu. Trying with Path /Forms result in the error

Mikael

  • ABP Framework version: v5.3.0-RC1

  • UI type:MVC

  • DB provider: EF CoreB

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Exception message and stack trace:

  • Steps to reproduce the issue:"

  • Create a new MVC project

  • Using ABP Suite, add a new entity with a NULLABLE variable

  • Build fails because "string concurrencyStamp" is placed after Nullable variable

I workaround the issue by modifying the Server.AppService.AppService.txt and Server.Domain.Manager.txt but it is boring to update it for each new project.

Regards, Mikael

Answer

This is the same issue as reported here (applies to 5.2.2 and 5.3.0-RC1): https://support.abp.io/QA/Questions/3067/530-RC1-Form-Multi-tenant-issue

Answer

If you do this within a tenant, there is a known issue fixed in 5.3.0-RC1 : https://support.abp.io/QA/Questions/2882

BUT 5.3.0-RC1 bring another bug. Hoping it will be solved in the next release.

  • ABP Framework version: v5.3.0-RC1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: EntityNotFoundException: There is no such an entity. Entity type: Volo.Forms.Responses.FormResponse, id: 53deee85-dd59-42be-64b7-3a03c9c10258 Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<TDbContext, TEntity, TKey>.GetAsync(TKey id, bool includeDetails, CancellationToken cancellationToken)
  • Steps to reproduce the issue:"
  • Create a new tenant
  • In the new tenant, create a new form with a question
  • Open the created form and try to submit the result, this result in this error. It is working when you are not in a tenant.

I hope this is the right place to submit bugs for RC version.

Regards, Mikael

  • ABP Framework version: v5.2.1 stable/Suite 5.2.1 (but same issue happened in 5.1.4)
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: DataTables warning: table id=EXMailboxesTable - Requested unknown parameter 'eXMailbox.name' for row 0, column 1. For more information about this error, please see http://datatables.net/tn/4
  • Steps to reproduce the issue:"

Create two entities in ABP Suite with first 2 letters Uppercase ex: EXMailbox and EXGroup Add navigation property (one to many)

Create a new EXMailbox and select a EXGroup, the error is raised when you come back to the list of EXMailbox

I don't know if there is any documentation specifying that we cannot use double uppercase at the beginning of the entity name... ?

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

Additional info: I see that the TenantId is not populated in the FrmChoices (if I add it manually in the DB, I can edit once but it removes it during the edit also):

Id TenantId ChoosableQuestionId IsCorrect Index Value E60DB298-D2EC-45B1-99D7-3A032A94D68D NULL 04416E4A-6760-C6DE-FABF-3A032A94B18E 0 1 zefezfa 32F4B0E0-56E0-9BE9-D7B5-3A032A94D68E NULL 04416E4A-6760-C6DE-FABF-3A032A94B18E 0 3 Other...

C87DB08B-B766-6D88-EEB9-3A032A94D68E NULL 04416E4A-6760-C6DE-FABF-3A032A94B18E 0 2 zefze 85171D6D-A164-9FD0-86BE-3A032A94F749 NULL 9735F5D2-7B2E-9E9E-AB63-3A032A94D85C 0 2 zaefzaef 924333ED-680A-E510-F882-3A032A94F749 NULL 9735F5D2-7B2E-9E9E-AB63-3A032A94D85C 0 1 azefzae C0209865-9591-F151-89D1-3A032A967327 NULL 4D1828BD-C9CB-9332-05C4-3A032A966658 0 1 Option 71D13037-9FD0-B82D-8AF6-3A032B6A0CC8 NULL 70F54A35-F7EB-B229-F35D-3A032B69FE57 0 1 Option 179B80FB-8B46-5974-3192-3A032B6FD905 NULL A038E366-19DE-E1AF-8474-3A032B6FBF85 0 1 Optiondd

Showing 1 to 10 of 21 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09