Bug 1564650

Summary: Invalid syntax in /usr/share/applications/org.gnome.font-viewer.desktop
Product: [Fedora] Fedora Reporter: Milan Zink <mzink>
Component: desktop-file-utilsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 28CC: alexl, awilliam, caolanm, cosimo.cecchi, john.j5live, mbarnes, mclasen, rdieter, rebus, rhughes, rstrode, sandmann, tiagomatos
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: desktop-file-utils-0.23-8.fc28 desktop-file-utils-0.23-8.fc27 desktop-file-utils-0.23-8.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1678448 (view as bug list) Environment:
Last Closed: 2018-04-15 02:36:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1678448    

Description Milan Zink 2018-04-06 19:15:24 UTC
Description of problem:
/usr/share/applications/org.gnome.font-viewer.desktop is causing errors while updating desktop database:

sudo update-desktop-database 
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)


Version-Release number of selected component (if applicable):

gnome-font-viewer-3.28.0-1.fc28.x86_64

How reproducible:

run: sudo update-desktop-database

Steps to Reproduce:
1. install gnome-font-viewer if not present
2. run update-desktop-database (as root)

Actual results:
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)


Expected results:
No errors all desktop files should have valid syntax

Additional info:

Comment 1 Fedora Update System 2018-04-09 22:07:18 UTC
desktop-file-utils-0.23-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d3ff7cabfc

Comment 2 Fedora Update System 2018-04-09 22:07:32 UTC
desktop-file-utils-0.23-8.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b931933ce3

Comment 3 Fedora Update System 2018-04-09 22:07:41 UTC
desktop-file-utils-0.23-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b617c869f

Comment 4 Milan Zink 2018-04-10 15:03:09 UTC
desktop-file-utils-0.23-8 works fine

bash-4.4$ sudo update-desktop-database
bash-4.4$ 

No errors

bash-4.4$ grep MimeType /usr/share/applications/org.gnome.font-viewer.desktop
MimeType=application/x-font-ttf;application/x-font-pcf;application/x-font-type1;application/x-font-otf;font/ttf;font/otf;

Comment 5 Adam Williamson 2018-04-10 17:50:01 UTC
hadess: d'oh, dunno why I typed the wrong thing in the component box. :P thanks!

Comment 6 Rex Dieter 2018-04-10 18:22:16 UTC
*** Bug 1565770 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2018-04-10 20:49:42 UTC
desktop-file-utils-0.23-8.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b931933ce3

Comment 8 Fedora Update System 2018-04-10 21:15:09 UTC
desktop-file-utils-0.23-8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b617c869f

Comment 9 Fedora Update System 2018-04-10 22:51:29 UTC
desktop-file-utils-0.23-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d3ff7cabfc

Comment 10 Fedora Update System 2018-04-15 02:36:42 UTC
desktop-file-utils-0.23-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-04-15 14:45:26 UTC
desktop-file-utils-0.23-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-04-18 01:03:34 UTC
desktop-file-utils-0.23-8.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.