[BUG] af:validateLength breaks when only minimum length is specified

Hi,
here's a bug I just found using JDev 11.1.1.0.2.
The following validated input field:
<af:inputText id="inputName"
              binding="#{backingBeanScope.MyBean.inputName}">
    <af:validateLength minimum="8"/>
</af:inputText>using only a minimum value as threshold and no maximum, behaves erratically.
When the entered value is shorter than 8 chars, it prints MessageDetailNotInRange instead of MessageDetailMinimum on the popup.
In other words, what you get is "you need to enter a value with length between 8 and 0" instead of "longer than 8 chars" (not sure what the exact English text should be, but I guess you got the picture)
Overriding the default MessageDetailMinimum string doesn't change behaviour, the component just picks the wrong string in the case you only give a minimum.
Note that the other 2 cases (maximum-only and range) seem to work OK.
Can anyone confirm this?
RickyS

Hi,
no, I've not yet logged a SR for that (I can't file bugs, I have to open a SR and wait weeks before the guy opens a bug for me), was hoping for some confirmation...
I was very surprised such a bug could exist in a production release, since it breaks 1/3 of af:validateLength's visible functionality and in fact I met it within my first 2 minutes of use of the component, so I just thought I'd ask if someone has ever met it before. Might be my machine, or me doing something stupid, or something.
Not to sound harsh, but if this is confirmed then the question "is someone over at Oracle actually doing basic testing of ADF 11's components before labelling it production-ready?" comes to mind immediately, and is quite of concern for us.
Paying money to Oracle to do beta-testing on behalf of Oracle ain't our thing, to be fully honest.
The more we dig into ADF 11, the more we find bugs, bugs and bugs. And all the help we get is one-liners like "did you open a bug?" on this forum - assuming someone actually replies at all, half of my threads have 0 replies - or some guy on support which takes ages just to write down a couple lines with a precompiled answer to a Service Request ("there appears to be a bug in the component, will open a bug"), let alone opening the bug itself.
regards,
RickyS

Similar Messages

  • [svn] 4290: Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel .

    Revision: 4290
    Author: [email protected]
    Date: 2008-12-11 14:24:37 -0800 (Thu, 11 Dec 2008)
    Log Message:
    Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * The bug app was arguably generating bogus test data (messages with duplicate ids), and 99.9% of applications won't be configured this way (using multiple ChannelSets with overlapping Channels, pointing at the same server) but it's still worth making this work just right anyways.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-288
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • From the Apple TV, I chose netflix from the main menu. I then chose the show Prison Break.  Only 22 episodes from Season 1 are displayed.  When chosing NetFlix from my Blue Ray player I see all the episodes.

    From the Apple TV, I chose netflix from the main menu. I then chose the show Prison Break.  Only 22 episodes from Season 1 are displayed.  When chosing NetFlix from my Blue Ray player I see all the episodes.

    Those are all the episodes for that season, if you want to view another season you need to select it

  • Has anyone else had a problem with their nano sim slot bending snapping or breaking when they put their sim in!? I have had to order a replacement and only had the phone 5hours!

    Has anyone else had a problem with their nano sim slot bending snapping or breaking when they put their sim in!? I have had to order a replacement and only had the phone 5hours!

    Hannahjadepurnell wrote:
    From giffgaff.
    i Don't actually mean when you put it In the phone. I mean when you try to take the slot out of the phone with the pin. As soon as I pulled it out it bent.
    That makes less sense as the sim tray a fairly stiff metal and should be pulled straight out once released. You didn't answer the question about where is was bought. Is is a real iPhone?

  • Owb error while edit a mapping:the minimum length of this field is 1

    after creating a mapping,an error always occur when i attemp to
    edit it just as add a mapping table,the error description is:
    the minimum length of this field is 1 and its maximum length is
    15,You have 19 characters.
    can some one help me?thanks

    Hi Vidyanand,
    Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
    Note that there are 4 database roles being created when you create a runtime repository owner:
    - OWB_A_<runtime repository owner>
    - OWB_D_<runtime repository owner>
    - OWB_R_<runtime repository owner>
    - OWB_U_<runtime repository owner>
    If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
    Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
    Thanks,
    Mark.

  • Bug in iPhoto v6 when using Mail

    Bug in image quality when sending photos with Mail.
    Description:
    I click on Email icon in iPhoto, and then choose Medium as the quality, that's when iPhoto tells me that the Photo Count = 1, and Estimated Size = 122Kb. And then the Mail app opens, and I see the same photo inside the message composition window, and now Mail tells me that the Message Size = 55Kb (on the status line at the bottom). And When I send that photo to myself, I receive a photo which is about 40Kb in size, and the photo looks just terrible... how can it look good at 640x480 with only 40Kb?
    Is this a bug, or I can change the jpeg quality somewhere? My friend has a 2-year old iMac with iPhoto 5 and when she sends me pictures the same Medium size they are closer to 100Kb each
    We did a little test: I sent her the same photo in original size, and then she sent me back the Medium Size, and it was around 90Kb. How can I fix/change this, or am I cursed by this BUG in iPhoto v. 6? or a bug in Mail?
    Thanks.
    MacBook Pro 2.4 GHz   Mac OS X (10.4.10)  

    Misio:
    Even though iPhoto said the final size would be 122 KB for a medium size, my test, a 4.2 MB file came in at 68 KB. Another test with a 2 MB file was estimated at 122 KB but came in around the 68 KB size. I think the 122 kb value is hard coded into the application as an approximation only before compressing and not really a bug. Maybe a poor approximation, however.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

  • [svn] 2210: Fix for layout issue of AIR apps on mac when only width or height is

    Revision: 2210
    Author: [email protected]
    Date: 2008-06-24 11:56:52 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Fix for layout issue of AIR apps on mac when only width or height is
    set on root WindowedApplication tag.
    Bugs: SDK-14643.
    QA: Yes, very much so.
    Reviewer: Ryan
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-14643
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/core/WindowedApplication. as

    Updates:
    I've opened a bug with Adobe regarding this issue:
    http://bugs.adobe.com/jira/browse/FP-4362
    Also, the Cancel operation on a FileReference causes the same issue to happen as does loading.  I really think it's an operating system focus issue.
    UPDATE:
    Looks like this has already been tracked and is scheduled to be fixed:
    https://bugs.adobe.com/jira/browse/FP-2785

  • RIP redistribution in to OSPF breaks when 1OSPF path goes down

    Hi All,
    I'm failing to understand why the RIP redistribution is breaking when I shutdown interface 0/0 on the mpls-usa router (mpls is just a naming convention). When 0/0 is up RIP is redistributed by when it is down I get nothing. See diagram below:
    The topology:
    Show ip route on mpls-2 and mpls-3 when interface 0/0 is down on mpls-usa
    show ip route on mpls-2 and mpls-3 with eth 0/0 down
    And this is my config on MPLS-USA

    Hi,
    First of all , please mention interfaces in your topology. Second in all routing table snapshot you cut the router hostname that also creates confusion.
    Now in the last output, i am not sure that output is from MPLS-2 or MPLS-3 and where E0/1 is connected to. Regarding your question related to number of routes, i guess you would have only one route in routing table because in OSPF external routes other than route metric, metric to ASBR also comes in to picture.
    When you shut one interface, route should not get disappeared. You can shut interface between MPLS-2 and MPLS-USA and share ospf lsa database output from MPLS-USA and MPLS-3. Also "show ip ospf nei" on MPLS-USA router.

  • Video heavy web content folio app breaks when sent to background

    Hi all,
    I was pointed to here after asking a question on the Facebook page.
    Basically, the DPS App we have created seems to not have been done before - we had gone down the native app route prior to this, but due to costs and compliance issues we could not go down that route, so we are trying to achieve getting the same project to work in DPS.
    The main aim of the project was to have seamless transition from still image with hotspots, to short video, back to still image, thus creating a nice user journey. The quickest way to achieve this was using HTML and Javascript 'loops'. If this was done in InDesign, we were told it could've taken weeks!
    Basically though, the videos are embedded and constantly updated with new video info and then played again using HTML/JS/jQuery - this works well and looks great, until the application is minimised. The video then breaks (This error occurred in the native app too, for whatever reason sending the app to background and back to foreground causes the video element to break) and only brings back a black screen with a Q. All I need to do is clean the video code or return the user to the splash screen when they press the home button.
    I was wondering, does anyone here have any tips to getting HTML/Javascript to know that the app is no longer being viewed and is in the background? Or is there a way of returning the user to the splash screen on home button press - native apps have the ability to integrate & communicate with the hardware, will this functionality be released? Or could there be another way?
    Any help appreciated!

    Thanks Bob.
    Okay, so here are the steps I'm taking:
    1. Go to YouTube
    2. Copy embed code
    3. Go to InDesign
    4. Paste embed code
    This creates a web content area with the video embeded. So the user can click play on the video once it loads and can then click full screen on the video controls.
    What I'm trying to do is have a button on my page which links to a full screen view of the YouTube video so when the page loads the video doesn't load but when the user clicks the button it would then load the YouTube video full screen. I'm looking for the same functionality that is possible were I to embed an mp4 straight into my document, hide it, and then create a button that plays the video in full screen mode.
    Is the above possible?
    Thanks.

  • Minimum length for stills ?

    Hi everybody,
    I wanted to import stills in a movie in a way that they would not look so much as stills.
    I thought I would reduce the length of time to 1 sec.
    When I wanted to render that part (a few images) I got a message saying "general error"
    Is there a minimum length of time required for the stills ?
    thanks in advance
    Ivan

    RVB? You mean RGB?
    From the original picture that I import, and which is about 5 minutes, what is the best way to reduce the length to a few images ?
    I don't understand. Pictures don't really have a LENGTH. I mean, FCP can import them as 1 frame or 5 min....and that is in the User Prefs. But reducing the original picture to a few images...that throws me. The picture...a STILL picture, is ONE image. So how can you reduce ONE image to a few images?
    Shane

  • When connecting ipad to iPhones personal hotspot via wifi it is showin up as 2 connections when only 1 device is connected. Is someone hacking my phone?

    When connecting ipad to my iPhones personal hotspot via wifi it is showin up as 2 connections when only 1 device is connected. Is someone hacking my phone? I only figured out I had a problem when my partner did the exact same set up and it showed up as only 1 device connected. I have changed the password and turned it off/on and etc. the really weird thing is now when my ipad is turned off and I turn my iphone personal hotspot on it shows up with 1 connection (when I don't have anything connected) for about 5 secs and then goes off and then 1 device connected for about 5 secs and then back off. This just keeps going on and off. What is going on. Could my phone have a bug or be hacked. Please help as it is kinda freaking me out. Thanks.

    Hello asrt17,
    This may occur if your iPhone is connected to your computer via USB, as it will automatically share the connection via USB.
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/TS2756
    When Personal Hotspot is enabled, your iOS device automatically shares your Internet connection with your computer when connected using USB.
    Example: When you connect iPhone to your computer to charge or sync with iTunes. To avoid unnecessary data charges, turn off Personal Hotspot when not in use.
    Cheers,
    Allen

  • How to put a page break when a value changes

    Hi there, I am very new to BI Publisher. I realize this is a really SIMPLE question, but I can't seem to find a CLEAR answer.
    I have a set of data that I have a repeating group for in my RTF template and it works great. But I want to have a page break each time one of the values changes and I cannot figure out how.
    here is the xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle Reports version 6.0.8.28.0 -->
    <PIR05>
    <LIST_G_ITEM_NO>
    <G_ITEM_NO>
    <PAGE_NO>0</PAGE_NO>
    <ITEM_NO>4242301</ITEM_NO>
    <ITEM_DESC1>13MM Aries Cell Assembly</ITEM_DESC1>
    <LOT_NO>123</LOT_NO>
    <LOT_DESC>4242301</LOT_DESC>
    <SUBLOT_NO />
    <LOCATION>2IRE</LOCATION>
    <GRADE_CODE>NONE</GRADE_CODE>
    <ITEM_UM>Each</ITEM_UM>
    <ITEM_UM2 />
    <LINE_NO>614</LINE_NO>
    <COUNT_NO>614</COUNT_NO>
    <P_ITEMUM2LABEL />
    <P_ITEMUM2DASH />
    <F_ITEMUM2>1</F_ITEMUM2>
    <P_CSITEMUM2_LABEL />
    <P_CSITEMUM2_DASH />
    </G_ITEM_NO>
    - <G_ITEM_NO>
    <PAGE_NO>0</PAGE_NO>
    <ITEM_NO>4242301</ITEM_NO>
    <ITEM_DESC1>13MM Aries Cell Assembly</ITEM_DESC1>
    <LOT_NO>1232</LOT_NO>
    <LOT_DESC>4242301</LOT_DESC>
    <SUBLOT_NO />
    <LOCATION>2IRE</LOCATION>
    <GRADE_CODE>NONE</GRADE_CODE>
    <ITEM_UM>Each</ITEM_UM>
    <ITEM_UM2 />
    <LINE_NO>615</LINE_NO>
    <COUNT_NO>615</COUNT_NO>
    <P_ITEMUM2LABEL />
    <P_ITEMUM2DASH />
    <F_ITEMUM2>1</F_ITEMUM2>
    <P_CSITEMUM2_LABEL />
    <P_CSITEMUM2_DASH />
    </G_ITEM_NO>
    <G_ITEM_NO>
    <PAGE_NO>0</PAGE_NO>
    <ITEM_NO>4242301</ITEM_NO>
    <ITEM_DESC1>13MM Aries Cell Assembly</ITEM_DESC1>
    <LOT_NO>562354</LOT_NO>
    <LOT_DESC>4242301</LOT_DESC>
    <SUBLOT_NO />
    <LOCATION>WOR RECV</LOCATION>
    <GRADE_CODE>NONE</GRADE_CODE>
    <ITEM_UM>Each</ITEM_UM>
    <ITEM_UM2 />
    <LINE_NO>603</LINE_NO>
    <COUNT_NO>603</COUNT_NO>
    <P_ITEMUM2LABEL />
    <P_ITEMUM2DASH />
    <F_ITEMUM2>1</F_ITEMUM2>
    <P_CSITEMUM2_LABEL />
    <P_CSITEMUM2_DASH />
    </G_ITEM_NO>
    </LIST_G_ITEM_NO>
    <WHSE_DESC>OPM INVENTORY ORG</WHSE_DESC>
    <CS_NODATA>617</CS_NODATA>
    <CYCLE_NO>000000014</CYCLE_NO>
    </PIR05>
    I want the g_item_no (repeating group) to have a page break each time LOCATION changes.

    You can declare two variables, to hold the previous and current LOCATION values and break the page when it differs.
    Or just before your end-for-each, have this code.
    <?if:position()!=1 and position()!=last() and LOCATION!=following::LOCATION[1]?><xsl:attribute name="break-before">page</xsl:attribute><?end if?>
    Ensure that its placed in a form field.
    This will have a page break when LOCATION changes.

  • Setting minimum length of a text field

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning and Data Mining options
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.5.0     Production
    Is there a way to set the minimum length of a text field without using a trigger?
    for example. I have a field called journal_no varchar2(7), I want to enforce that at least 4 characters are entered.

    In order to set a text item to a minimum value, you need to set the format mask.
    In my case it was
    AAAA
    and i was wrong...!!!!
    that just limits the number of characters to 4, i want at least 4, back to the drawing board......
    Edited by: DM on Jan 27, 2010 11:39 AM

  • Minimum length of pwd in keytool

    I'm using keytool (jdk version 1.5.0_14) to alter exisiting keystores and create new files. If I want to check an existing keystore (keytool -list -file ...) with a password length of five characters I get the following error:
    java.io.IOException: Keystore was tampered with, or password was incorrect
    The password I'm using is correct (already tested with openssl).
    Is there a way to alter the minimum length setting - for already existing keystores and new files?
    Thx in advance!

    I don't know how the original keystores are createdI agree. You don't know their passwords either, or at least you can't use them. Somebody has stuffed up here. Folllow it up.
    But it is possible to use an already exisiting keystore (with the defined pwd), delete all certificates and import my new certificateAs long as you know the password. Obviously you don't. Someone seems to have misinformed you. Follow it up.
    (I know there are reasons keytool asks at least for six characters...).Exactly, and those reasons equally apply to whoever created the keystore. So in all probability they couldn't have created them with those short passwords at all. It's irrelevant. You can't use those keystores with those passwords so they have to be sent back where they came from and re-created with useable passwords. Follow it up. There's nothing else to be said.

Maybe you are looking for

  • IMac will not recognize scan function of all in one printer

    My 24" iMac will print on the HP Photosmart 3210xi All in One, but will not scan. Twice, (to ensure I didn't miss anything) I have run the manual un-install procedures prescribed from HP, and installed the appropriate driver for Mac with no success.

  • "Serious problem has occurred" when exporting

    I'm using CS3 and when I export my movie as avi, or as flv, or wmv, or anything, it says "A serious problem has occurred that requires Adobe Premiere Pro to shut down." I just finished putting this movie together and am trying to export it for the fi

  • Get the file name into a Odi variable

    Hi, I need to get the file name into odi variable like ..A/ETC/file.txt For eg.the filename file.txt should get store in a variable. Then i want to compare the file name stored in the variable with some other value. Please suggest. Thanks.

  • Problems with Java

    I usually sign in to Bestcrosswords.com every day.  Problems with the competitive section today. Unknown error  -  says it may be error on server or old (cached) version.   I have tried everything. Reload, empty cache, restarting browser to no avail.

  • Why is image over flowing content div into footer div?

    My content div is set at 975px wide padding 20px.  I insert a image that is 700x525.  Content div expands to fit image.  As soon as I set the alignment on the image to left Content div shrinks, image overflowing into footer and text in footer is wrap