Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delay sending event from app init to when they are needed #16638

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Aug 2, 2019

Found while working on #16525, this is how to reproduce:

  1. Have LDAP enabled and an attributre entered for the "$home" variable for the external storage
  2. Have an external storage configured using it
  3. Run occ files:scan for an affected user

Output Before:

…
        Folder  /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files_trashbin/files/Ogogogog.d1563983159
        Folder  /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files/Common Files (Samba4)/
…

Output now (see the personal files showing up):

…
        Folder  /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files_trashbin/files/Ogogogog.d1563983159
        Folder  /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files/Personal Files (Samba4)/
        File    /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files/Personal Files (Samba4)/Backtrace2.txt
        Folder  /62A5ABEE-0360-47BE-BD40-1E5E387686BA/files/Common Files (Samba4)/
…

No problem in the web interface.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented Aug 2, 2019

/backport to stable16

@blizzz
Copy link
Member Author

blizzz commented Aug 2, 2019

/backport to stable15

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no tests :S...
anyways I'd like @icewind1991 take on it then I'm fine

@MorrisJobke MorrisJobke mentioned this pull request Aug 8, 2019
28 tasks
Copy link
Member

@icewind1991 icewind1991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine

@rullzer rullzer merged commit 10e2edc into master Aug 8, 2019
@rullzer rullzer deleted the fix/noid/ldap-ext-storage-handler-loading-cli branch August 8, 2019 08:49
@backportbot-nextcloud
Copy link

backport to stable16 in #16695

@backportbot-nextcloud
Copy link

The backport to stable15 failed. Please do this backport manually.

@blizzz
Copy link
Member Author

blizzz commented Aug 9, 2019

The backport to stable15 failed. Please do this backport manually.

scanning with a sharepoint mount works from occ, and the config mount backends were not introduced to 15 → Skipping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants