tel8618217223380 / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

Demo's don't work out of box #476

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download dist zip from web site
2. run 'php -S 127.1:8000' from ./demos
3. Access misc demos, such as 'blog' and 'northwind-db' will produce an error.

What is the expected output? What do you see instead?
I expected to see the demonstration app, but instead saw:

TConfigurationException

Description
Application module ID '_module0' is not unique.

What version of the product are you using? On what operating system?
Prado-3.2.2.r3297 via PHP 5.4.16 on Win8 

Please provide any additional information below.
One of two things will fix this:
1) Adjust the corresponding Application.xml:/modules//module[@id] to always be 
a unique value
2) Fix the logic in TApplication::applyConfiguration() to correctly auto assign 
id's to modules where unspecified. This bug (if it is one) appears to be 
located in lines 1023-1027.

I've also attached a screencap. Please let me know if you need any additional 
information. Thanks for your time.

Original issue reported on code.google.com by feamsr00 on 31 Aug 2013 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r3317, thank you

Original comment by ctrlal...@gmail.com on 3 Sep 2013 at 10:19