Project

General

Profile

Actions

task #2452

closed

Media entities and Webpages

Added by Niels Hoffmann about 11 years ago. Updated 10 months ago.

Status:
Duplicate
Priority:
Priority14
Category:
cdm
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
major

Description

At the moment, the editor will spit out errors if the URI of a media representation points to a website instead of to an image. This is happening because we currently support images only and anticipate every URI entered to point to an image.

Many users will not know the difference between pointing to the webpage an image is on or pointing to the image directly and we have to think of solutions to cope with this problem.

related ticket: #3630 (Taxeditor should add mimetype of mediaRepresentations automatically), #3631, #3362


Related issues

Related to EDIT - feature request #6588: Add URL and URL comment to OriginalSource / ExternalLinkClosedAndreas Müller

Actions
Related to EDIT - feature request #3630: Taxeditor should add mimetype of mediaRepresentations automaticallyNewKatja Luther

Actions
Related to EDIT - feature request #9548: Handle links to websites, webapps or similar in image galleries (simple and UV)NewAndreas Kohlbecker

Actions
Related to EDIT - feature request #9547: Show warning in TaxEditor if a MediaRepresentation can not be shown in a ViewerNewKatja Luther

Actions
Actions #1

Updated by Andreas Müller about 11 years ago

  • Assignee changed from Andreas Müller to Niels Hoffmann
  • Category changed from cdmlib to taxeditor
  • Target version deleted ()
  • Severity changed from normal to major

Niels and AM discussed this today.

One solution would be to catch the exceptions and offer a user dialog instead with typical solutions to choose from, e.g. in case of an web application like an image viewer the user may choose "web application" which results in adding MIME type application/xhtml or something similar.

We need more discussion on the topic how far ordinary webpages can be legal urls for media. In terms of protologues this is certainly true and does not lead to problems with the current editor implementation.

However, for image galleries it may be questionable to allow ordinary website urls.

As far as I can see the cdmlib is handling the cases correctly by throwing exceptions and it is more an issue of applications to handle exceptions correctly. Therefore I change component and milestone to taxeditor.

We may open a new ticket for automatic recognition of image/audio/movie formats. Currently it is only image as far as I remember.

Actions #2

Updated by Andreas Müller over 7 years ago

  • Assignee changed from Niels Hoffmann to p.plitzner -

we have discussed this recently but I do not remember if there is a duplicate ticket already. Patrick, could you check?

Actions #3

Updated by Patrick Plitzner over 7 years ago

I think this will probably be solved when the related ticket #3630 is solved.

Actions #4

Updated by Andreas Müller over 7 years ago

As discussed earlier we can not generally expect that the Editor or any other tool, import routine or what ever will ALWAYS generate the MIME-type, even if this is the preferred way. Therefore in case the MIME is not available through CDM we still need to find it out ourselves. The solution mentioned in #3630 should work for a request from the dataportal as well, shouldn't it?

Actions #5

Updated by Andreas Müller over 7 years ago

Replying to a.mueller:

The solution mentioned in #3630 should work for a request from the dataportal as well, shouldn't it?

Sorry ticket is ofcouse not about dataportal. However, I wanted to say that what code ever should not expect the MIME type ALWAYS to be present in CDM data but needs to handle missing MIME types themselves. Otherwise we need to set MIME type in MediaRepresentation to NotNull which is currently not wanted.

Actions #6

Updated by Andreas Müller about 4 years ago

  • Description updated (diff)
  • Category changed from taxeditor to cdm
  • Status changed from New to In Progress
  • Assignee changed from Patrick Plitzner to Andreas Müller
  • Priority changed from New to Highest
  • Target version changed from TaxEditor Next Major Release to CDM UML 5.5

First we need to decide on model level how to distinguish media and websites. Since 5.0 there is the new class ExternalLink now. We still need to define how these are related to MediaRepresentation. Especially the ExternalLinkType "File" is a bit similar to the MediaRepresentationPart subclasses.

Currently external link is only used in OriginalSource. Need to decide if it should be used elsewhere.

Once decided move back to TaxEditor category or open new ticket.

Actions #7

Updated by Andreas Müller over 3 years ago

Actions #8

Updated by Andreas Müller 12 months ago

  • Status changed from In Progress to Resolved
  • Target version changed from CDM UML 5.5 to Release 5.25

Decide, how far this is open and what needs to be done.

Actions #9

Updated by Andreas Müller 12 months ago

  • Private changed from Yes to No
Actions #10

Updated by Andreas Müller 12 months ago

  • Target version changed from Release 5.25 to Release 5.34
Actions #11

Updated by Andreas Kohlbecker 12 months ago

  • Related to feature request #3630: Taxeditor should add mimetype of mediaRepresentations automatically added
Actions #12

Updated by Andreas Müller 10 months ago

  • Priority changed from Highest to Priority14
Actions #13

Updated by Andreas Müller 10 months ago

  • Related to feature request #9548: Handle links to websites, webapps or similar in image galleries (simple and UV) added
Actions #14

Updated by Andreas Müller 10 months ago

  • Related to feature request #9547: Show warning in TaxEditor if a MediaRepresentation can not be shown in a Viewer added
Actions #15

Updated by Andreas Müller 10 months ago

  • Description updated (diff)
Actions #16

Updated by Andreas Müller 10 months ago

  • Status changed from Resolved to Duplicate
  • Target version deleted (Release 5.34)

I think this is kind of a duplicate discussion of #9067. We decided there to keep the current data model and store media links to websites/applications similar as links to files and make use of the MIME type as far as possible. For this #3630 and #9547 should be implemented soon.

Please reopen if you think there is an explicit task in this ticket which is not been handled by any of the tickets mentioned above.

Actions

Also available in: Atom PDF