C2 creates www folder on Run Layout. Endlessly.

Bugs will be moved here once resolved.

Post » Thu Sep 29, 2016 9:38 am

Problem Description
After you have exported with Cordova, Construct2 creates more www folder in the existing www folder on every "Run Layout".

Attach a Capx
Happens with all projects exported with Cordova.

Description of Capx
-

Steps to Reproduce Bug
  • Open or Create a project and hit Run Layout to open it in any browser
  • Export the project as Cordova
  • Don't close Construct2 but close the the Browser where the project run => !IMPORTANT!
  • Run Layout again and look in the Cordova export www folder.

Observed Result
On every Run Layout it creates a new www folder (sometimes more) in the existing www folder in the exported Cordova folder.

Expected Result
Don't create a www folder in a www folder in a www folder etc. Endlessly!

Affected Browsers
[list]
[*] Chrome: YES
[*] FireFox: YES
[*] Internet Explorer: YES

Operating System and Service Pack
Windows 10 / Latest Service Pack

Construct 2 Version ID
Construct 2 - 236 (64Bit)
B
7
Posts: 10
Reputation: 304

Post » Fri Oct 07, 2016 1:05 pm

Ha, that is a silly bug. I could reproduce, and found it's accidentally running some export code in preview mode which created the folder when you preview. Should be fixed in the next build, thanks for the report.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Fri Oct 07, 2016 1:16 pm

No problem... thanks for the fix. ;-)
B
7
Posts: 10
Reputation: 304


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests