Bug #18049

Submodules of Web module can't work with mod.php and the _DISPATCH system

Added by Andrea Boselli over 7 years ago. Updated over 6 years ago.

Status:Closed Start date:2008-01-24
Priority:Should have Due date:
Assigned To:Steffen Kamper % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.1 Is Regression:
PHP Version:5.2 Sprint Focus:
Complexity:

Description

When using the new mod.php system for backend modules, problems arise when module is a submodule of Web module.

Error is like:

Value "web_utestmodM1&id=123" for "M" was not found as a module.

Create extension with kickstarter, add a module as submodule of Web module.

Change conf.php, ext_emconf.php, index.php as described by docs.

Select module from the list works ok.

As soon as you select a page in the page tree you get something like:

Value "web_utestmodM1&id=123" for "M" was not found as a module.

(issue imported from #M7265)

7265.diff Magnifier (1 kB) Administrator Admin, 2008-12-08 21:41

7265_v3.diff Magnifier (3.9 kB) Administrator Admin, 2008-12-09 10:30


Related issues

related to Core - Bug #17170: TYPO3 core modules should be adapted for mod.php Resolved 2007-03-29

History

#1 Updated by Andrea Boselli over 7 years ago

Whops, made error in writing down report.

The error I get is:

Value "web_utestmodM1?id=123" for "M" was not found as a module

(Notice the ? instead of & I wrote earlier... btw, THIS is the problem)

#2 Updated by Christian Kuhn almost 7 years ago

I remember a similar issue that lead to this error message and it had been solved.

However I just created a tiny test extension (just a submodule of web) and can not confirm the mentioned error in current trunk (rev 4024) now.

I think we can close this one.

#3 Updated by Dmitry Dulepov almost 7 years ago

Nope, we do not close. I confirm the bug. The problem is related to page tree.

#4 Updated by Steffen Kamper over 6 years ago

the bug isn't complicate. The only error page-tree does is adding
?id =xyz

So the Url looks like

mod.php?M=web_txtemplavoilaM1?id=1

correct would be

mod.php?M=web_txtemplavoilaM1&id=1

I will dig into and make a patch

#5 Updated by Steffen Kamper over 6 years ago

here is the patch

#6 Updated by Steffen Kamper over 6 years ago

more complete patch is attached.

#7 Updated by Steffen Kamper over 6 years ago

committed to trunk and 4_2, rev 4570 / 4571

Also available in: Atom PDF