Disallow pointing to nonexistent buckets 76/25276/2
authorAleksander Zdyb <a.zdyb@partner.samsung.com>
Fri, 1 Aug 2014 07:45:16 +0000 (09:45 +0200)
committerZofia Abramowska <z.abramowska@samsung.com>
Fri, 1 Aug 2014 10:27:22 +0000 (03:27 -0700)
commit7155f2d34363ac078c093fad920adc1bdeb28390
tree45578b1cb7bc2c6d248aafe46b5d1a167f7cdc98
parent5b42c327b0f752ebc009ba866db6a7e639287b2a
Disallow pointing to nonexistent buckets

Storage::insertPolicies() now cares, if bucket pointed
by inserted policies exists.

Change-Id: I113de2ead6ae17d18eb9a5928ef0181bee2f67d3
src/service/storage/Storage.cpp
test/storage/storage/policies.cpp