semapps icon indicating copy to clipboard operation
semapps copied to clipboard

Error on frontend when displaying only one item

Open fluidlog opened this issue 1 year ago • 1 comments

Error on frontend when displaying only one item.

Error : "d.ldp:contains.map is not a function" image

If I add 2 items (organization or other items), they can be displayed.

fluidlog avatar Jul 03 '24 16:07 fluidlog

Hello 👋

Isn't it resolved in this release https://github.com/assemblee-virtuelle/semapps/releases/tag/frontend-v0.6.2? You tested it on Archipelago which uses v0.6.0 of semantic-data-provider.
This issue should be resolved in the next upgrade :)

mguihal avatar Jul 05 '24 23:07 mguihal

Merci @mguihal et merci @srosset81, je vais tester ça dans les prochains jours, si ça fonctionne, je fermerai cette issue :)

fluidlog avatar Jul 22 '24 21:07 fluidlog

Are you OK to switch Archipelago 2.0 using 0.6.6 frontend version ? I test it before...

fluidlog avatar Jul 26 '24 15:07 fluidlog

I just see that @mguihal did the migration in 0.6.5 here yesterday... :) https://github.com/assemblee-virtuelle/archipelago/pull/186 Do you want to create a tag 2.0.1 in order that we have juste to update Dockerfile to this new tag to get the upgrade ? Thanks !

fluidlog avatar Jul 26 '24 16:07 fluidlog

I released a v2.1.0 of Archipelago here: https://github.com/assemblee-virtuelle/archipelago/releases/tag/v2.1.0

mguihal avatar Jul 26 '24 21:07 mguihal

@mguihal On last Friday, I try to rebuilt my server using 2.1.0 version, and I experiment some problem with : image

So, I remove member tab while waiting to understand

After, I experiment problem with frontend.

image

image

My question is : "do you test 2.1.0 with Nantes Archipelago AddOn" (which is my reference) ?

fluidlog avatar Jul 29 '24 10:07 fluidlog

Your errors come from customized files from your instance (in particular OrganizationEdit) that has changed between two versions. Please be conscious that upgrading Archipelago may contains such changes and you have to replicate on your files if you have customized them. Second error is due to new resource that doesn't have dataModel.list parameters, and your customized code requires it.

If you are based on "Transiscope Nantes" Archipelago instance and you don't want to maintain this customized code, you can wait for this instance to be updated and copy it. (Actually it was updated since yesterday)

Versions of Archipelago are fully tested on raw basecode only. Maintainers of customized instances have to update and test their own overridden code.

mguihal avatar Jul 29 '24 18:07 mguihal

Thank you, I succed in use 2.1.0 for my project, using your update on Nantes project. It correct this issue, so we can close it.

fluidlog avatar Jul 30 '24 11:07 fluidlog