Errors while creating new project from a custom project model
- Lazarus/FPC Version: Lazarus 2.0.12 rUnknown FPC 3.2.2 x86_64-linux-gtk2
- Operating System: Manjaro Linux (5.10.70-1-MANJARO)
- CPU / Bitness: 64 (64 or 32 Bit?)
What happens
When I create a new project from a custom project model, Lazarus first asks for model variable values (MAINUNIT, MAINFORM, a.s.o) and then creates the new project files. Since version 2.0.10 ou 2.0.12 (maybe earlier, it worked fine in early 2.0.x versions), Lazarus renames some tags so the structure of lpi and lps files is broken.
An example: if I set "exercise1" as new project name, in the lpi file the tag "projectOptions" is replaced by "exercise1Options", which causes the lpi file not to be recognized because of an illegal structure. In the lps file the tag "projectSession" is renamed "exercise1Session". In summary: tags should not be renamed while creating the new project.
I join a project named "kk" to show all renamed tags.kk.tar.gz