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.

Detect test file names and overwrite test/sandbox files

See original GitHub issue

We should look for:

If the filename matches, we could display an alert and upload overwriting these - would make testing uploads not require a load of deletion requests afterwards! At the moment it will increment the number at the end, i.e. JPG Test 2.jpg

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
misaochancommented, Mar 23, 2017

Oh, I forgot to mention that there is a little trick for testing the app without uploading. This works all the way up to the categories screen (just don’t select save, otherwise it will crash).

Comment out this line in UploadController.java: //uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);

If you choose to do this, PLEASE remember to revert it before submitting your PR. 😃

0reactions
neslihanturancommented, Oct 21, 2017

I agree @misaochan

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to check the result of an overwrite file request in Windows ...
I have code that creates a text file after asking one what name he/she would like to give the text file. The file...
Read more >
Configuration file: Files and tests - Wallaby.js
The files array property specifies an array of source files or file name patterns. In browser, the files will be loaded in the...
Read more >
ambitiousdaddy/testSandbox: Created with CodeSandbox - GitHub
For the project to build, these files must exist with exact filenames: ... You can delete or rename the other files. You may...
Read more >
Testing New Releases with Your Data - TechDocs
After you have copied all your production files to new empty test files, change the data set names from their production name values...
Read more >
Deploying Changes to a Salesforce Org | Ant Migration Tool ...
To connect to a sandbox instance, change this URL to test.salesforce.com . ... The Ant Migration Tool ignores files or folders with a...
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