Topic
  • 2 replies
  • Latest Post - ‏2012-05-17T18:56:34Z by TerryOakley
TerryOakley
TerryOakley
5 Posts

Pinned topic Web Experience Factory/Portlet Factory adding %23 (#) to URL

‏2012-05-17T16:25:13Z |
Has anyone had any experience with Web Experience Factory or Portlet Factory adding a # (%23) to a URL it generates? This is related to code built in PF for Portal 6.0 that we are migrating to Portal 7.0 Importing the code into WEF and letting it do an auto-migration has progressed. But one issue we are seeing is in a URL that now seems to have a # added to it. See the error below:

"4/10/12 16:05:37:478 CDT 00000f67 MappingURLTre < com.ibm.wps.mappingurl.impl.MappingURLTreeModelImpl findByID RETURN com.ibm.wps.mappingurl.impl.ContextImpl@393e393e
Context(assignedObject: com.ibm.wps.mappingurl.impl.PortalURLImpl@c91e063b, children: null, Instance: com.ibm.wps.datastore.impl.URLMappingContextImpl@91703b84
objectID: [ObjectIDImpl 'ZC_B8TU1F7FU30I80ILQPTAAG3GT3', URL_MAPPING_CONTEXT, VP: 0, Domain: rel], DB: 0000-0B751FDE797E008980AC3A77A5E0807D
created: 1328705773416
lastModified: 1328705773439
label: ilink
parentObjectID: [ObjectIDImpl 'ZC_0000000000000000000000G0G0', URL_MAPPING_CONTEXT, VP: 0, Domain: rel], DB: 0000-00000000000000000000000000000410
resourceObjectID: [ObjectIDImpl 'ZU_B8TU1F7FU30I80ILQPTAAG3G34', PORTAL_URL, VP: 0, Domain: rel], DB: 0000-0B751FDE797E008980AC3A77A5E08083
additionalLabels: {}
4/10/12 16:05:37:478 CDT 00000f67 ContextImpl > com.ibm.wps.mappingurl.impl.ContextImpl getLabel ENTRY
4/10/12 16:05:37:478 CDT 00000f67 ContextImpl < com.ibm.wps.mappingurl.impl.ContextImpl getLabel RETURN ilink
4/10/12 16:05:37:479 CDT 00000f67 ExceptionLogg 2 com.ibm.wps.logging.ExceptionLogger logThrowable(th) Exception
com.ibm.wps.resolver.data.exceptions.URIProcessingIOException: EJCBD0021E: The URI spa:Z6_B8TU1F7FURUM30ID1DBMQE1KE3/html/%23Z7_B8TU1F7FURUM30ID1DBMQE1KU6] and parameters [] could not be processed: [EJPEI0088E: The resource Z7_B8TU1F7FURUM30ID1DBMQE1KU6] could not be found.
at com.ibm.wps.spa.data.ThemeDataSourceFactory.newSource(ThemeDataSourceFactory.java:257)
at com.ibm.wps.spa.data.PageDataSourceFactory.newSource(PageDataSourceFactory.java:1284)
at com.ibm.portal.resolver.helper.CORDataSourceFactoryEx.newSource(CORDataSourceFactoryEx.java:52)
at com.ibm.wps.resolver.servlet.ContentHandlerDownload.handleDownload(ContentHandlerDownload.java:1804)"
Thanks again for the help.
Updated on 2012-05-17T18:56:34Z at 2012-05-17T18:56:34Z by TerryOakley
  • DGawron
    DGawron
    76 Posts

    Re: Web Experience Factory/Portlet Factory adding %23 (#) to URL

    ‏2012-05-17T16:38:11Z  
    When running WEF on Portal most of the URLs are generated by Portal itself. The exceptions are Ajax URLs (for earlier versions of WEF). What version of WEF are you referring to? And how do you know this is a WEF URL? What's the actual URL string and what builder is causing it to be generated?
  • TerryOakley
    TerryOakley
    5 Posts

    Re: Web Experience Factory/Portlet Factory adding %23 (#) to URL

    ‏2012-05-17T18:56:34Z  
    • DGawron
    • ‏2012-05-17T16:38:11Z
    When running WEF on Portal most of the URLs are generated by Portal itself. The exceptions are Ajax URLs (for earlier versions of WEF). What version of WEF are you referring to? And how do you know this is a WEF URL? What's the actual URL string and what builder is causing it to be generated?
    Let me amend my statement a bit here. The problem occurs when, on a 'page' in the portlet (again, this is generated from Portlet Factory, so these are pages in the generated portlet and not Portal Pages.. sorry that I was not clear on this) when a certain button is clicked, a popup appears allowing the user to do some work. When the work is completed and the user clicks submit, the popup should disappear, and a different 'page' shoudl appear. All of this is driven by the attributes in the builder for the model for this portlet. We are running WEF 7.0 and using an app that was originally developed in 6.0 that is being migrated. So, based on the fact that we are navigating within the portlet, I am assuming that this is a url generated by WEF. Is my thinking incorrect, or are we (I am assuming that I am) missing some data that is crucial here? I am getting the other information now... be posting it soon.

    Thanks for the help,btw.