You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "MATSUDA Masaaki (JIRA)" <je...@jakarta.apache.org> on 2004/12/14 03:12:00 UTC

[jira] Created: (JS1-529) Cannot browse specified tab or menu URL

Cannot browse specified tab or menu URL
---------------------------------------

         Key: JS1-529
         URL: http://nagoya.apache.org/jira/browse/JS1-529
     Project: Jetspeed
        Type: Bug
  Components: Miscellaneous  
    Versions: 1.5, 1.6-dev    
 Environment: Perhaps any.
    Reporter: MATSUDA Masaaki
    Priority: Critical


Cannot browse specified tab or menu URL.

For example,

1. First, visit Jetspeed site.
  http://www.bluesunrise.com/jetspeed/
2. Open RSS tab.
3. Open xmlhack tab that is child tab of RSS tab.
4. Copy URL shown browser address bar.
  http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
5. Move to another tab, or open new browser.
6. Paste copied URL into browser's address bar.
7. You will know that xmlhack page could not browse.

I tried another situation, tab in menu or so on 
but result is the same.

I noticed that this is because Google can not find 
contents in the site using Jetspeed. Sad...



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Closed: (JS1-529) Cannot browse specified tab or menu URL

Posted by "David Sean Taylor (JIRA)" <je...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JS1-529?page=history ]
     
David Sean Taylor closed JS1-529:
---------------------------------

    Resolution: Incomplete

This is a known issue due to the tabs state being stored in the session.
Certainly not a critical error as its been there forever.
Im closing this one aa incomplete as there is no patch provided.

> Cannot browse specified tab or menu URL
> ---------------------------------------
>
>          Key: JS1-529
>          URL: http://nagoya.apache.org/jira/browse/JS1-529
>      Project: Jetspeed
>         Type: Bug
>   Components: Miscellaneous
>     Versions: 1.5, 1.6-dev
>  Environment: Perhaps any.
>     Reporter: MATSUDA Masaaki
>     Priority: Critical

>
> Cannot browse specified tab or menu URL.
> For example,
> 1. First, visit Jetspeed site.
>   http://www.bluesunrise.com/jetspeed/
> 2. Open RSS tab.
> 3. Open xmlhack tab that is child tab of RSS tab.
> 4. Copy URL shown browser address bar.
>   http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
> 5. Move to another tab, or open new browser.
> 6. Paste copied URL into browser's address bar.
> 7. You will know that xmlhack page could not browse.
> I tried another situation, tab in menu or so on 
> but result is the same.
> I noticed that this is because Google can not find 
> contents in the site using Jetspeed. Sad...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Commented: (JS1-529) Cannot browse specified tab or menu URL

Posted by "MATSUDA Masaaki (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS1-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471176 ] 

MATSUDA Masaaki commented on JS1-529:
-------------------------------------

I could not attach the file because this issue is already closed.
You can download this patch from below.

http://lists.sourceforge.jp/mailman/archives/jetspeed-japan-dev/attachments/20070202/36bc697d/VelocityPanedPortletController.java.obj

* Please save file extension from ".obj" to ".patch".
* VelocityPanedPortletController.java.obj  -> VelocityPanedPortletController.java.patch

Thanks.


> Cannot browse specified tab or menu URL
> ---------------------------------------
>
>                 Key: JS1-529
>                 URL: https://issues.apache.org/jira/browse/JS1-529
>             Project: Jetspeed
>          Issue Type: Bug
>          Components: Miscellaneous
>    Affects Versions: 1.5, 1.6-dev
>         Environment: Perhaps any.
>            Reporter: MATSUDA Masaaki
>            Priority: Critical
>
> Cannot browse specified tab or menu URL.
> For example,
> 1. First, visit Jetspeed site.
>   http://www.bluesunrise.com/jetspeed/
> 2. Open RSS tab.
> 3. Open xmlhack tab that is child tab of RSS tab.
> 4. Copy URL shown browser address bar.
>   http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
> 5. Move to another tab, or open new browser.
> 6. Paste copied URL into browser's address bar.
> 7. You will know that xmlhack page could not browse.
> I tried another situation, tab in menu or so on 
> but result is the same.
> I noticed that this is because Google can not find 
> contents in the site using Jetspeed. Sad...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS1-529) Cannot browse specified tab or menu URL

Posted by "MATSUDA Masaaki (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS1-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469508 ] 

MATSUDA Masaaki commented on JS1-529:
-------------------------------------

Index: VelocityPanedPortletController.java
===================================================================
--- VelocityPanedPortletController.java	(revision 501853)
+++ VelocityPanedPortletController.java	(working copy)
@@ -21,6 +21,8 @@
 import org.apache.turbine.util.RunData;
 
 // Jetspeed stuff
+import org.apache.jetspeed.om.profile.Portlets;
+import org.apache.jetspeed.om.profile.Profile;
 import org.apache.jetspeed.portal.Portlet;
 import org.apache.jetspeed.portal.PanedPortletController;
 import org.apache.jetspeed.util.template.JetspeedLink;
@@ -120,6 +122,60 @@
                 return true;
             }
 
+            Profile profile = ((JetspeedRunData)rundata).getProfile();
+            boolean paneNotFound = false;
+            // check if the target pane(peid) is existing under the current pane(p.getID()).
+            boolean includedSubPane = false;
+            String searchPortletId = peid;
+            do
+            {
+                Portlets portlets = profile.getDocument().getPortletsById(searchPortletId);
+                searchPortletId = null;
+                if (portlets != null)
+                {
+                    Portlets parentPortlets = portlets.getParentPortlets();
+                    if (parentPortlets != null)
+                    {
+                        searchPortletId = parentPortlets.getId();
+                        if (searchPortletId.equals(p.getID()))
+                        {
+                            subPane = p.getID();
+                            includedSubPane = true;
+                            break;
+                        }
+                    }
+                }
+                else
+                {
+                    paneNotFound = true;
+                }
+            }
+            while (searchPortletId != null);
+
+            // check if the target pane(peid) is existing over the current pane(p.getID()).
+            boolean includingSubPane = false;
+            searchPortletId = p.getID();
+            do
+            {
+                Portlets portlets = profile.getDocument().getPortletsById(searchPortletId);
+                searchPortletId = null;
+                if (portlets != null)
+                {
+                    Portlets parentPortlets = portlets.getParentPortlets();
+                    if (parentPortlets != null )
+                    {
+                        searchPortletId = parentPortlets.getId();
+                        if (searchPortletId.equals(peid))
+                        {
+                            includingSubPane = true;
+                            break;
+                        }
+                    }
+                }
+            }
+            while (searchPortletId != null);
+
+
             // is this the sub pane?
             if (subPane!=null && p.getID().equals(subPane))
             {
@@ -148,7 +204,18 @@
                 }
                 else
                 {
-                    return (p.getID().equals(last));
+                    if (p.getID().equals(last))
+                    {
+                        if (includingSubPane)
+                        {
+                            return true;
+                        }
+                        else if (paneNotFound)
+                        {
+                            return true;
+                        }
+                    }
+                    return false;
                 }
             }
             else


> Cannot browse specified tab or menu URL
> ---------------------------------------
>
>                 Key: JS1-529
>                 URL: https://issues.apache.org/jira/browse/JS1-529
>             Project: Jetspeed
>          Issue Type: Bug
>          Components: Miscellaneous
>    Affects Versions: 1.5, 1.6-dev
>         Environment: Perhaps any.
>            Reporter: MATSUDA Masaaki
>            Priority: Critical
>
> Cannot browse specified tab or menu URL.
> For example,
> 1. First, visit Jetspeed site.
>   http://www.bluesunrise.com/jetspeed/
> 2. Open RSS tab.
> 3. Open xmlhack tab that is child tab of RSS tab.
> 4. Copy URL shown browser address bar.
>   http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
> 5. Move to another tab, or open new browser.
> 6. Paste copied URL into browser's address bar.
> 7. You will know that xmlhack page could not browse.
> I tried another situation, tab in menu or so on 
> but result is the same.
> I noticed that this is because Google can not find 
> contents in the site using Jetspeed. Sad...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS1-529) Cannot browse specified tab or menu URL

Posted by "MATSUDA Masaaki (JIRA)" <je...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JS1-529?page=comments#action_56628 ]
     
MATSUDA Masaaki commented on JS1-529:
-------------------------------------

Jetspeed 1.4 has the same problem...


> Cannot browse specified tab or menu URL
> ---------------------------------------
>
>          Key: JS1-529
>          URL: http://nagoya.apache.org/jira/browse/JS1-529
>      Project: Jetspeed
>         Type: Bug
>   Components: Miscellaneous
>     Versions: 1.5, 1.6-dev
>  Environment: Perhaps any.
>     Reporter: MATSUDA Masaaki
>     Priority: Critical

>
> Cannot browse specified tab or menu URL.
> For example,
> 1. First, visit Jetspeed site.
>   http://www.bluesunrise.com/jetspeed/
> 2. Open RSS tab.
> 3. Open xmlhack tab that is child tab of RSS tab.
> 4. Copy URL shown browser address bar.
>   http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
> 5. Move to another tab, or open new browser.
> 6. Paste copied URL into browser's address bar.
> 7. You will know that xmlhack page could not browse.
> I tried another situation, tab in menu or so on 
> but result is the same.
> I noticed that this is because Google can not find 
> contents in the site using Jetspeed. Sad...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


[jira] Commented: (JS1-529) Cannot browse specified tab or menu URL

Posted by "MATSUDA Masaaki (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS1-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469507 ] 

MATSUDA Masaaki commented on JS1-529:
-------------------------------------

I fixed this problem. Please check the attached patch.


After this patch is applied, 

* Direct URL link to the page in Jetspeed-1 will work properly even if the page 
  is deep in the hierarchical structure of tabs/menus. Also you can add URL to 
  bookmark or open URL from bookmark.

* The internet full text search engines such as Google, Yahoo, etc  will crawl 
  all of the site contents properly.


Thanks to APPLIED CORPORATION(my office) for allowing the patch to be public.


Thank you.



> Cannot browse specified tab or menu URL
> ---------------------------------------
>
>                 Key: JS1-529
>                 URL: https://issues.apache.org/jira/browse/JS1-529
>             Project: Jetspeed
>          Issue Type: Bug
>          Components: Miscellaneous
>    Affects Versions: 1.5, 1.6-dev
>         Environment: Perhaps any.
>            Reporter: MATSUDA Masaaki
>            Priority: Critical
>
> Cannot browse specified tab or menu URL.
> For example,
> 1. First, visit Jetspeed site.
>   http://www.bluesunrise.com/jetspeed/
> 2. Open RSS tab.
> 3. Open xmlhack tab that is child tab of RSS tab.
> 4. Copy URL shown browser address bar.
>   http://www.bluesunrise.com/jetspeed/portal/media-type/html/user/anon/page/default.psml/js_pane/113
> 5. Move to another tab, or open new browser.
> 6. Paste copied URL into browser's address bar.
> 7. You will know that xmlhack page could not browse.
> I tried another situation, tab in menu or so on 
> but result is the same.
> I noticed that this is because Google can not find 
> contents in the site using Jetspeed. Sad...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org