Skip to content

Warning | Invalid block | resized image URL in a URL property #241

Open
@C0ntr0lledCha0s

Description

@C0ntr0lledCha0s

Search first

  • I searched and no similar issues were found

What Happened?

Image url causes an invalid block warning when resized on an URL property.

Reproduce the Bug

Image

Image

URL used in this example is https://i.pinimg.com/originals/eb/b4/8a/ebb48ae098e8aadbaf1afbeb4b0b76b4.png

Expected Behavior

When an image is resized, it shouldn't give a warning when validating the blocks

Image

{:msg "Validation errors", :errors ({:entity {:block/tx-id 536887727, :block/uuid #uuid "67d14c54-054e-4e8a-9577-af89b130db31", :block/properties [[{:db/ident :user.property/email-UL_S9FXV, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :default} 450] [{:db/ident :user.property/telephone-MNlPt6MU, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :default} 445] [{:db/ident :user.property/legalName-NTd1D8n3, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :default} 451] [{:db/ident :user.property/owns-hbJat1oZ, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :node} 453] [{:db/ident :user.property/event-TnZsBTQU, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/many, :logseq.property/type :node} #{457}] [{:db/ident :user.property/location-rtPRwp3c, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :node} 380] [{:db/ident :logseq.property/icon, :db/cardinality :db.cardinality/one, :logseq.property/type :map} {:type :emoji, :id "male-technologist"}] [{:db/ident :user.property/logo-G3qEV2JH, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/one, :logseq.property/type :url} 454]], :block/updated-at 1743325192476, :block/refs #{288 448 133 453 199 457 298 207 271 307 20 380 286}, :block/created-at 1741769812299, :block/collapsed? false, :block/tags [{:db/ident :block/tags, :db/valueType :db.type/ref, :db/cardinality :db.cardinality/many, :logseq.property/type :class} #{133 199} {:page-class-id 133, :all-page-class-ids #{3 133 2 134 135}}], :block/title "Xero", :db/id 443, :block/path-refs #{288 448 133 453 199 457 298 207 271 307 20 380 286}, :block/name "xero"}, :dispatch-key :normal-page, :errors {710 {:block/properties {7 ["unknown error"]}}}})}

Files

No response

Browser, Desktop or Mobile Platform Information

logseq/logseq@6209bd0

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions