[
https://issues.jboss.org/browse/SRAMP-541?page=com.atlassian.jira.plugin....
]
Stefan Bunciak commented on SRAMP-541:
--------------------------------------
So, from now on when a user finds a mistake in a Text or Xml Document uploaded to S-RAMP,
you will encourage users to first delete artifact, and then upload it again (since there
is no ootb versioning support at the moment) ?
This will include both the Java Client library and S-RAMP Shell?
Consider removing artifact/content updates
------------------------------------------
Key: SRAMP-541
URL:
https://issues.jboss.org/browse/SRAMP-541
Project: S-RAMP
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Brett Meyer
Assignee: Brett Meyer
Fix For: 0.6.0
From [~eric.wittmann] on SRAMP-539:
{quote}
In particular, updates are problematic with regard to derived content. What do we do with
the derived artifacts if we change the content? Presumably we would delete them and
re-derive. But if we do that, we might lose meta-data added to those derived artifacts
manually by users. There may also be relationships that have been formed on those derived
artifacts, in which case referential integrity will prevent them from being deleted, and
the update will fail.
All in all I am disappointed in myself for implementing the updateContent feature to
begin with.
{quote}
I also agree that updateContent and artifact updates should probably be removed entirely.
It's caused quite a bit of confusion, is only partially implemented, and could cause
quite a bit of harm in real-world use cases.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)