Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 141
    • Merge requests 141
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !1605

Merged
Created Apr 25, 2022 by Jérome Perrin@jeromeOwner

Drop `_recorded_property_dict` from XML on components

  • Overview 3
  • Commits 3
  • Pipelines 3
  • Changes 361

When a validated component is edited, mixin.component.RecordablePropertyMetaClass records the text_content property. This recorded property will be cleared afterwards if no errors are found, but this causes differences in business template XML for each component the first time they are edited.

This change is about removing the _recorded_property_dict when there are no property recorded, which leads to slightly smaller pickles (and business template XML, because they are also pickles).

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/no_recorded_property_dict
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7