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

Local file management with roots not syncing #70

Open
VanPuyveldeKevin opened this issue Sep 1, 2018 · 1 comment
Open

Local file management with roots not syncing #70

VanPuyveldeKevin opened this issue Sep 1, 2018 · 1 comment
Assignees
Labels

Comments

@VanPuyveldeKevin
Copy link

VanPuyveldeKevin commented Sep 1, 2018

Functional Issue:
The feature for updating the CRM folder with files contained in a local HDD folder has apparently been removed and so far, no valid successor feature seems to be available.

There's the download folder & replace stuff in that folder feature, but this is quite a productivity loss so far as it doesn't provide options to replace the old feature which just asked me to point it to a folder and it updated the CRM with those files.

Now ... I need to first download everything (into a temp location), then replace all the files in there with files from the source control folder (local GIT repo or something), then update each and every subfolder manually to update pending changes, only then can I try to update CRM.

And during the whole process, it seems there are some crashes mixed in as well.

Also, I can't directly link it to my source control folder either, as it would overwrite everything there (destroying the very content which we're trying to upload of course).

So functionally, to get it to be a proper replacement for the old, removed feature ... I would say ...
-> Add a 'link to folder' menu item, then we can trigger the update from local and commit the pending changes

Technical issue:
So ... try to use the local sync feature then as a replacement ->

Take the following structure:

  • apps
    • app1
      • control.html
    • app2
      • control.html
  • scripts
    • forms
      • script1.js
      • script2.js
  • images
    ...

You see we have varous 'roots'. Possibly different prefixes/etc. But that shouldn't matter, just ... multiple root folders.

Anyway ... if I select 'scripts' (all scripts) and then 'Save selected with roots to local', it downloads all those files and creates the 'scripts' folder locally with it's content. So far so good.

However, simply trying to update it (immediately, no other actions needed) fails with the 'not synced locally' error. Despite just having downloaded it 2 seconds ago (should've been synced right?).

Apparently the child folders have a link somehow, but now I need to manually go through ALL the subfolders and click 'check for update' just to be able to get my files into the pending changes for update.

UPDATE: Apparently not ALL subfolders are accepted as 'synced'.
I'm starting to think that folders with only subfolders are erroneously considered as not synced.
Which in this case means I need to manually refresh each and every 'end leaf' in the treeview if it's a multi-folder structure (in reality for example, the apps folder which contains several subfolders before ending up with web resource container folders).

During the testing of this feature to try and get it working I came across several critical uncaught exceptions too:
#68
#69

@MscrmTools MscrmTools added the bug label Sep 11, 2018
@MscrmTools MscrmTools self-assigned this Sep 11, 2018
@MscrmTools
Copy link
Owner

@VanPuyveldeKevin Sorry, I must admit I never reviewed your issues seriously. Can you tell me if the issue still occurs on latest version?

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

No branches or pull requests

2 participants