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,102
    • Issues 2,102
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #35226
Closed
Open
Issue created Mar 14, 2019 by FPC Admin account@fpc_adminOwner

Crash on TAction renaming

Original Reporter info from Mantis: Penilopa P
  • Reporter name: Anton

Description:

If ActionList editor is shown, renaming of the actions may lead to AV.
Provided patch uses adapted version of the code from TActionListEditor.OnComponentDelete.

Steps to reproduce:

  1. Project -> New Project... -> Application
  2. Add ActionList (ActionList1)
  3. Double click ActionList1 and add new Action (Action1)
  4. Don't close "ActionList Editor" and drop MainMenu component on the form
  5. Double click MainMenu1 to open MenuEditor
  6. Click "Add menu item" to add new menu item (MenuItem1)
    MenuItem1 is an active component, its properties are shown in Object Inspector.
  7. Change MenuItem1.Action property to "Action1" in Object Inspector
  8. Expand current row ("Action") of Object Inspector to make also visible the properties of Action1
  9. Change property Name of Action1 to "Action12"

Mantis conversion info:

  • Mantis ID: 35226
  • Version: 2.1 (SVN)
  • Fixed in revision: r60677 (#47cb9daa)
Assignee
Assign to
Time tracking