does having similar controller names or app folder names cause conflict in web2py?

30 views
Skip to first unread message

Rahul

unread,
Sep 21, 2019, 8:09:36 AM9/21/19
to web2py-users

Hello All,
       Will having a structure like below cause conflicts with web2py controllers or applications ? I've found it does and when removed it removes a few issues automatically.



1] Controllers -

 Example we have default.py in controllers folder along with default_01.py .. default_02.py

2] Applications - Multple applications in web2py Applications folder

Example app1, app1_001, app1_002

Regards,

Rahul

Massimo Di Pierro

unread,
Sep 22, 2019, 6:45:15 AM9/22/19
to web2py-users
I do not see any problem with that

Rahul Dhakate

unread,
Sep 22, 2019, 10:25:52 AM9/22/19
to web...@googlegroups.com
Hi Massimo,
         I appreciate your reply. I had an application where in I had two controllers one called as default.py and the other called as default_0001.py in the same folder. I experienced strange issues which were fixed in the new default.py but were still there reflecting in the application. When I remove the back up default_0001.py the issues were fixed automatically. Due to this I derived that there might be issues with having the same controller name. Sort of. So now I have deleted the back up files and it worked fine. 
I will still investigate this and get back with my findings.


Regards,

Rahul

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/So2bg9Zd9iA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/8220d18c-d9bf-4b4c-a5ec-9f2238c0161b%40googlegroups.com.

Rahul Dhakate

unread,
Oct 9, 2019, 10:08:48 AM10/9/19
to web...@googlegroups.com
All, 
     I tested this scenario can now confirm that it does not have an impact for the issue I mentioned below. Thank you.

Rahul 
Reply all
Reply to author
Forward
0 new messages