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: Bug posted in forum: Archive button in "category" leads to non-sense #1872

Closed
jojo12 opened this issue Dec 18, 2024 · 7 comments
Closed
Labels
bug Something isn't working fixed Have a commit with the solution.

Comments

@jojo12
Copy link
Contributor

jojo12 commented Dec 18, 2024

I had time to test and I could reproduce this error:
I go to a JEM category with ID 3 and use the top right button "archive". It leads me to the Joomla article with ID 3 instead!

@jojo12 jojo12 added the bug Something isn't working label Dec 18, 2024
@jojo12
Copy link
Contributor Author

jojo12 commented Dec 18, 2024

instead of:
https://www.mysite.ch/?id=3:taize&task=archive&filter_reset=1

it should be something like:
https://www.mysite.ch/?com_jem&view=category&id=3:taize&Itemid=9226&task=archive&filter_reset=1

'taize' is the name of the JEM category, but this is not needed in the link

@mckillo
Copy link
Collaborator

mckillo commented Dec 19, 2024

I don't find the error. What view or link?
Can you tell me the steps to simulate the error?

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 19, 2024

To test: I have two menu points: 1) JEM categories and 2) a JEM category (in my case I choosed "Taize")

  1. is working fine: I open "categories" and see all categories with their upcoming events. I then click the top right button "archive". The result is right: I see all categories with their finished events.
  2. is the problem: I open "category" and see the chosen category "Taize" with all upcoming events. I then click the top right button "archive". The result is NOT the category "Taize" with the finished events.

To see the URLS I disabled in Joomla General configuration the SEO and cleared the cache. Then I repeated the above actions.
The result is written above: I see that category opens the JOOMLA article ID 3 instead of the JEM category ID 3.

So I tried (by thinking) and tested what should be the right URL. The result is written above.

I think: we have to find the place in "category", where the wrong URL is built. We have to correct this.
I hope, with that you can reproduce this issue.

mckillo added a commit that referenced this issue Dec 21, 2024
The link for this button is now correct. Previously, the link was not included in the code.
@mckillo mckillo added the fixed Have a commit with the solution. label Dec 21, 2024
@mckillo
Copy link
Collaborator

mckillo commented Dec 21, 2024

Check it and if it's good, you can close this issue. One less.

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 21, 2024

"Responsive" works fine now, thanks. But we forgot "Legacy"

@jojo12
Copy link
Contributor Author

jojo12 commented Dec 21, 2024

I changed the legacy "default.php" and committed into JEM-4.3.2-dev-bugfix
Now legacy works too.

@Heklaterriol
Copy link
Contributor

Thanks for fixing!
While testing I found a similar error in the venue view, see #1873

@jojo12 jojo12 closed this as completed Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Have a commit with the solution.
Projects
None yet
Development

No branches or pull requests

3 participants