Here are the steps to reproduce the issue:
- Put the following code inside “rowRendered” server event in “models/Trademarks.php” file: var_dump(Route());
- Login using username/password: admin/master to the generated demo web application in your localhost,
- Click on “trademarks” menu item on the sidebar, you will see the output of var_dump code is located inside the “trademarks” List page,
- Click on “Edit” option from one of the records in that List page, then you will see in the Edit page, the output of var_dump is located before the DOCTYPE html tag if you view the page source of browser. Shouldn’t it inside the Edit page as well as the List page above?
- The same issue also happened for the Add, View, Search (advanced search) pages.