User tests: Successful: Unsuccessful:
| Status | New | ⇒ | Pending | 
| Category | ⇒ | Administration com_menus | 
correct, make perfect sense
| Labels | 
                                        Added: 
?
 | 
    ||
I have tested this item 
@richard67: I tested with postgresql and after selecting "Preset - Joomla Main Menu" no menu items where inserted.
Hmm, I had postgresql, too, have it for testing such PRs .. for me it worked .. strange. I have version 10.10. Does your postgresql log show any errors? On my Ubuntu Linux it is /var/log/postgresql/postgresql-10-main.log. On other OS, at least the file name should be similar.
There is no error in the postgresql log and a look in _menu shows that records are inserted.
@richard67 Correct!
| Status | Pending | ⇒ | Closed | 
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-12 19:34:44 | 
| Closed_By | ⇒ | alikon | 
I don't think ID should be hardcoded. There's
Joomla\CMS\Table\Nested::getRootId()method for getting root item ID.