Concessione : Fixed abstract management
This commit is contained in:
parent
eb2b549e0f
commit
577ee3d831
|
@ -405,6 +405,11 @@ public class ConcessioniMongoManager extends MongoManager{
|
||||||
sectionParent = ws .createFolder(new FolderOptions(
|
sectionParent = ws .createFolder(new FolderOptions(
|
||||||
"relazione","Relazione di scavo : "+content.getTitolo(),base));
|
"relazione","Relazione di scavo : "+content.getTitolo(),base));
|
||||||
|
|
||||||
|
else if(content instanceof AbstractRelazione)
|
||||||
|
sectionParent = ws .createFolder(new FolderOptions(
|
||||||
|
"abstract_relazione","Abstract relazione di scavo : "+content.getTitolo(),base));
|
||||||
|
|
||||||
|
|
||||||
else if (content instanceof UploadedImage)
|
else if (content instanceof UploadedImage)
|
||||||
sectionParent = ws .createFolder(new FolderOptions(
|
sectionParent = ws .createFolder(new FolderOptions(
|
||||||
"imgs","Immagini rappresentative : "+content.getTitolo(),base));
|
"imgs","Immagini rappresentative : "+content.getTitolo(),base));
|
||||||
|
|
|
@ -293,6 +293,8 @@ public class ConcessioniOverMongoTest extends BasicServiceTestUnit{
|
||||||
|
|
||||||
//Upload files
|
//Upload files
|
||||||
upload(storage,target,c.getMongo_id(),Paths.RELAZIONE,"relazione.pdf");
|
upload(storage,target,c.getMongo_id(),Paths.RELAZIONE,"relazione.pdf");
|
||||||
|
upload(storage,target,c.getMongo_id(),Paths.ABSTRACT_RELAZIONE,"relazione.pdf");
|
||||||
|
|
||||||
upload(storage,target,c.getMongo_id(),Paths.POSIZIONAMENTO,"pos.shp","pos.shx");
|
upload(storage,target,c.getMongo_id(),Paths.POSIZIONAMENTO,"pos.shp","pos.shx");
|
||||||
|
|
||||||
// Clash on workspaces
|
// Clash on workspaces
|
||||||
|
|
Loading…
Reference in New Issue