5.91: new table is being created

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

5.91: new table is being created

Post by onoehring » 2020-11-05 11:44

Hi,

to make work faster, I copied a table, renamed it to ecomo_jobtypen.
This table is not being automatically created when I start the generated app the first time.
The generated app notices in Admin -> Rebuilt fields, that they are missing - but the table itself is not even existing.

This seems to be similar to a bug that I have had before: Copying a field or creating and immediately renaming it creates it wrong in the database when the app is run the first time.
table_missing_3.png
table_missing_3.png (32.02 KiB) Viewed 1122 times
Olaf

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: 5.91: new table is being created

Post by onoehring » 2020-11-05 13:14

Hi,

I removed the table from the axp file completely and removed the table I created by hand from the database as well.
Then I created another table in AG (same fields) and regenerated the app.
Again, the new table was not created in the database.

I thus was able to recreate the problem.

Olaf

pfrumkin
Veteran Member
Posts: 157
Joined: 2020-02-18 17:58
Location: Albuquerque, New Mexico USA

Re: 5.91: new table is being created

Post by pfrumkin » 2020-11-06 18:25

For another data point, try a different table name?

My best guess is that AG still sees some existing table (even though it's removed from the db, is it really?).

~Paul

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: 5.91: new table is being created

Post by onoehring » 2020-11-07 06:17

Hi,

I created it by hand (in MySQL), recreated some fields in AG and now it seems to work after generating the application.
Still - it seems very strange.

Olaf

Post Reply