Skip to content

Commit

Permalink
[Core] Fix media erasing issue - Creating a media with a slug that ev…
Browse files Browse the repository at this point in the history
…er exist does'nt throw error (so erasing the first one and create a second entry in db)
  • Loading branch information
RobinDev committed Nov 2, 2021
1 parent 5400c22 commit 06c4201
Show file tree
Hide file tree
Showing 35 changed files with 452 additions and 121 deletions.
2 changes: 1 addition & 1 deletion docs/feed.xml
@@ -1 +1 @@
<rss xmlns:dc=http://purl.org/dc/elements/1.1/ xmlns:atom=http://www.w3.org/2005/Atom version=2.0><channel><title>Pushword - Modern CMS to build rapidly Websites (powered by Symfony)</title> <link>https://pushword.piedweb.com/ <description></description> <link href=https://pushword.piedweb.com/feed.xml rel=self type=application/rss+xml> <item><title></title> <link>https://pushword.piedweb.com/override-theme <guid>https://pushword.piedweb.com/override-theme</guid> <pubdate>Mon, 01 Nov 2021 21:53:00 +0100</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/roadmap <guid>https://pushword.piedweb.com/roadmap</guid> <pubdate>Mon, 01 Nov 2021 21:53:00 +0100</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/search.json <guid>https://pushword.piedweb.com/search.json</guid> <pubdate>Mon, 01 Nov 2021 21:53:00 +0100</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/themes <guid>https://pushword.piedweb.com/themes</guid> <pubdate>Mon, 01 Nov 2021 21:53:00 +0100</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/upgrade <guid>https://pushword.piedweb.com/upgrade</guid> <pubdate>Mon, 01 Nov 2021 21:53:00 +0100</pubdate></item></channel> </rss>
<rss xmlns:dc=http://purl.org/dc/elements/1.1/ xmlns:atom=http://www.w3.org/2005/Atom version=2.0><channel><title>Pushword - Modern CMS to build rapidly Websites (powered by Symfony)</title> <link>https://pushword.piedweb.com/ <description></description> <link href=https://pushword.piedweb.com/feed.xml rel=self type=application/rss+xml> <item><title></title> <link>https://pushword.piedweb.com/architecture <guid>https://pushword.piedweb.com/architecture</guid> <pubdate>Tue, 02 Nov 2021 11:45:18 +0000</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/command <guid>https://pushword.piedweb.com/command</guid> <pubdate>Tue, 02 Nov 2021 11:45:18 +0000</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/component/entity-filter <guid>https://pushword.piedweb.com/component/entity-filter</guid> <pubdate>Tue, 02 Nov 2021 11:45:18 +0000</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/configuration <guid>https://pushword.piedweb.com/configuration</guid> <pubdate>Tue, 02 Nov 2021 11:45:18 +0000</pubdate></item> <item><title></title> <link>https://pushword.piedweb.com/contribute <guid>https://pushword.piedweb.com/contribute</guid> <pubdate>Tue, 02 Nov 2021 11:45:18 +0000</pubdate></item></channel> </rss>
22 changes: 22 additions & 0 deletions docs/media/1.jpg.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/jpg",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 2,
"height": 1000,
"width": 1000,
"mainColor": null,
"media": "1.jpg",
"name": "Demo 1",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
}
}
22 changes: 22 additions & 0 deletions docs/media/2.jpg.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/jpg",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 2,
"height": 1000,
"width": 1000,
"mainColor": null,
"media": "2.jpg",
"name": "Demo 2",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
}
}
Binary file added docs/media/android-chrome-512x512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/media/android-chrome-512x512.png.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/png",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media\/",
"size": 12486,
"height": 512,
"width": 512,
"mainColor": "#ffffff",
"media": "android-chrome-512x512.png",
"name": "android-chrome-512x512",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:03.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:03.000000",
"timezone_type": 3,
"timezone": "UTC"
}
}
22 changes: 22 additions & 0 deletions docs/media/editorjs.svg.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/svg+xml",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 620,
"height": null,
"width": null,
"mainColor": null,
"media": "editorjs.svg",
"name": "editorjs.svg - 618124ce0120a",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:18.004613",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:18.004608",
"timezone_type": 3,
"timezone": "UTC"
}
}
Binary file added docs/media/favicon-6414.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/media/favicon-6414.png.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/png",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 1521,
"height": 32,
"width": 32,
"mainColor": null,
"media": "favicon-6414.png",
"name": "favicon-6414.png - 618124cdf1a03",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:17.989691",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:17.989685",
"timezone_type": 3,
"timezone": "UTC"
}
}
Binary file added docs/media/favicon-from-pied-web-6414.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/media/favicon-from-pied-web-6414.png.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/png",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 1521,
"height": 32,
"width": 32,
"mainColor": null,
"media": "favicon-from-pied-web-6414.png",
"name": "favicon-from-pied-web-6414.png - 618124cdf24a7",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:17.992419",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:17.992412",
"timezone_type": 3,
"timezone": "UTC"
}
}
Binary file added docs/media/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/media/favicon.png.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/png",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 1521,
"height": 32,
"width": 32,
"mainColor": null,
"media": "favicon.png",
"name": "favicon.png - 618124cdf2778",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:17.993141",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:17.993135",
"timezone_type": 3,
"timezone": "UTC"
}
}
22 changes: 22 additions & 0 deletions docs/media/piedweb-logo.png.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/png",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 2,
"height": 1000,
"width": 1000,
"mainColor": null,
"media": "piedweb-logo.png",
"name": "Pied Web Logo",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:01.000000",
"timezone_type": 3,
"timezone": "UTC"
}
}
22 changes: 22 additions & 0 deletions docs/media/sonata.svg.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/svg+xml",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 2652,
"height": null,
"width": null,
"mainColor": null,
"media": "sonata.svg",
"name": "sonata.svg - 618124ce01790",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:18.006029",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:18.006024",
"timezone_type": 3,
"timezone": "UTC"
}
}
22 changes: 22 additions & 0 deletions docs/media/symfony.svg.json
@@ -0,0 +1,22 @@
{
"customProperties": [],
"mimeType": "image\/svg+xml",
"storeIn": "\/home\/robin\/localhost\/Pushword\/packages\/skeleton\/media",
"size": 1811,
"height": null,
"width": null,
"mainColor": null,
"media": "symfony.svg",
"name": "symfony.svg - 618124ce01b1a",
"names": null,
"createdAt": {
"date": "2021-11-02 11:45:18.006935",
"timezone_type": 3,
"timezone": "UTC"
},
"updatedAt": {
"date": "2021-11-02 11:45:18.006930",
"timezone_type": 3,
"timezone": "UTC"
}
}
2 changes: 1 addition & 1 deletion docs/roadmap.html

Large diffs are not rendered by default.

0 comments on commit 06c4201

Please sign in to comment.