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

Constant Re-upload/update of Objects and Images #628

Open
shopisto opened this issue Sep 30, 2022 · 1 comment
Open

Constant Re-upload/update of Objects and Images #628

shopisto opened this issue Sep 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@shopisto
Copy link

Your environment

OS : macOS Monterey 12.6
Node.js version : v16.16.0
suitecloud-cli version : 1.6.1
Terminal/CMD tool : VS Code Terminal

Describe the bug

When running suitecloud project:deploy, the tool will only deploy script files which have differences with the source account, which is great.

However, it seems like objects are always updated regardless if there are no changes? Is that intended? I would imagine as time goes on and you have hundreds of objects, frields, saved searches they will be deployed/updated by every deployment even though there are no changes to them?

Additionally, there are Images files (.png & .gif) that will get uploaded every deployment as well. Is this also normal?

To Reproduce

Steps to reproduce the behavior:

  1. Run suitecloud project:deploy --dryrun

Actual Behavior

If applicable, add screenshots to help explain your problem.

DEPLOYMENT PREVIEW


Upload file -- ~/FileCabinet/SuiteScripts/images/test-image.png
Upload file -- ~/FileCabinet/SuiteScripts/images/test-gif.gif
Update object -- customsearch_test_emp_search (savedsearch)

Expected Behavior

My expected behavior would be to only upload or update a file if there are changes against the source system, similar to how it is done with javascript files.

Additional context

Add any other context about the problem here.

@shopisto shopisto added the bug Something isn't working label Sep 30, 2022
@alii-gator
Copy link
Member

@shopisto The custom objects you are refereeing to are only updated if there is a change detected.
Can you please check if against the latest version you are still experiencing the same behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants