Page 1 of 1

Return Pages to List Page does not work

Posted: Sun Oct 11, 2020 8:40 pm
by mobhar
It seems the Return Pages to the List Page does not work for "After add" and "After edit".

Please do the following steps to reproduce the issue:

1. Open the demo project by using PHPMaker v2021,
2. Click on the "suppliers" table from "Database" pane,
3. Click on "Table" tab setup,
4. Go to "Table Options" -> "Return Pages" -> and then choose "List Page" both for "After add" and "After edit",
5. Re-generate ALL the script files,
6. Run the generated web application via browser and login using username/password: admin/master,
7. Click on "OTHER TABLES" -> "suppliers" menu on sidebar,
8. Add a new record (will open Add Page) and then save it, now you will be redirected to the "views/SuppliersList.php" URL which will raise 404 Not Found error,
9. The same issue also happened when you edit a record using Edit Page and then save it.

I am using PHPMaker v2021.0.2 with template date = "2020/10/09" and version="17.0.2.3".

Re: Return Pages to List Page does not work (v2021)

Posted: Mon Oct 12, 2020 6:45 am
by Webmaster
Please update to the latest template (Tools -> Update Template) and try again.

Re: Return Pages to List Page does not work (v2021)

Posted: Mon Oct 12, 2020 8:13 am
by mobhar
After updating to the latest template, now it works properly. Thank you.

Re: Return Pages to List Page does not work (v2021)

Posted: Mon Oct 12, 2020 4:57 pm
by Niijimasama
Webmaster wrote:
> Please update to the latest template (Tools -> Update Template) and try again.
Works for me too.