question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[delete-user-data] Paths aren't recognized when there is a space after a comma

See original GitHub issue

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

  • Extension name: delete-user-data
  • Extension version: 0.1.13
  • Configuration values (redact info where appropriate):
    • Cloud Storage paths: {DEFAULT}/files/{UID},{DEFAULT}/profile_images/{UID}.png

[REQUIRED] Step 3: Describe the problem

I checked this issue, I had the same problem and changed {DEFAULT} to project-id.appspot.com. This didn’t help.

The problem is that folder with UID at {DEFAULT}/files/{UID} will be deleted, but UID.png at {DEFAULT}/profile_images/{UID}.png won’t be recognized and in the log it says the path is not found.

Steps to reproduce:

What happened? How can we make the problem occur? I noticed if we have space after , between paths it fails. For example:

{DEFAULT}/a/{UID}, {DEFAULT}/b/{UID}.png, {DEFAULT}/c/{UID}

a will be OK, but b and c will not be found by the extension.

When I removed the space after , it is OK and a, b and c are recognized by the extension.

Expected result

Maybe it would be better if the spaces were ignored or at least mentioned in the description.

Actual result

Comma-separated paths will not be recognized correctly if there is a space after them.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ankit-programmercommented, Jul 20, 2022

@dackers86 Please take a look at PR #1056

0reactions
dackers86commented, Dec 15, 2022

Adding to blocked based on a potential richer params option in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

delete-user-data doesn't recognize {DEFAULT} Storage bucket
Configure delete-user-data 's Storage cleanup with the recommended ... Paths aren't recognized when there is a space after a comma #1055.
Read more >
Postgres "psql not recognized as an internal or external ...
Just an update because I was trying it on Windows 10 you do need to set the path to the following: ;C:\Program Files\PostgreSQL\14\bin ......
Read more >
Powerpoint Online Deleting Spaces in My notes
Powerpoint Online is automatically deleting spaces after commas or before parentheses (probably other characters as well) in the Notes ...
Read more >
User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings; On macOS -...
Read more >
Start the emulator from the command line - Android Developers
To clear this data, start the emulator with the -wipe-data option or wipe the data in the AVD Manager. For more information about...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found