Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,094
    • Issues 2,094
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

We will soon be undergoing scheduled maintenance to our database layer. We expect GitLab.com to be unavailable for up to 2 hours starting from 2022-07-02 06:00 UTC. Please note that any CI jobs that start before the maintenance window but complete during the window period will fail and may need to be started again.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #39467
Closed
Open
Created Nov 14, 2021 by Jean-Luc GOFFLOT@Alcatiz

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

Edited Nov 14, 2021 by Jean-Luc GOFFLOT
Assignee
Assign to
Time tracking