archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
152 stars 52 forks source link

Could not set password #160

Closed Droppers closed 3 years ago

Droppers commented 3 years ago

Version of Archi, Operating System

Windows 10

Version of this plug-in

0.7.0 (Archi 4.8)

Any other plug-ins installed?

Expected Behaviour

Maybe this is expected behaviour and there is a misunderstanding, but I would not expect this kind of error without any further explanation on what to do next.

Actual Behaviour

This error message appears after adding an existing remote model and configuring a password for the first time. image

Also, asking for a password has caused confusion for me (and another user), the dialog does not explain why and for what purpose this password is being set, which results in users having to figure it out by themselves, or read the wiki.

Steps to Reproduce the Behaviour

  1. Add a new remote model to the workspace with a freshly installed plugin
  2. Enter a new password (since it has not been set before)
  3. "File not found" error appears
Phillipus commented 3 years ago

It seems that the path does not exist yet. Please create the empty folder in that path first and try again. I'll check to see if this is something that coArchi needs to check and put out a fix if it is.

Also, asking for a password has caused confusion for me (and another user), the dialog does not explain why and for what purpose this password is being set, which results in users having to figure it out by themselves, or read the wiki.

The purpose of the primary password is explained here https://github.com/archimatetool/archi-modelrepository-plugin/wiki/Setup-and-Configuration, perhaps too much info to squeeze into the rubric of a dialog box.

Most information for using coArchi is in the wiki and so at least a little effort is required by the user (it's free and open source software, so you can add to the wiki if you feel it's not clear).

Droppers commented 3 years ago

As an update, after closing the dialog I could add a remote model without configuring a password, after restarting Archi it asks me to configure a new password again.

This help button in the bottom left of the dialog does not appear to do anything, is that expected? image

Phillipus commented 3 years ago

You need to provide the password for the remote repository. If that password is to be stored it needs to be secured by a primary secure key.

This help button in the bottom left of the dialog does not appear to do anything, is that expected?

Yes, that is expected because there are no help files for coArchi. All info is in the wiki. Feel free to contribute to the wiki if you feel that something could be improved.

Phillipus commented 3 years ago

Thanks for reporting the issue for the primary password not being saved if the parent folder does not exist. I have fixed this now and there's a new version of coArchi 0.7.1 available - https://www.archimatetool.com/plugins#coArchi

Note - much of coArchi is still a "work in progress" so there are many things that do need more development. There are also no shipped help files as it's easier to maintain the info on a wiki. We have started work on a new version of coArchi 2 (https://github.com/archimatetool/archi-modelrepository-plugin2) where we hope to improve all aspects of the plug-in.

Phillipus commented 3 years ago

Closing this. Thanks, Phil for the fix.

Droppers commented 3 years ago

Thanks for the quick fix!