Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'splice') at Object.addNewInXBookmarks cause sync error #482

Open
magicdawn opened this issue Jun 20, 2024 · 0 comments

Comments

@magicdawn
Copy link

Describe the issue you are experiencing
A clear and concise description of your issue: Sync Error: local data has been refreshed

  1. I make a change to my bookmark,
  2. the xBrowerSync icon run a sync (the icon indicates syncing
  3. show error

image

related #287

log

2024-06-20 07:50:09.408	[trace]	Sync 1nv1qg0 (pull) queued
2024-06-20 07:50:09.424	[trace]	Processing sync 1nv1qg0 (0 in queue)
2024-06-20 07:50:10.973	[trace]	Local population completed in 0.121s
2024-06-20 07:50:10.993	[trace]	Local sync data refreshed
2024-06-20 07:50:25.828	[trace]	onMoved event detected
2024-06-20 07:50:25.897	[trace]	onMoved event detected
2024-06-20 07:50:25.914	[trace]	onMoved event detected
2024-06-20 07:50:26.862	[trace]	Sync qyncu1 (push) queued
2024-06-20 07:50:26.894	[trace]	Sync 57gx2s (push) queued
2024-06-20 07:50:26.920	[trace]	Sync e7d4e5 (push) queued
2024-06-20 07:50:26.939	[trace]	Processing sync qyncu1 (2 in queue)
2024-06-20 07:50:26.957	[trace]	Sync qyncu1 failed
2024-06-20 07:50:26.971	[error]	bookmarks.sync: [10111] XBookmarkNotFound	TypeError: Cannot read properties of undefined (reading 'splice') at Object.addNewInXBookmarks [as AddNewInXBookmarks] (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:2563:29) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:3865:65 at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:140:44 at m.$digest (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:151:185) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:154:326 at Tg.completeTask (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:166:15) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:52:3
2024-06-20 07:50:26.986	[trace]	{"container":"[xbs] Toolbar","indexPath":[12],"targetInfo":{"container":"[xbs] Toolbar","indexPath":[13,8],"bookmark":{privacy removed}},"syncChange":true}
2024-06-20 07:50:27.001	[trace]	Sync 1y3vfa9 (pull) queued
2024-06-20 07:50:27.015	[trace]	Processing sync 1y3vfa9 (0 in queue)
2024-06-20 07:50:29.091	[trace]	Local population completed in 0.14s
2024-06-20 07:50:29.117	[trace]	Local sync data refreshed

the log shows caused by this

2024-06-20 07:50:26.971	[error]	bookmarks.sync: [10111] XBookmarkNotFound	TypeError: Cannot read properties of undefined (reading 'splice') at Object.addNewInXBookmarks [as AddNewInXBookmarks] (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:2563:29) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:3865:65 at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:140:44 at m.$digest (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:151:185) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:154:326 at Tg.completeTask (chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:166:15) at chrome-extension://lcbjdhceifofjlpecfpeimnnphbcjgnc/js/background.min.js:52:3

How can the issue be reproduced?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem:

Desktop browser
Please complete the following information for all affected desktop browsers:

  • OS: macOS
  • Browser chrome
  • Version 126.0.6478.62(正式版本) (arm64)

Mobile device
Please complete the following information for all affected mobile devices:

  • Device: [e.g. Samsung Galaxy S10]
  • OS: [e.g. Android 9 Pie]
  • Version [e.g. v1.5.0]

Application log
Please include the logs from the affected clients:

Log entries
Download the Application log from the Settings panel and paste the contents here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant