Skip to content

Fix the link since the page migration#171

Merged
Hlavtox merged 3 commits into
PrestaShop:devfrom
Touxten:Touxten-patch-1
Nov 14, 2025
Merged

Fix the link since the page migration#171
Hlavtox merged 3 commits into
PrestaShop:devfrom
Touxten:Touxten-patch-1

Conversation

@Touxten

@Touxten Touxten commented Jul 24, 2025

Copy link
Copy Markdown
Contributor
Questions Answers
Description? Fix the link from the page migration?
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? PrestaShop/PrestaShop#39185
Sponsor company @Touxten
How to test? See issue

@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Jul 24, 2025
@Touxten Touxten changed the title Fix the link from the page migration Fix the link since the page migration Jul 24, 2025

@SiraDIOP SiraDIOP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qa by Dev

@Hlavtox

Hlavtox commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

@SiraDIOP You can test it just fine yourself, really. Just verify that all buttons in module settings work fine.

@Hlavtox

Hlavtox commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Ping @PrestaShop/qa-functional @PrestaShop/committers for QA, this is required for this module to work on 9.0.x branch on NGINX.

@jolelievre jolelievre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be fixed on the core level not on all modules, I struggled to ake this backwatd compatible and it works in most cases I guess from the issue that nginx is a special case but it also needs to be handled

If there is no other solution we'll fix it on the module level, but first we need to try and handle this on the core level

@Hlavtox

Hlavtox commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

@jolelievre Double index.php in the URL is a wrongly constructed URL.

https://www.domain.cz/admin/index.php/improve/modules/manage/action/configure/index.php?controller=AdminModules&configure=ps_categorytree&token=abc&conf=6

Yes, the core CAN handle it, but the module should link to a proper URL. It's the modules "fault" that it routed to fragile relative URL for years.

@kpodemski

Copy link
Copy Markdown
Contributor

@Hlavtox the thing is that AdminController::$currentIndex is not only used for that, but also some other things, so it has to be fixed anyway 👍🏻

but, to be honest, I think this PR doesn't need to be blocked @jolelievre

Comment thread classes/Form/ConfigurationForm.php Outdated
@Touxten

Touxten commented Oct 9, 2025

Copy link
Copy Markdown
Contributor Author

Ok i can change and use the third parameters.

However, why not merge all PRs and afterthen use the third parameter?

Since the release of 9.0.0, these modules have been unusable, and the PRs date back to July.

PrestaShop/PrestaShop#39185 (comment)

Screenshot - 2025-10-09T144604 904

@arkpoah

arkpoah commented Oct 15, 2025

Copy link
Copy Markdown

I get a 404 error when I add tracking id in module configuration, I think it is linked to this issue.
Is there a workaround to add the tracking id waiting the fix ? Where should add it in database for PS9 ?

@Hlavtox

Hlavtox commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

@jolelievre It's ready Jo, check it out. The params need to be provided properly, so I did it. :-)

@Hlavtox Hlavtox dismissed jolelievre’s stale review October 29, 2025 15:48

Changes applied per request

@Quetzacoalt91

Copy link
Copy Markdown
Member

@SiraDIOP I beleve you're now able to do the QA review?

@SiraDIOP SiraDIOP self-assigned this Nov 14, 2025
@SiraDIOP

Copy link
Copy Markdown

Hello @Touxten,

Thanks for your PR, I tested the module on nginx server and it's good for me
Capture d’écran 2025-11-14 à 19 28 35

Thanks

@SiraDIOP SiraDIOP added QA ✔️ Status: Check done, Code approved and removed waiting for QA labels Nov 14, 2025
@Hlavtox Hlavtox merged commit 0354f58 into PrestaShop:dev Nov 14, 2025
7 of 8 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for review to Merged in PR Dashboard Nov 14, 2025
@ps-jarvis ps-jarvis moved this from Merged to Ready for review in PR Dashboard Nov 14, 2025
@ps-jarvis

Copy link
Copy Markdown

PR merged, well done!

Message to @PrestaShop/committers: do not forget to milestone it before the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

QA ✔️ Status: Check done, Code approved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.