IBM Support

JR53170: Search server does not recognize multiple organizations

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to reproduce:
    1. Create a user under a particular buyer organization
    2. Grant 'Organization Participant' role to that user under two
    or more additional buyer organizations
    3. If we send the contract id for one of these additional
    organizations where the user has 'Organization Participant'
    role, one of them works, while the other throws the following
    error:
    [4/21/15 10:42:00:034 CET] 00000022 EntitlementHe W
    com.ibm.commerce.foundation.internal.server.services.search.util
    .EntitlementHelper getContractFromRemoteOrLocal(SearchCriteria
    searchCriteria) No final usable
    contractjava.lang.RuntimeException: Invalid contractId: 12345
    was specified.
     at
    com.ibm.commerce.foundation.internal.server.services.search.util
    .StoreHelper.getUsableContractAsList(StoreHelper.java:1856)
     at
    com.ibm.commerce.foundation.internal.server.services.search.util
    .StoreHelper.getUsableContractAsString(StoreHelper.java:1726)
     at
    com.ibm.commerce.foundation.internal.server.services.search.util
    .EntitlementHelper.getContractFromRemoteOrLocal(EntitlementHelpe
    r.java:559)
     at
    com.ibm.commerce.foundation.internal.server.services.search.util
    .EntitlementHelper.getFinalUsableContract(EntitlementHelper.java
    :529)
     at
    com.ibm.commerce.foundation.server.services.search.expression.Ab
    stractSearchExpression.getFinalControlParameterValue(AbstractSea
    rchExpression.java:444)
     at
    com.ibm.commerce.foundation.server.services.rest.search.expressi
    on.solr.SolrRESTSearchProductEntitlementExpressionProvider.invok
    e(SolrRESTSearchProductEntitlementExpressionProvider.java:346)
     at
    com.ibm.commerce.foundation.server.services.rest.search.expressi
    on.solr.SolrRESTSearchExpressionProvider.invoke(SolrRESTSearchEx
    pressionProvider.java:282)
     at
    com.ibm.commerce.foundation.server.services.search.SearchService
    Facade.invokeSearchExpressionProvider(SearchServiceFacade.java:1
    57)
     at
    com.ibm.commerce.foundation.server.services.search.SearchService
    Facade.performSearch(SearchServiceFacade.java:191)
    

Local fix

Problem summary

  • USERS AFFECTED:
    When one user plays "Organization participant" role on multiple
    organization, search sever could only recognize one
    organization.
    
    PROBLEM ABSTRACT:
    Search server does not recognize multiple organizations
    
    BUSINESS IMPACT:
    When one user plays "Organization participant" role on multiple
    organization, search sever could only recognize one
    organization.
    
    RECOMMENDATION:
    

Problem conclusion

  • To allow multiple organization could be used during contract
    validation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53170

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / Installability

  • Submitted date

    2015-04-21

  • Closed date

    2015-06-22

  • Last modified date

    2015-06-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021