Closed dinya closed 6 years ago
It's ok now. I use dmsf from master branch (1.5.9) and redmine_drawio from develop branch
@mikitex70
I have the same problem with redmine_dmsf
v1.6.1 (current master @ 2018-04-20) and redmine_drawio
v0.8.1 (current master @ 2018-04-20).
I think https://github.com/mikitex70/redmine_drawio/blob/master/lib/redmine_drawio/macros.rb#L242
saveName = "#{project.name} -#{project.id}-/#{diagramName}"
should be
saveName = "#{project.name} #{project.id}/#{diagramName}"
(without -
for project ID).
Maybe redmine_drawio
should check redmine_dmsf
version to save backward compatibility.
I've fixed the code in the develop
branch.
I've checked the path syntax in the DMSF
sources, it seems to work but I've noted strange behaviours in the DMSF webdav if projects names contains spaces and the Use project name for project folder
option is set (unable to save, webdav directory non coherent with projects, ...).
If the webdav is really broken I cannot be sure to be able to save the diagrams.
Git it a try, if possible using projects with and without spaces, and with and without the previous mentioned DMSF
flag. Try also to navigate to http://your-redmine/dmsf/webdav
and check the directory listing.
I've checked the path syntax in the DMSF sources, it seems to work but I've noted strange behaviours in the DMSF webdav if projects names contains spaces and the Use project name for project folder option is set (unable to save, webdav directory non coherent with projects, ...). If the webdav is really broken I cannot be sure to be able to save the diagrams.
I confirm the problem. With this checkbox activated and whitespaces in the project name the saving is not working.
Maybe report the issue to DMSF project?
I've open the issue danmunn/redmine_dmsf#851. In the meantime I keep this issue open for some more time, to be able to confirm that all is working fine.
Fix released in version v0.8.2
, closing issue.
For to get all working we must wait the DMSF fix.
If I enable
then redmine_drawio raises exception:
Redmine installation
with