Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on frontend when displaying only one item #1283

Closed
fluidlog opened this issue Jul 3, 2024 · 8 comments
Closed

Error on frontend when displaying only one item #1283

fluidlog opened this issue Jul 3, 2024 · 8 comments
Labels
bug Something isn't working high priority middleware

Comments

@fluidlog
Copy link
Contributor

fluidlog commented Jul 3, 2024

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 fluidlog added bug Something isn't working middleware high priority labels Jul 3, 2024
@mguihal
Copy link
Contributor

mguihal commented Jul 5, 2024

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
Copy link
Contributor Author

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

@fluidlog
Copy link
Contributor Author

fluidlog commented Jul 26, 2024

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

@fluidlog
Copy link
Contributor Author

fluidlog commented Jul 26, 2024

I just see that @mguihal did the migration in 0.6.5 here yesterday... :)
assemblee-virtuelle/archipelago#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
Copy link
Contributor

mguihal commented Jul 26, 2024

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

@fluidlog
Copy link
Contributor Author

fluidlog commented Jul 29, 2024

@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
Copy link
Contributor

mguihal commented Jul 29, 2024

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
Copy link
Contributor Author

fluidlog commented Jul 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority middleware
Projects
None yet
Development

No branches or pull requests

2 participants