commit/galaxy-central: greg: Do not assume that a library_dataset has a library_dataset_dataset_association when checking to see if a folder is public.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/0ffa5a6d8215/ changeset: 0ffa5a6d8215 user: greg date: 2011-06-15 17:37:21 summary: Do not assume that a library_dataset has a library_dataset_dataset_association when checking to see if a folder is public. affected #: 1 file (51 bytes) --- a/lib/galaxy/security/__init__.py Tue Jun 14 16:42:11 2011 -0400 +++ b/lib/galaxy/security/__init__.py Wed Jun 15 11:37:21 2011 -0400 @@ -649,7 +649,8 @@ if not self.folder_is_public( sub_folder ): return False for library_dataset in folder.datasets: - if not self.dataset_is_public( library_dataset.library_dataset_dataset_association.dataset ): + ldda = library_dataset.library_dataset_dataset_association + if ldda and ldda.dataset and not self.dataset_is_public( ldda.dataset ): return False return True def make_folder_public( self, folder ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket