← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22126: Remove URL validation on Document for now, file documents do not point to valid HTTP URLs

 

------------------------------------------------------------
revno: 22126
committer: Morten Olav Hansen <morten@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-03-03 12:30:36 +0700
message:
  Remove URL validation on Document for now, file documents do not point to valid HTTP URLs
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/document/Document.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/document/Document.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/document/Document.java	2016-02-11 09:27:02 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/document/Document.java	2016-03-03 05:30:36 +0000
@@ -77,7 +77,7 @@
     @JsonProperty
     @JsonView( { DetailedView.class, ExportView.class } )
     @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
-    @Property( PropertyType.URL )
+    // @Property( PropertyType.URL )
     public String getUrl()
     {
         return url;