Open fluidlog opened 1 month ago
Moreover, when the pannel appear, I can't select theme in the list when I click on sur line.
Seems to me there are two issues at stake here, both related to the QuickAppendReferenceArrayField
component from @semapps/field-components
package :
I wouldn't call that one "a bug", looks like an evolution request to me and I think it would need to be processed as such to address properly the related use cases.
For example : Should we allow users to create a new referenced resource without checking beforehand that it doesn't already exist ? Could lead to duplicates.
Analyzing this also led to highlighting another issue : The Theme resource is using a LexiconImportForm
component from @semapps/interop-components
that link themes to a dictionary in the Create form
. The QuickAppendReferenceArrayField
compoenent doesn't seem do that which allows to create Themes unrelated to the dictionary.
To be precise : When an organization has Members (which is a reified relation), the edit page produces a correct value for the pair:organizationOfMembership
node of the payload for the put operation on the resource, in the same situation the QuickAppendReferenceArrayField
produces an incorrect value :
Value produced by the edit page :
"pair:organizationOfMembership":[
{
"pair:membershipActor":"http://localhost:3000/users/sylvain.roquebert",
"pair:membershipRole":"http://localhost:3000/membership-roles/developper",
"type":"pair:MembershipAssociation"
}
],
Value produced by the QuickAppendReferenceArrayField
component:
"pair:organizationOfMembership": [
"http://localhost:3000/membership-associations/ea0881ec-6ede-4d12-ac10-3942be3abf82"
],
It seems related to the dataprovider.
At my level of onboarding on this project this clearly something I need help sorting out :)
Décrivez le bug Add a new theme from organization show using "+" does'nt work directly.
Etapes pour reproduire
Possible solution If I press on two letter, I can see the "Add" button
Then, I can create a new theme.
And the theme is well created
I would not like to type 2 letters to have the "Add" button.
I use Archipelago 2.1.0.