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
  • !204

WIP: Multiple catalog

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Ayush Tiwari requested to merge tiwariayush/erp5:multiple_catalog into master Dec 07, 2016
  • Overview 0
  • Commits 23
  • Pipelines 0
  • Changes 62

This work is on top of erp5_catalog branch, so we are using erp5 catalog everywhere in this case.

Multiple Catalog:

  1. Site Manager creates multiple catalog using different connections.
  2. Each erp5_catalog comes with a predicate object.
  3. Extra attributes for catalog objects:
    • Validation state : Cataloging would be done only in validated catalogs.
    • Predicate: Predicate would be checked on each object to be cataloged.
  4. Every user would have preference to chose the preferred_catalog and that one would be used as the result of getSQLCatalog, without changing default_erp5_catalog_id

Problems:

  • Circular dependency while looking for preferred_catalog. For now, this has been taken care of by using default_erp5_catalog_id for the result of getSQLCatalog in case the user is manager. So, this way atleast we have all user and preferences cataloged at one place.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: multiple_catalog
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7