Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !897

Preserve whitespaces on relation fields

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/erp5:feat/relation_fields_whitespace_preserve into master Jun 25, 2019
  • Overview 7
  • Commits 3
  • Pipelines 0
  • Changes 100+

What I'm trying to prevent, is that when we have a document with leading/trailing space

image

and it's set in a relation image

just clicking save will complain that document is not found

image

this is because validator have stripped whitespace and search for "leading and trailing space" - and find nothing (unless title is a keyword key, but that's another story )

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/relation_fields_whitespace_preserve
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7