codex-team / codex-team/codex.media

Not found required param `url`

Open
#521 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
104
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Troubles with saving article with an empty `attaches` block.

`Kohana_Exception [ 0 ]: EditorJS (article:1196):Not found required param url ~ APPPATH/classes/Model/Page.php [ 336 ]`

```
{
"time":1623404599027,
"blocks":[
{
"type":"paragraph",
"data":{
"text":"Test"
}
},
{
"type":"image",
"data":{
"file":{
"url":"upload/pages/images/o_3bcd620bf21c1f8ebd1a1f32ffc10ec0.jpg",
"title":"3bd9743740-2_1390x600",
"name":"3bcd620bf21c1f8ebd1a1f32ffc10ec0",
"extension":"jpe",
"size":"597351"
},
"caption":"",
"withBorder":false,
"stretched":true,
"withBackground":false
}
},
{
"type":"delimiter",
"data":{

}
},
{
"type":"attaches",
"data":{
"file":{

},
"title":""
}
}
],
"version":"2.19.1"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.