4 Replies Latest reply on Jan 31, 2008 3:52 AM by ameo

    Problem with Fixed Bug 2.6.3: On logout, redirect to the def

    ameo

      If I have declared a portal as default portal with the admin portlet and the portal have some pages and none of this pages is declared as default page. Then the logout throws a HTTP Status 404 ERROR. When I take the Make Default action in admin portlet it works. But I have to do this action after every redeploy.

      How can I declare a page as default page without using the admin portlet ? Because this configuration is deleted after deploying again. And I want to overwrite the portal if it exists.

      It would be great if there would be a property for the page by the object-descriptor.

        • 1. Re: Problem with Fixed Bug 2.6.3: On logout, redirect to the
          theute

          Anything you do through the admin portal is persisted, it seems that you let the -object.xml file overwrite the data (if-exists tag)

          • 2. Re: Problem with Fixed Bug 2.6.3: On logout, redirect to the
            ameo

            Right :-)

            It would be nice if the definition of a default page could be done by descriptor, because the using of the tag <if-exists>overwrite</if-exists> is relevant for
            that the values of resource-bundles are updated.

            Because of that I have to use the admin portlet to declare the default page after deploying.

            • 3. Re: Problem with Fixed Bug 2.6.3: On logout, redirect to the
              theute

               

               <!--
               | The default page name, if the property is not explicited then the default page name is "default"
               -->
               <property>
               <name>portal.defaultObjectName</name>
               <value>default</value>
               </property>
              



              • 4. Re: Problem with Fixed Bug 2.6.3: On logout, redirect to the
                ameo

                Thanks Thomas,

                and, could I do it like the same way to declare a default portal ? I tried the following description in my *object.xml

                 <deployments>
                 <deployment>
                 <context>
                 <context-name />
                 <property>
                 <name>portal.defaultObjectName</name>
                 <value>AMEO</value>
                 </property>
                 </context>
                 </deployment>
                 <deployment>
                 <parent-ref />
                 <if-exists>overwrite</if-exists>
                 <portal>
                 <portal-name>AMEO</portal-name>
                 <parent-ref>default</parent-ref>
                 <properties>
                 <property>
                 <name>portal.defaultObjectName</name>
                 <value>AMEO.STARTPAGE</value>
                 </property>
                 </properties>
                 <page>
                 <page-name>AMEO.STARTPAGE</page-name>
                 <display-name>ameos start page</display-name>
                 <if-exists>overwrite</if-exists>
                
                


                No Luck with it.