OUD Plugin API: changing ModifyRequest modifications

Hi
I have developed a plugin for OUD 11gR2 PS2 using the plugin API.
The plugin intercepts MOD requests and edits the list of Modifications.
It does this by implementing the following in handleModify(requestContext, request, resultHandler):
Obtains the List of Modifications via List<Modification> mods = request.getModifications()
Creates a new ModifyRequest via newModifyRequest = requestContext.getRequestBuilder(false).newModifyRequest(request.getName())
Loops through the List of Modifications and adds them to the new ModifyRequest via newModifyRequest.addModification(mods.get(i))
During the loop, an extra Modification is created and added to the newModifyRequest (this has to be placed in a specific location within the list of Modifications)
Calls super.handleModify(requestContext, newModifyRequest, resultHandler)
When I install the plugin and perform and ldapmodify, the plugin executes the modify ok but does not finish cleanly. The ldapmodify command shows:
MODIFY operation failed
Result Code:  80 (Other)
Additional Information:  An internal error has occurred within the Directory Server while processing the operation
Questions:
a. Does the API support what I am trying to do?
b. Why would I get an error even though the modify request is processing correctly?
c. Is there some debugging that I can switch on to see what is going on in the API/engine?
Thanks
Richard

Hi Richard,
What you want to do is definitely a supported use case.
Looks like the problem occurs during result processing.
Have you tried to replace super.handleModify() in step 6 by
// Forward the request to the next plug-in.
  this.getConfiguration()
  .getFirstNextPlugin()
  .handleModify(requestContext,newModifyRequest,resultHandler);
Note: using wrappers as described at Using the OUD Plug-In API Reference - 11g Release 2 (11.1.2) instead of rebuilding the request from scratch might be more simple in your case (no need to add again every sub object, including LDAP controls if any)
Sylvain
When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

Similar Messages

  • [svn:osmf:] 13236: Additional updates for ViewTrait API changes.

    Revision: 13236
    Revision: 13236
    Author:   [email protected]
    Date:     2009-12-30 23:19:55 -0800 (Wed, 30 Dec 2009)
    Log Message:
    Additional updates for ViewTrait API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/posterframe/RTMPPosterF rameElement.as
        osmf/trunk/apps/samples/framework/HTMLGatewaySample/HTMLGatewaySample.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld4.as
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeMediaTraitFactory.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/ListenerProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/swf/SWFElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/DisplayObjectTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/MediaTraitBase.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/MediaTraitType.as
        osmf/trunk/framework/MediaFramework/org/osmf/utils/OSMFStrings.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElementWithD isplayObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithDis playObjectTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/gateways/TestRegionGateway.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestMediaElementLayoutTarget. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamDisplayObjectTrait. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/content/TestContentElementInt egration.as
        osmf/trunk/plugins/MASTPlugin/org/osmf/mast/adapter/MASTAdapter.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelDisplayObjectTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/SerialDisplayObjectTrait.as
    Removed Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/SerialViewTrait.as

    In reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
    Mark

  • List of API changes in beta 7

    can anybody tell the API modifications/changes brought in beta 7?

    iPhone OS 2.0 Beta 6 to Beta 7 API Changes
    AddressBook
    No changes
    AddressBookUI
    No changes
    AudioToolbox
    AudioServices.h
    Added kAudioSessionNotActiveError
    AudioUnit
    No changes
    CFNetwork
    No changes
    CoreAudio
    CoreAudioTypes.h
    Added kAudioFormatFlagsAudioUnitCanonical
    CoreFoundation
    No changes
    CoreGraphics
    No changes
    CoreLocation
    No changes
    Foundation
    No changes
    MediaPlayer
    No changes
    OpenAL
    No changes
    OpenGLES
    No changes
    QuartzCore
    No changes
    Security
    No changes
    SystemConfiguration
    No changes
    UIKit
    No changes

  • [svn:osmf:] 14103: Integrate with API change.

    Revision: 14103
    Revision: 14103
    Author:   [email protected]
    Date:     2010-02-10 11:00:19 -0800 (Wed, 10 Feb 2010)
    Log Message:
    Integrate with API change.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as

    To repeat myself from here http://forums.adobe.com/message/3177311#3177311 ...
    As your on windows I'd advise the following setup
    TortoiseSVN or GIT (your choice)
    This will integrate TortoiseSVN/GIT into Windows Explorer; you should install BOTH the 32bit and 64bit versions; the 64bit version is needed for windows explorer to display the menus the 32bit one is needed to use it within your 32bit applications (most of Adobe Suite is 32bit).
    TortoiseSVN - http://tortoisesvn.net/downloads
    TortoiseGIT  - http://code.google.com/p/tortoisegit/downloads/list?can=3&q=&colspec=Filename+Summary+Uplo aded+Size+DownloadCount
    Dreamweaver Extension to Add GIT or SVN Context Menus (right click menus)
    GIT Weaver
    http://github.com/ChrisMcKee/gitweaver/#readme  >> Download ( http://github.com/ChrisMcKee/gitweaver/downloads )
    SVN Weaver
    http://github.com/ChrisMcKee/svnweaver#readme  >> Download ( http://github.com/ChrisMcKee/svnweaver/downloads )
    Issue Tracking / Project Management
    If you want to start up with issue logging/project management I cant advise Redmine enough theres even a "Windows Stack" so you can install it as if you were installing MSN http://bitnami.org/stack/redmine
    and this integrates then with TortoiseSVN/GIT using a plugin http://code.google.com/p/redmine-projects/

  • Opening Nested folders changes the modification date of the parent folder

    This has been bugging me for some time and is very odd...
    If I open a folder that is nested inside another folder it changes the modification date of the parent folder to today's date and time, even though I have not made any changes to the folders contents, or even viewed any of the contents.
    I have posted this question on other forums and no one has been able to reproduce this on their systems.
    I have multiple macs, using a combination of 10.4 and 10.5, connected via an AEBS and this only seems to occur when I am connected to my network.
    All machines have been setup using a migration from a previous machine going way back to my original OSX installation and various iterations of Powerbooks, iBooks, iMacs, Minis, MacBooks etc...
    Can anyone throw any light as to what is causing this?
    Many thanks,

    Hi Ben,
    I have multiple macs, using a combination of 10.4 and 10.5, connected via an AEBS and this only seems to occur when I am connected to my network.
    I'm not sure about this, but I think that when it happens that network time and date is automatically being set.
    Dimaxum

  • [svn:bz-trunk] 20695: Tomcat 7 Valve/ LoginCommand changes due to the ValveBase API and Realm API change.

    Revision: 20695
    Revision: 20695
    Author:   [email protected]
    Date:     2011-03-08 13:32:45 -0800 (Tue, 08 Mar 2011)
    Log Message:
    Tomcat 7 Valve/LoginCommand changes due to the ValveBase API and Realm API change.
    rename valve name as Tomcat7Valve
    will need to merge the build.xml after the build machine can fork a JDK 1.6 build
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/opt/build.xml
    Added Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java
    Removed Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/TomcatValve708.java

  • [svn:bz-trunk] 19459: Security API change for auth sync sample/ concept to work in WebLogic, WebSphere.

    Revision: 19459
    Revision: 19459
    Author:   [email protected]
    Date:     2010-12-17 10:15:23 -0800 (Fri, 17 Dec 2010)
    Log Message:
    Security API change for auth sync sample/concept to work in WebLogic, WebSphere.
    Adding the PrincipalConverter interface
    Implement the converting principal in WebLogic and WebSphere login command
    Modified Paths:
        blazeds/trunk/modules/opt/src/weblogic/flex/messaging/security/WeblogicLoginCommand.java
        blazeds/trunk/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCommand.jav a
    Added Paths:
        blazeds/trunk/modules/core/src/flex/messaging/security/PrincipalConverter.java

    Thanks for the reply dood... i've found the solution after several tries... i had to set the channel from the actionscript instead of depending on the Service-config.xml file like the following.. then it worked..
    var cs:ChannelSet = new ChannelSet();
    var chnl:Channel = new Channel();
    var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8080/somehting/messagebroker/amf");
                    cs.addChannel(customChannel);
    consumer = new Consumer();
    consumer.channelSet = cs;

  • Any plugin api to find text ?

    Hi
    Is there any plug-in api to find text in the pdf ? . In the acrobat_pdfl_api_reference.pdf, I don't see the description and function definition of
    PDFindText.
    So, I want to know how we can find text using the plug-in code ?
    Regards,
    Arvind

    Hi,
    I want to simulate find Text , find next feature in my application. And I think Acrobat Plugin will have some api similar to iac_api named
    CAcroAVDoc::FindText. But I didn't find in the plug-in reference document.
    And I also looked PDWordFinder sample code but looks like to simulate findtext thru this , we need to scan whole document first and then compare the word and then we need to highlight it. So good amount of code, I have to write to simulate FindText.
    So don't we have any other way or api by which we can simulate FindText, Find next  easily . And also I want to know which plugin api use PDFindFlags (mentioned in the plug-in reference document).
    Please let me know your inputs.
    Regards,
    Arvind

  • [svn] 4764: Fixes to flex4tests to [finally] account for the API changes in effects in yesterday's commit.

    Revision: 4764
    Author: [email protected]
    Date: 2009-01-30 11:47:42 -0800 (Fri, 30 Jan 2009)
    Log Message:
    Fixes to flex4tests to [finally] account for the API changes in effects in yesterday's commit. Tests now compile and run...
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Ryan
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/EffectsProperties.mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/AnimationPropertiesForm. mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/NumberInterpolatorWrapping. as
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxml

    It happens on
    darkchronicles.net
    thedreamkeep.com
    atittercompany.com
    codexdemagicus.com
    So far, it is happening to 4 sites that I work with.  Yes, they all use the same server, and the server company swears it is not their end.  I don't quite understand what you mean "is it coming from a web page?"  I edit and upload pages in Dreamweaver and then when I try to check the edited pages in Chrome, Firefox, Opera or Safari on 3 different computers that I have to work on, I get the error.  If I edit in Dreamweaver and then use Core FTP LE to upload, then check the pages, I do not get the error.

  • Changing Cycle Modification factor in a maintenance plan.

    On the basis of MTBF of an equipment, Can i change cycle modification factor of any maintenance plan.i.e. suppose MTBF of an equipment if reaches to 3 months then cycle modification factor for all preventive plan should get multiplied by 1.5 automatically.
    please suggest on this thanx
    ravi

    hi
    in standard it will not automatically change ,you have to make it manually .
    another workaround is create it like test equipment and follow the calibration process ,while making the usage decision you can specify the modification factor.
    regards
    thyagarajan

  • More info on plugin API "slapi_be_get_instance_info"

    Hi
    How can I read the info returned by the plugin API "void * slapi_be_get_instance_info(Slapi_Backend *be)".
    thanks,
    sanjay

    That data is for your use, whatever you want. Use slapi_be_se_instance_info to store whatever data you want to be associated with that database instance. Then retrieve it later with slapi_be_get_instance_info.
    Warning: chaining database uses instance info for it's own private use, so if you are going to use instance info, make sure the backend is not a chaining backend.

  • [svn:osmf:] 13228: Updating ExamplePlayer to work with the latest API changes.

    Revision: 13228
    Revision: 13228
    Author:   [email protected]
    Date:     2009-12-30 04:33:34 -0800 (Wed, 30 Dec 2009)
    Log Message:
    Updating ExamplePlayer to work with the latest API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/chromeless/ChromelessPl ayerElement.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextElement.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/traceproxy/TraceListene rProxyElement.as
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextDisplayObjectT rait.as
    Removed Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextViewTrait.as

    Revision: 13228
    Revision: 13228
    Author:   [email protected]
    Date:     2009-12-30 04:33:34 -0800 (Wed, 30 Dec 2009)
    Log Message:
    Updating ExamplePlayer to work with the latest API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/chromeless/ChromelessPl ayerElement.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextElement.as
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/traceproxy/TraceListene rProxyElement.as
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextDisplayObjectT rait.as
    Removed Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/text/TextViewTrait.as

  • [svn:osmf:] 14984: Updating to work with the latest logging API changes.

    Revision: 14984
    Revision: 14984
    Author:   [email protected]
    Date:     2010-03-24 07:23:14 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Updating to work with the latest logging API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/src/DebuggerLogger.as

    Revision: 14984
    Revision: 14984
    Author:   [email protected]
    Date:     2010-03-24 07:23:14 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Updating to work with the latest logging API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/src/DebuggerLogger.as

  • Why would firefox release version 29.0.1. It is terrible! I had to find a plugin to change the tabs back. Bad decision. Why was this done?

    Why would firefox release version 29.0.1. It is terrible! I had to find a plugin to change the tabs back. Bad decision. Why was this done?
    Not happy with version 29.0.1 - Are there any plans to roll this back?

    On my Windows 8 machine Firefox 29 (puke) no longer remembers my "Customize" icon settings ~ every time I close down Firefox and restart they all have disappeared. POS.
    Whomever approved this radical of a change on the user experience without a nary of warning should be TERMINATED. This will go down in software history's top ten "Hall-Of-Shame"!!!

  • API changes in AEM 5.6

    Hi All,      
    Is CQ Providing any documentation related to API changes from previous versions of CQ - CQ 5.6.
    Example:
    [1]
    com.day.cq.workflow
    [2]
    com.adobe.granite.workflow
    API [1] has been replaced with [2] in AEM 5.6.
    Thanks
    Siva

    I've found the following link which has the API differences b/t CQ5.5 & 5.6
    http://dev.day.com/docs/en/cq/current/diff-previous/changes.html
    The above has list of APIs which are removed, added & changed.  But my concern is, we have developed few workflows in CQ 5.5 and now we are migrating to CQ 5.6.
    Example 1:
    [1] com.day.cq.workflow.WorkflowSession;
    [2] com.adobe.granite.workflow.WorkflowSession;
    Document says, [1] has been replaced with [2] in 5.6.    But still [1] works in 5.6. If I go for update [1] with [2]: getSession() method is removed in 5.6 version.. which I've used in several places in the CQ5.5 workflow process.
    How can I get JCR Session in the workflow + CQ5.6.. I need to check how we can get jcr session in 5.6.
    Example 2:
    [1] com.day.cq.workflow.exec.ParticipantStepChooser;
    [2] com.adobe.granite.workflow.exec.ParticipantStepChooser;
    In this case Participant chooser will not work, If I don't update [1] with [2] in 5.6.
    So what's the best approach to migrate?
    Thanks
    Siva

Maybe you are looking for

  • How do I run itunes on 2 computers?

    I have a desktop at home that I run Itunes on. Its very old and had very little memory so I store all of my music on an external HD. the actual itunes set up is saved on my c drive, but all of the songs are stored on the HD. I also have a laptop for

  • Printing PDF document with today's date

    I am looking for a way to print the current date on the PDF document. Perhaps, a field/variable/marker on the PDF document where it will be converted to the today's date at the time the document is being printed.

  • Application deployment to jboss 5.1.0 GA

    Hi all, I have deployed my application developed in jdev 11gR1 to jboss 5.1.0 ga I have started the jboss server in default mode i have copied the listed jars to the default/lib folder adflibfilter.jar adflogginghandler.jar adfm.jar adf-share-base.ja

  • Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

    Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

  • Photoshop CC asks for serial number

    Hi all, Photoshop Creative Cloud, which I just subscribed to, is asking for a serial number. Adobe tech support told me to sign out, check connectivity issues, etc, and its not working. I think this is probably connected to an attempt someone made on