Enhancement #801

Extend file/upload stereotype to allow external URL

Added by Blatti Yves almost 5 years ago. Updated about 4 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:CATALOG
Target version:4.3.2
Sponsor:ASIT-VD (CH), DEPTH Switzerland (CH) Ergonomic impact:
Functional impact:

Description

We'd like to extend file the file (upload) stereotype to allow usage of external URLs.
A user would choose if he uploads the file on easySDI or put a link to the resource.
(Currently the stereotype only allows to upload the file on the system)

Reasons are:
  • We have attached files fields in our model that needs upload or external link (depending on the owner of the metadata usages)
  • Current stereotype usage may be unclear (due to it's layout) -> Simplify edit forms and increase readability
  • There is work to do on this stereotype anyway (#808 , #622)
  • Is Internet "standard" (many references uses a 'file popup' with options, gmail for instance)

Our proposal:

  • Have a "one line" stereotype containing:
    • existing URL if set (text field, disabled)
    • an 'attach file' button to open an 'attach file' popup (bootstrap appended button)
    • a link to open current URL (if it exists only, in a _blank target)
  • The file popup offers 2 tabs:
    • 1) Local file (upload)
    • 2) File on the internet (URL)
  • The presence of the tabs is configurable on relation in MD model (options: upload , url or upload+url)
    • To avoid change for existing clients, default value will be upload
  • Include URL testing (#894) for URLs (tab 2)
    • Test of link is done 'onChange' of the field BUT it does not avoid using the entered URL, this done for private/internal metadata, when the URL can point on an Intranet resource. The informative message is shown below the URL field with a green tick or a red cross depending on test result.
  • Fix #808 (Validation fails with stereotype "file"), validation will be easier since there will be only 1 field in form
  • Fix #622 ("File" stereotype :deletion of file, problem of relpicated MD)
    • Use solution N°1 proposed in #622:
      • (Solution 1 is choosen cause it does not need special actions for upgrade existing easySDI installations)
      • Keep file storage and naming as in versions <= 4.3.0
      • On replication : parse XML for "locally attached items", if found: duplicate the files with a new name, and replace the links
      • On deletion of file node : if file is local (uploaded), remove file with node
        • To identify local uploaded files we'll use a conjunction linkedfilebaseurl (exposed in XML) and linkedfilerepository (local base path) catalog configs

Mockups:

file_stereotype_enhancements_v2.png (70.2 KB) Blatti Yves, 03/11/2015 02:40 PM


Related issues

Related to easySDI - Defect #808: Validation fails with stereotype "file" Closed
Related to easySDI - Defect #622: "File" stereotype :deletion of file, problem of relpicate... Affected 07/15/2013

History

#1 Updated by Blatti Yves over 4 years ago

  • File file_stereotype_enhancements.png added
  • File file_stereotype_enhancements_exp.png added
  • Tracker changed from Feature to Enhancement
  • Description updated (diff)
  • Status changed from New to Request For Comments
  • Assignee set to Technical Committee

Updated description, mockup added

#2 Updated by Blatti Yves over 4 years ago

  • File deleted (file_stereotype_enhancements.png)

#3 Updated by Blatti Yves over 4 years ago

  • Description updated (diff)

#4 Updated by Blatti Yves over 4 years ago

  • Priority changed from Normal to High

#5 Updated by Van Hoecke Hélène over 4 years ago

  • Assignee changed from Technical Committee to Magoni Bruno

TC validates but requests for more detailed specifications.

#6 Updated by Magoni Bruno over 4 years ago

  • Status changed from Request For Comments to Accepted
  • Assignee deleted (Magoni Bruno)
  • Target version set to Unplanned

#7 Updated by Mérour Xavier over 4 years ago

  • Assignee set to Blatti Yves

#8 Updated by Blatti Yves over 4 years ago

  • Description updated (diff)

Updated specifications following TC request (1/2)

#9 Updated by Blatti Yves over 4 years ago

  • Description updated (diff)

Updated specifications following TC request (2/2)

#10 Updated by Blatti Yves over 4 years ago

update mockups

#11 Updated by Blatti Yves over 4 years ago

  • File deleted (file_stereotype_enhancements_exp.png)

#12 Updated by Blatti Yves over 4 years ago

  • Description updated (diff)

#13 Updated by Magoni Bruno over 4 years ago

  • Related to Defect #808: Validation fails with stereotype "file" added

#14 Updated by Magoni Bruno over 4 years ago

  • Related to Defect #622: "File" stereotype :deletion of file, problem of relpicated MD added

#15 Updated by Van Hoecke Hélène over 4 years ago

OK with me.

#16 Updated by Villemagne Jérôme over 4 years ago

for me too

#17 Updated by Mérour Xavier over 4 years ago

  • Status changed from Accepted to Affected
  • Assignee changed from Blatti Yves to Magoni Bruno

#18 Updated by Magoni Bruno over 4 years ago

  • Sponsor ASIT-VD (CH) added

#19 Updated by Magoni Bruno over 4 years ago

  • Target version changed from Unplanned to 174

#20 Updated by Magoni Bruno over 4 years ago

  • Target version changed from 174 to Unplanned
  • Sponsor deleted (ASIT-VD (CH))

#21 Updated by Magoni Bruno over 4 years ago

  • Status changed from Affected to Call For Sponsors

#22 Updated by Magoni Bruno over 4 years ago

  • Status changed from Call For Sponsors to Affected
  • Assignee changed from Magoni Bruno to Villemagne Jérôme
  • Target version changed from Unplanned to 4.3.2
  • Sponsor ASIT-VD (CH), DEPTH Switzerland (CH) added

#23 Updated by Battaglia Marc about 4 years ago

  • Status changed from Affected to Resolved
  • Assignee changed from Villemagne Jérôme to Battaglia Marc

#24 Updated by Van Hoecke Hélène about 4 years ago

  • Status changed from Resolved to Closed
  • Assignee deleted (Battaglia Marc)

Also available in: Atom PDF