This project is read-only.


mdo:dnn('P.PortalID') broken


All of my calls to mdo:dnn('P.PortalID') return an empty string since I installed 2.0.6.
I fixed by changing the call to mdo:dnn('P.PortalID', 0) but this of course would work only on portal 0 ;-)


findy wrote Sep 10, 2010 at 7:15 PM

In 2.0.6 P.PortalID works fine for portals with ID > 0, but fails for Portal with ID = 0. I didn't notice that as far as all my production portals have ID > 0. So construction like mdo:dnn('P.PortalID', 0) will always get correct result :-)

Fixed in 2.0.7

trapias wrote Sep 10, 2010 at 10:26 PM

I'm curious: you say your production portals have ID > 0, may I ask you why? I normally use portal 0, the default.

findy wrote Sep 11, 2010 at 6:53 AM

I have one DNN installation with a number of sites. Portal 0 is a testbed, other portals are production sites. In future an automatic registration service will be provided and users will be able to create portals themselves. That's why I have 2 modes "regular module" and "super module", mdo:xml and mdo:sql etc.

wrote Feb 14, 2013 at 2:55 AM

wrote May 16, 2013 at 8:41 AM

wrote May 16, 2013 at 8:41 AM

wrote Jun 14, 2013 at 8:58 AM