Developer forum

Forum » Dynamicweb 10 » Cannot create new file in folder

Cannot create new file in folder

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Steps to reprocuce

  1. Under Digital Assets, create a new folder called Stuff
  2. Refresh the tree
  3. On the Stuff folder, click the ellipses and choose New file
  4. Enter Test.cshtml as the name
  5. Click OK

Actual results:

                An error message appears: {"status":"error","message":"Could not find a part of the path 'D:\\Repos\\New\\TestStuff\\dw10\\wwwroot\\FilesStuff\\Test.cshtml'.","exception":null,"model":null,"modelIdentifier":null,"resultActions":[]}

Looks like a mapping issue as there should be an additional backslash between Files and Stuff in the folder name.

Expected results

The file gets created successfully.


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Cannot reproduce the issue on last 10 admin version, see attachment, pls.

BR, Oleg QA

2022-11-02_10-21-40.png
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

It's still breaking for me but with a different error. Could it be database schema related?

 

Animation.gif
 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I'm able to reproduce the issue as well now, task 10735 has been created to fix. Thanks.

BR, Oleg 

 

You must be logged in to post in the forum