Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
jio jio
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 18
    • Merge requests 18
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedi
  • jiojio
  • Merge requests
  • !108

Merged
Created Jun 27, 2019 by Nicolas Wavrant@NicolasMaintainer

query.js: do not raise if the sort_on_option list is empty

  • Overview 3
  • Commits 1
  • Changes 2

Fix the error

Error: TypeError: Cannot read property '0' of undefined

when synchronizing officejs apps (see https://nexedijs.erp5.net/#/bug_module/20190227-23F861F)

I confirm the synchro works again by applying this page locally.

I couldn't find where in the code (neither in jio and in ERP5) the sort_on parameter set to []. Maybe it's done dynamically somewhere (in replicate storage ?).

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