This topic is locked

pages generated from view doesn't reflex the real name

9/19/2024 9:05:51 AM
PHPRunner General questions
C
carlos.oschi@gmail.com author

Hi gyus. Recently try to migrate the code from my old app to new one in PHR11. in order to improve the main code i start from scratch, copy and paste in everything in the new forms, some pages are made from phprunner views another from tables. the main problem is when we create a page using a view the shortname in db is setting on the original table name that generated de view plus "1" or "2". the final code generated use the shortname insted the new name...

I fix this changing the shortame ussing the database table "tables", field "shortname", close de phpr and open again the project, this fix the trouble.

pe.

original table "user_session"
view on table "start"

the pages generated for the view "start" must be start_list, start_edit, and so on.

but the generated page for view "start" is user_session1_list, user_session1_edit...

using 41419 version enterprise phpr11

please your fix

PD: Fantastic Work with the new app.

C
carlos.oschi@gmail.com author 9/19/2024

an aditional info, in this situation i need to change several json content fields to make the change. i sugest not only change the "short table name", instead search for the error patern in all server to find the json in all tables and correct this manually. as far i can see it's only one value per json datafield.

C
carlos.oschi@gmail.com author 10/4/2024

¿nothing?

the bug still, new views copy remains with the original table name plus "n" as shortname and the generated output respond to this file... can be change in DB but is tedious

thanks gyus!!