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

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #27720
Closed
Open
Created Mar 24, 2015 by FPC Admin account@fpc_adminOwner

Bug in "Add Active File To Package"

Original Reporter info from Mantis: teoe300
  • Reporter name:

Description:

In Lazarus, the option "Add Active File To Package" has an annoying bug.
In case the directory of the unit is not in unit search path, the path is neither automatically appended nor the uset is prompted to add it as it is done in projects.

Steps to reproduce:

  1. Create a package.
  2. Via the "Add Active File To Package" menu, try to add a unit which is not in the unit search path of ypur package.
  3. Open the options for the package and look for the "Other unit files".
  4. The path to the unit you added is not appended.

Additional information:

By contrast, the "Add" command in the package menu does prompt the user in case the new unit is not in the package's unit search path.

Mantis conversion info:

  • Mantis ID: 27720
  • OS: Windows XP
  • OS Build: XP Home Edition
  • Platform: Win32
  • Version: 1.2.6
  • Fixed in revision: r50839 (#9e35d2c5)
Assignee
Assign to
Time tracking