CMDBuild Forum

Multitenant's id not added to the created Maintenance Request

When I do the following

  1. enable Multitenant on a fresh new Install of OM2-3.1.1 (tried once with Class and once with Fonction),
  2. change the Multitenant mode to Always in the properties of MR,
  3. create a new Tenant (my tenant),
  4. create a new User “test” associated with that tenant and group Requestor/Team,
  5. create a new MR, with user “test”.

I can see the _tenant param in the HTTP request with the proper id of my tenant. However, in the DB, under Maint Req, the IdTenant is not populated, and so my MR is not associated with my tenant.

Notes

  • When creating the MR with the admin account, it does not work as well.
  • When trying to do the same using a class (e.g. Budget), it works well and the IdTenant gets populated.

Is there any workaround please?

Thanks

@tecnoteca were you able to reproduce the issue? Just want to make sure this is an actual issue, and that’s not coming from my instance.
Thanks