Boolean Search Constraint in new Java API doesn't work for value of false

I'm developing an application that interfaces with MDM via the new Java API.  We're on MDM version 5.5 SP 4 and have the latest patches installed.  I can do searches fine on the repository, but have run into one problem with the Boolean Search Constraint.  I have a set of records in the main table that have several boolean fields.  I've discovered that when searching these records using a Boolean Search Constraint on any of the fields, I'm always receiving records that match the boolean value of true.  This is even when I specify the Boolean Search Constraint value as false.  Is anybody else seeing this problem?

It's a bug in MDM 5.5 SP04.  The fix is in MDM 5.5 SP05.

Similar Messages

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Social API doesn't work for me

    Social API buttons (FBchat) in aren't available since updating to FF Aurora 29. The sidebar is available!

    The support article that covers "FBchat", [[How does Facebook Messenger for Firefox work?]], probably needs to be updated for Firefox Aurora.
    [http://www.mozilla.org/firefox/aurora/ Firefox Aurora] is a pre-beta test build, which means it's still a "work in progress". I'm not testing it myself. If you don't get a better answer from someone familiar with Aurora, here is a bug report I found on the Social API sidebar, in case it helps:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=960198 Bug 960198] - No obvious option to unhide SocialAPI sidebar
    Here are the Aurora release notes, which link to more information about the new Firefox user interface:
    *http://www.mozilla.org/firefox/29.0a2/auroranotes/

  • National characters and new Java API

    Hi All,
    I'm looking for your experience with new java api and national characters (like: ü, ś, ć, etc.). The problem is that when record was updated using MDM Data Manager, and retrieved using new java api - national character are invalid (in java string the national character are represented incorrectly).
    It's strange due to fact that when I create or update this record from java API it's looks fine. Second finding is that old java api (MDM4J) works fine on text fields with national characters.
    Maybe I forget to set something in server configuration / repository / or on java api connection - any help appreciated...
    Regards, marcin

    While retrieving data via the Java API 2,
    you should set the Unicode Normalization after the user session is authenticated.
    I guess this is available in SP5 patch.
    The documentation for this is available at
    https://help.sap.com/javadocs/MDM/current/index.html
    Package: com.sap.mdm.commands
    SetUnicodeNormalizationCommand cmd = new SetUnicodeNormalizationCommand(connectionAccessor);
    cmd.setSession(userSession);
    <b>cmd.setNormalizationType</b>(SetUnicodeNormalizationCommand.NORMALIZATION_COMPOSED);
    cmd.execute();
    This command is used to set the Unicode normalization.  This is used for the lifetime of the session. It should be set after the session is authenticated.
    Unicode normalization is important when a text string is represented differently depending on the normalization used. The MDM server always store text strings in one normalization format. An user providing a text string to the MDM server and later on tries to retrieve back the same text string might get the text string back in a different normalization. To resolve this issue, the user can use this class to specify the normalization the user wants to work with. The MDM server will always return text strings in the normalization specified by this class.

  • My new iPhone 4 doesn't work at all

    You are definitely not alone with your issues. I'm on my second iPhone 4 unit, and am still having the same problems. I've had proximity sensor insanity, battery draining after 8 hours of stand-by (NO USE, just sleeping) to the point that my phone goes into a coma and has to be plugged in to be revived, the grip of death dropping calls....
    But the single most irritating and infuriating problem is the signal strength/reception fluctuation. I share a house with two iPhone 3Gs users, and I had an original silverback iphone until July 2010. They all work fantastically well with no issues when I'm at home (where I am just about 24/7, since I work from home). *_My new iPhone 4 doesn't work at all.*_. Signal strength is all over the place. I did a test where I sat watching the bars showing signal strength for five minutes. In that time, I saw it switch from E (edge?) with full bars to 3G with full bars to 3G with 1 bar to 2 bars to 4 bars to 1 bar to "Searching." Then back to 3G, with degradation of bars from 3 to none, then E network appears again, this time with full strength. This all with the phone sitting on a table, not being touched by human hands.
    It seems that my iPhone is constantly switching actual physical networks, and as a result signal strength is all over the place from one 30 second period of time to the next. This drains the battery like crazy, and means that all incoming calls go to voicemail--usually without my phone ever ringing.
    The 3G phones in my house work great. The 1st G iPhone I have had since the week it came out worked great (though its battery doesn't hold much of a charge anymore, after three years). On my new IP4, games are awesome. The videos and photos are amazingly clear and high quality, and editing on the phone is out of sight. iPhone Apps rule. MobileMe syncs my contacts quickly and easy. The only thing I love more than the iP4 features is my iPad--it rocks.
    Everything works on my IP4 at home BUT THE ACTUAL TELEPHONE FUNCTIONS. This is unacceptable. In late August, after two weeks in which I had 4 minutes of phone use, the nice folks at the Apple store switched me to a new phone, no questions asked. The phone worked so much better, I could send texts and place calls most of the time (this was now the first part of September)...except that now that I was using my IP4 to make phone calls, I started having a problem with the proximity sensor during those calls. I'd be talking and my cheek would mute the phone, turn on speaker, open contacts and edit info (with gobbledygook), and of course, hang up on people.
    So around Sept. 18 I was told by Apple phone support to update to iOS 4.2, restore as new, and do two complete power up and drain down cycles. This would fix the proximity sensor and any other issues.
    Well, I would love to see if iOS 4.2 actually did fix the PS, but I can't get the signal strength to stabilize long enough to have an actual phone conversation. I'm back to watching the signal strength go up and down at random (with me touching/holding it carefully to avoid grip of death, and also when I leave phone on the table with screen lock off --no touching). It is back to switching between E network and 3G and varying strengths of wi-fi from my home network. This eats up battery from 100% to low enough to turn off in under 10 hours of standby (usually 6-7). Essentially, my IP4 is back to being unusable as a phone.
    So I did another long, involved call to Apple tech support on 9/18. They tell me that I have to turn off wi-fi, turn off 3G, turn off push/fetch and notifications, shut all apps (no multi-tasking) and do everything but switch my phone to airplane mode--and see if the battery holds up for 24 hours in standby. If that didn't work, I should restore from new, but not load any contacts or network or data or anything--just leave it as it would be out of the box new.
    As a test, I turned everything off as advised: 3G, wi-fi, push, etc. Now my battery life is back to normal, where I can have the IP4 on stand-by for up to two full days before needing a recharge. Fabulous. BUT IT'S NOT A SMART PHONE if I have to turn off 3G, turn off wireless, and not use email push and so forth.
    I'm so frustrated I could scream. I'm quickly coming to the conclusion that there is a significant flaw in the new iPhone. Or perhaps it is just an issue for iPhone 4 users in areas where the signal strength is marginal, or where there are two types of overlapping network coverage (E and 3G in my case). I know that the networks themselves are in good condition--though I'm in a semi-rural area, the state capital is 4 miles away, and I know they have a new tower and good coverage for the politicians and power brokers around town. The phone coverage area I live in has Edge network in the south part of the network area and 3G in the north part, which is the state capital. I'm right in between. Could this be the problem? AT&T says no, it's Apple's fault.
    Message was edited by: HighSierra

    So what to do besides complain? Troubleshoot?
    I just wonder if all of us who have had chronic signal strength and "Searching for network" issues that totally drain the battery might have something in common, despite being all over the world? I'm using wi-fi 95% of the time, and live in a semi-rural area with overlapping networks run by same carrier. Apple folks hinted that maybe in my area the network usage is nearing capacity (resulting in getting kicked off of 3G and down to E as new calls are placed that strain capacity). They also hinted there could be interference from mountains or other objects. But here's the thing--3G phones work fine, and my IP4 works fine when I'm away from home, usually in the capital city on strong 3G network. (When I say "works fine I mean the signal is good and calls go through, I haven't tested battery drain away from home yet).
    I have to conclude that the problem is the IP4 itself--something about the hardware or the software (namely, the way it connects to the phone network) is horribly wrong. Other folks who live in urban areas or with strong networks that (likely) aren't over-utilized don't seem to have this issue. After reading through these pages, it also seems the wi-fi may be a major culprit in draining the battery and in varying signal strength (this is from Apple phone support, which said that varying signal strength and the constant pinging off the home wi-fi is creating a "power struggle" and keeping the phone constantly looking for the best connection option). Mind you, 3G iphones on the same home network have no problems whatsoever.
    So while I'm not a technical expert, it seems like the problem HAS to lie in the differences in the way the IP4 connects to the cellular and/or wi-fi network. And since the connection/signal strength problem was "resolved" on my replacement phone, but then "broken" again by the software update of iOS 4.2, I'm leaning toward this being a software issue. I've offered to help Apple troubleshoot, and I'm trying to be patient--because the IP4 is a work of art and I've never had an issue with an Apple product before. But all they want me to do is restore, restore, reload, restore, and then drive 1 hour to the nearest Apple store (in Reno, NV) and get a new phone...and start the whole process over again. I don't have time for this, I need my phone back.
    I'm this close to trading in my beautiful but flawed IP4 for a 3G. Maybe I should just get a new battery for my original iPhone from 2007?
    I understand that Apple can't test for every possible variable of use all over the world, but they don't even seem to acknowledge that they have a problem with the IP4 that will not be resolved by replacing it with a new unit. They want me to believe it's a fluke, or it's just me...but I've been combing these threads and see a lot of people reporting the same issues I am--battery drain and wildly fluctuating signal strength issues, wi-fi problems, and dropped calls. Can't someone get on this? Because otherwise Apple is going to have to admit that their IP4 is not a good solution for people who live in areas of less than perfect signal strength or use wifi or whatever demonic combo I have in my home/work setting.
    Or people will have to do what I have done--if you who want the cool IP4 non-phone features, you will have to dumb down your IP4 in order to have it be even moderately useful as *a phone.* For $599 I expected better.
    My (temporary) workaround?
    To spare the battery:
    *Turn off wi-fi (which *****, because now I have to burn minutes when I'm at work using the email, downloads, safari, etc--and it's E network, so it's SLLOOOOOOOW)
    *turn off push and fetch, have mail get new messages manually
    *turn off data roaming
    To keep the signal somewhat stable (making it easier to complete calls and spare battery)
    *Turn off 3G (this leaves me on E network--fabulous, I had that with my 3 year old iPhone)
    *grip IP4 between two fingers placed at the top of the phone, away from death zone. Tough for us lefty phone users.
    *pray the free bumper will a) come soon and b) help. I'm not optimistic.
    To keep proximity sensor from going nuts and dropping calls, muting, turning on speaker etc:
    *use headset or bluetooth (unless you are also having one of the known bluetooth issues!)
    *keep phone pressed to one ear and don't move it a millimeter. Don't shift sides, don't hold phone with your shoulder, just keep it to one ear and talk fast).
    I'm about out of patience. I understand that lots of folks have and love their IP4s. I'd love to be one of those people. I'm open to suggestions and have spent many hours on phone with tech support, restoring my phone, reloading data and apps--there has to be a better way.
    Sorry for the thread-jacking, but someone from Apple has got to be following these threads--help us!
    null

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • The new maps application doesn't work. I want Google Maps back!!!!

    The new maps application doesn't work. I want Google Maps back!!!!
    Most of the locations and search are not shown.
    choose to go by bus is not working:(
    I'm totally disappointed because of that. 

    Try doing a reset - hold down the sleep/wake button and the Home button together until the Apple logo appears, then let them go and allow the iPad to finish restarting. Then launch Safari and try to open a new tab.

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • I have an iPhone and when I got it, I had a Toshiba laptop.  Now I have a MacBook Pro, but when I try to wi-fi sync my iphone and new computer, it doesn't work because on my iphone it is still trying to sync with my old computer.  How I can fix this?

    I have an iPhone and when I got it, I had a Toshiba laptop.  Now I have a MacBook Pro, but when I try to wi-fi sync my iphone and new computer, it doesn't work because on my iphone it is still trying to sync with my old computer.  How I can fix this?

    Move the content from the old computer to the new computer.
    Sync the iPhone via cable to the new computer and enable Wi-Fi syncing.
    It should now be possible to sync via Wi-Fi to the new computer.

  • How do I uninstall Firefox 4 & get previous version back? The new upgrade has problems & doesn't work for me.

    How do I uninstall Firefox 4 and get the previous version back?
    The upgrade has many problems and doesn't work for me.

    new version is the worst Firefox ever, no lip.

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

  • Index (search button) in finder and mail doesn't work after installing mountain lion, index doesn't work after installing mountain lion

    after I up grade to mountain lion search button in finder and mail doesn't work: when I search from something the result is "zero"
    How can I solve this problem? thank you

    Try:
    sudo mdutil -E /
    which rebuilds spotlight and search indexes on the volume.

  • HT1277 I cannot open the new email icon for 10.6.8 and the latest secrtoy update. My old "Stamp" icon email won't let me in either indicating that the new OS version doesn't work. Please help

    I cannot open the new email icon for 10.6.8 including the latest security update. My old "Stamp" icon email won't let me in either indicating that the new OS version doesn't work. Please help. I have spend over 4 hours installing and reinstalling updates, etc. and I don't know where to go from here.....

    Mac OS X v10.6: Mail.app won’t open, or "You can't use this version of Mail…" alert after installing Security Update 2012-004:
    http://support.apple.com/kb/TS4424?viewlocale=en_US&locale=en_US
    Fellow user Grant Bennet-Alder offers this solution:
    Some users have reported this problem if the Mail Application has been moved out of the top-level /Applications folder, or duplicated in another location.
    When the Security Update is done, the old version of Mail is disabled.
    The solution has been to:
    1) make certain Mail is in the /Applications folder
    2) There is no other copy anywhere else.
    3) Once steps 1 and 2 have been done, Manually download and re-apply the Security Update (2012-004) by hand.
    Security Update 2012-004 (Snow Leopard)
    If the Mail.app has been LOST, it can be re-installed by applying the 10.6.8 version 1.1 combo update. But this update is quite large and it is usually not necessary:
    Mac OS X 10.6.8 Update Combo v1.1

  • [BUG]: MakeWritable doesn't work for mac

    I'm trying to use oracle.jdeveloper.refactoring.util.MakeWritableHelper in my plugin, and I found it doesn't work for MAC. The byte code shows it only check the osname for "Windows" and "Linux".
    and some Jdeveloper refactoring feature failed due to can't make file writable, they may also related to this class.

    My MAC version is OSX 10.5.4.
    I don't have a stacktrace. It just fails silently.
    You can easily reproduce this bug by reformat a readonly file.
    Here is the code I reverse engineered from oracle.jdeveloper.refactoring.util.Util.java:
    public static boolean setReadOnly(java.net.URL url, boolean readOnly)
    boolean ret = false;
    java.lang.String cmdarray[] = null;
    java.lang.String platformPathName = oracle.ide.net.URLFileSystem.getPlatformPathName(url);
    java.lang.String osName = java.lang.System.getProperty("os.name", "");
    if(osName.startsWith("Windows"))
    cmdarray = (new java.lang.String[] {
    "ATTRIB", readOnly ? "+R" : "-R", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    else
    if(platformPathName.equalsIgnoreCase("Linux"))
    cmdarray = (new java.lang.String[] {
    "chmod", readOnly ? "u-w" : "u+w", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    if(cmdarray != null)
    java.lang.Runtime runtime = java.lang.Runtime.getRuntime();
    try
    java.lang.Process process = runtime.exec(cmdarray);
    if(process.waitFor() == 0)
    ret = (new File(platformPathName)).canWrite();
    if(ret)
    oracle.ide.model.Node node = oracle.ide.model.NodeFactory.find(url);
    if(node instanceof oracle.ide.model.TextNode)
    oracle.ide.model.TextNode textNode = (oracle.ide.model.TextNode)node;
    textNode.isReadOnly();
    catch(java.io.IOException e)
    e.printStackTrace();
    catch(java.lang.InterruptedException e)
    e.printStackTrace();
    return ret;
    }

  • How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    download the new you tube apps in i tunes, in os6 just pick a video in the photos apps and select share, the old you tube app icon will appear

Maybe you are looking for