Skip to content

Conversation

@vitormattos
Copy link

@vitormattos vitormattos commented Dec 14, 2020

Removed if(false) and fix wrong path when I change file in mapped (shared) folder

How to reproduce?

  • Loggin using user A
  • create a user called B
  • create a folder called test using user B
  • put a file with name example.csv to run the workflow script into folder test
  • goto settings and create a script flow with this settings:
    • file name: /^example.csv$/
    • script: "ls %f"
  • using user B, share the test folder to user A
  • with user A, change the file inside test folder
  • look the jobs in database to find the command

You will find in place of %f this text: "/var/www/html/data/B/test/B/test/example.csv" you need see "/var/www/html/data/B/test/example.csv"

@vitormattos vitormattos reopened this Dec 14, 2020
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos changed the title Bugfix: remove if false Bugfix: remove if false and fix full path Dec 14, 2020
@phreaker0
Copy link

tested this patch and works for me on v20.0.4, thx

@vitormattos vitormattos requested a review from blizzz December 30, 2020 16:39
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

thanks! :)

@blizzz blizzz merged commit 1ebc1ce into nextcloud:master Jan 14, 2021
@blizzz
Copy link
Member

blizzz commented Jan 14, 2021

/backport to stable20

@blizzz
Copy link
Member

blizzz commented Jan 14, 2021

/backport to stable19

@blizzz
Copy link
Member

blizzz commented Jan 14, 2021

/backport to stable18

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants