| Summary: | Membership page shows 2 year old versions of marketplace connectors, instead of latest | ||
|---|---|---|---|
| Product: | Community | Reporter: | Nick Boldt <nboldt> |
| Component: | Marketplace | Assignee: | Marketplace Inbox <marketplace-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chris.guindon, eric.poirier |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/106531 https://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=567b4a171441cc9a9d8297167e45e4395350746b |
||
| Whiteboard: | |||
|
Description
Nick Boldt
(In reply to Nick Boldt from comment #0) > > So it seems there's a bug either in the marketplace (in that the latest > version is not the first / index version in the database) or on the > membership page (perhaps the versions are retrieved as a hash, but not > sorted to retrieve the most recent one?) I think the issue is on showMember.php. We probably forgot to update this page after we implemented solution versions for marketplace listings. This page is probably using the old version field instead of the latest solution version field. > > If someone can point me to the code that provides either the marketplace > listing or the membership page, I'll happily attempt to contribute a patch > to fix this. The code for the membership pages is available here: https://git.eclipse.org/c/www.eclipse.org/membership.git/tree/showMember.php But our Drupal code is not available publicly. I will ask Eric to take a look at this issue this week. New Gerrit change created: https://git.eclipse.org/r/106531 Gerrit change https://git.eclipse.org/r/106531 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=567b4a171441cc9a9d8297167e45e4395350746b (In reply to Eclipse Genie from comment #3) > Gerrit change https://git.eclipse.org/r/106531 was merged to [master]. > Commit: > http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/ > ?id=567b4a171441cc9a9d8297167e45e4395350746b It's possible to have multiple versions for a listing, should we consider removing the version in the marketplace listing section of showMember.php page? (In reply to Christopher Guindon from comment #4) > (In reply to Eclipse Genie from comment #3) > > Gerrit change https://git.eclipse.org/r/106531 was merged to [master]. > > Commit: > > http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/ > > ?id=567b4a171441cc9a9d8297167e45e4395350746b > > It's possible to have multiple versions for a listing, should we consider > removing the version in the marketplace listing section of showMember.php > page? I assume this not a problem since there was no reply. Nick feel free to comment if you don't think this fix works for you! Closing this bug! Thanks for the fix - looks good now. Just out of curiosity, what's the sort order here? It'd be nice to be sorted by most recently updated first, so that ancient Hibernate connectors are listed after the new devstudio and jbosstools stuff. I can open a new BZ if you'd like, or I could reopen this one. Just thought I'd ask here first to see if this is something you'd be willing to add, or if I'm asking for tiny irrelevant tweaks that would benefit only me. :D (In reply to Nick Boldt from comment #6) > Thanks for the fix - looks good now. > > Just out of curiosity, what's the sort order here? > > It'd be nice to be sorted by most recently updated first, so that ancient > Hibernate connectors are listed after the new devstudio and jbosstools stuff. > > I can open a new BZ if you'd like, or I could reopen this one. > > Just thought I'd ask here first to see if this is something you'd be willing > to add, or if I'm asking for tiny irrelevant tweaks that would benefit only > me. :D Hi Nick, The listings are currently ordered by creation date. I think it would be a good improvement to have to most recent listings at first. I think you can create a new bug since its out of the scope of this current bug. Let me know if you have more questions. Thanks! |