Import failing when importing a vcard-button
評価
調査の方向性
Start with the import validation in app/Http/Controllers/UserController.php at the linked line, then reproduce the failure by exporting a user’s links with a vCard button and importing them for another user. Check the open pull request #1004 before starting; done means this import no longer raises “Invalid link” for that vCard entry.
索引モデルが issue の本文から書いたものです。
説明
LinkStack version
4.8.6
Description
Hello, when importing a link export from one user to another user on the same instance it fails when the JSON file contains a link with "type": "vcard".
I get a "Invalid link" exception from UserController: https://github.com/LinkStackOrg/LinkStack/blob/2dfa5444c13abaa74ab9d6d857c8b0f2a73351f7/app/Http/Controllers/UserController.php#L1016
Probably the validator fails for the JSON in the "link" attribute.
Details about your system
Docker on Debian
How to reproduce
Export the bookmark list from a user with a vcard-button and try to import it for another user.
Possible Solution
No response
Additional Context
No response
- 主要言語
- PHP
- スター
- 3.9k
- フォーク
- 440
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LinkStackOrg/LinkStack のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
LinkStackOrg/LinkStack#1011 ·
-
難易度 3/5 半日 初心者へのやさしさ 55/100
LinkStackOrg/LinkStack#1008 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
LinkStackOrg/LinkStack#1007 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 44/100
LinkStackOrg/LinkStack#1003 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
LinkStackOrg/LinkStack#1002 ·
LinkStackOrg/LinkStack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 87/100
WordPress/phpunit-test-runner#364 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
EasyCorp/EasyAdminBundle#7875 ·
メンテナーはふだん 2 日以内に返信
-
[Sync EN] PDOException::getCode(): document the int|string return type対応中かも @lacatoire が今日担当しました。 オープンsync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信