assemblee-virtuelle / semapps

A toolbox to create semantic web applications
https://semapps.org
Apache License 2.0
88 stars 9 forks source link

Error on frontend when displaying only one item #1283

Closed fluidlog closed 3 months ago

fluidlog commented 4 months ago

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.

mguihal commented 4 months ago

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 :)

fluidlog commented 4 months ago

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

fluidlog commented 3 months ago

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

fluidlog commented 3 months ago

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 !

mguihal commented 3 months ago

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

fluidlog commented 3 months ago

@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) ?

mguihal commented 3 months ago

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.

fluidlog commented 3 months ago

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.