BC4J - The biggest bug ever

Hi,
I have a field in in view that has the precision (8,4) in the database. And as a result of some computation the
value in the field is 1.45678 This value throws an error
(invalid precision) when is set
row.setAttribute ("CoefGlobal", new oracle.jbo.domain.Number (1.45678))
And stops my interface. What I was expecting from the field is to be rounded to 4 digits precision and not to throw an error . You don't expect from me to make sure that all numeric the fields in a view are respecting the database precision. Not all the field are inputed throw the interface.
regards,
Lucian

For this instance, I would expect to have to validate the data before submitting it. The reason for this is that there are many situations where I would rather have a user shown an error message then automatically round their data. Take a financial application. The field is Number(8,2) which is like currency (dollars and cents). The user puts in 4.525 representing 4 dollars and 52 and a half cents. I would rather tell the user that the system does not support the half cent then automatically chop it off and produce inaccurate results.
To this end, you can set up validators to check for things like this at the BC4J level. In this case you could create a method validator which checks the scale and automatically rounds to the correct scale (your desired result).
Hope that made sense!

Similar Messages

  • Bug: I have the biggest iPod ever

    So apparently I can store almost 1,500,000GB of audio on my iPod, and I still have another 62GB free! Those 160GB-toting iPod owners have nothing on me.
    Seriously though, this is a bug. iTunes has been displaying my usage like this for a long time, through many iTunes versions and several iPod restores. It's more annoying than anything else but it would be great if it was accurate. I don't actually know if I can rely on the "free space" figure.
    Message was edited by: Arlayn

    Doesn't make a difference.
    I have discovered the only way to get iTunes to reflect the proper usage information is to force it to access every single file. ie, I select all music and change the genre to something else. After it's finished the numbers are correct. But, the next time I use iTunes again, the numbers are back to the millions.

  • The biggest problem ever

    I've a blackberry curve 9300 v 5.0.0.977 for almost one year. However, three days ago the battery was full, after I removed the charger,  an immediate system message was shown which said battery is down and the device was shut. Furthermore, my bb now doesn't work unless it's connected to the charger. 
    I'm wondering if it's a system or battery problem. I wish you'll be able to solve it 

    Hi Marwan_Al-Rimi,
    Are you able to test with another battery? If so, I would advise doing this first to rule out any issue with the battery itself.
    If a different battery does not resolve the issue, you may want to try reloading your BlackBerry® Device Software to rule out any software issue that may be causing this.
    Please try backing up your data using the BlackBerry® Desktop Software and reloading your BlackBerry® Device Software. For further instructions, see the following KB article. How to perform a clean reload of the BlackBerry Device Software for Windows. www.blackberry.com/btsc/kb11320
    Hope this helps.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Sure wish 2.0.1 fixed THE worst bug of all.  (Ring Tone Volume Issue)

    Man, I was so excited to get the 2.0.1 update because I was SURE that Apple would fix the biggest bug of them all with the update.
    Nope.
    Of course not.
    My ring tone volume level is still 100% tied to my iPod volume level.
    100% stupidity.
    Please fix it Apple. Please?

    Man, I was so excited to get the 2.0.1 update because I was SURE that Apple would fix the biggest bug of them all with the update.
    Nope.
    Of course not.
    My ring tone volume level is still 100% tied to my iPod volume level.
    100% stupidity.
    Please fix it Apple. Please?

  • TS2755 When will Apple ever make it convenient for the customer, I just bought an iPad Air and I'm very upset that I can only use iMessage, iPads are the biggest mistake to buy. I'll never buy another if I can text using SMS or MMS

    When will Apple ever make it convenient for the customer, I just bought an iPad Air and I'm very upset that I can only use iMessage, iPads are the biggest mistake to buy if you like texting family and friends. I'll never buy another one if I can't text using SMS or MMS.  Is there any hope for a patch or new operating system to fix this issue, or an app to use with iPad Air

    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
     Cheers, Tom

  • Who can solve Leopards  biggest bug?

    All these topics are connected the same bug in Leopard mail. Password changes to apop.
    " Mail keeps asking for password
    Mail keeps asking pop3 password
    Apple did not fixed their biggest bug in Leopamailsettings can´t be saved.
    Mail changes setting to from password to "APOP
    bugg:mail.app converting pop mail settings to apop from password won't save
    Mail and lost passwords
    Can't receive Mail - authentication setting keeps shifting...
    Does Mail have Alzheimers"
    Can't get Mail working properly
    Mail Changing Authentication Spontaneously
    Mail-POP accounts go offline-can not get back online - error on port 110
    password for mail
    Mail settings changes by itself "
    I have been dealing with the matter since december. The problem also has been seen in Verizon and Daemon pop accounts.
    In the there have been many suggsestions to solutions.
    But so far nobody has been able to find a solution to why the mail settings changes from passwords to Apop and you are prompted for a apop password.
    Apple has not fixed this bug and so far none here.
    Is there somebody outhere who is able to fix that bug that Apple failed to fix?

    Ummm...the best thing to do is not setup your Keychain password to be accepted once. When asked to accept your keychain, use the Always button.
    Applications -> Utilities -> Keychain Access application has the option to repair the keychain from its menu. Use that to repair your Mail keychain.
    If you are using any cache cleaning applications quit using them. They conflict with many an application and can cause damaged cache files, which among them are Mail's own:
    http://discussions.apple.com/thread.jspa?threadID=1322708&tstart=10
    Repair permissions with Applications -> Utilities -> Disk Utility, and not some third party utility.
    If you aren't having any mail issues, don't create them by trying anything rash.
    If your system is functional, back it up before doing anything else, and after saving any important files, so that if you add something to your system and it becomes malfunctioning, you can restore your backup. See my FAQ* on backing up:
    http://www.macmaps.com/backup.html
    For people having issues that aren't resolved here, please start a new topic thread here:
    http://discussions.apple.com/forum.jspa?forumID=1223&start=0
    You'll get more focussed attention, and won't be confusing the original poster with solutions that don't apply to them.
    - * Links to my pages may give me compensation.

  • Captivate 7 - The Exit Bug and a Solution

    Hey Everyone,
    I wanted to take a second and share some good information I found in regards to SCORM and the Exit functionality in Captivate 7. Below is the blog post that shows how to make the Adobe Exit functionality "SCORM Compliant" and solved my issues when uploading my project and getting them to exit. Hope this helps
    Captivate 7, Exit Bug and a Solution
    Several of our Inquisiq R3 users have alerted us to the fact that courses developed with Captivate 7 published to HTML5 and SWF do not close properly when using the “Exit” button, forcing the user instead to manually close the browser window by clicking the “X” in the upper-right corner of the browser window.
    Through our investigation into this issue, it appears that the process that Adobe has implemented when clicking the “Exit” button is to simply attempt to close the content window and rely on the LMS to capture and commit the session data. Nowhere did we see that the content was actually calling the “LMSFinish()” [SCORM 1.2] or “Terminate()” [SCORM 2004] methods in the LMS’s SCORM API to commit the lesson data to the LMS as required by the SCORM specification.
    Adobe uses their own defined function, “DoCPExit,” to close a lesson window.  This method contains a “window.close()” call and additional logic to “bubble up” the command through the frame parents (if they exist and also contain the “DoCPExit” method - presumably because they would also be Adobe-published content files within your package).
    There are several flaws to this approach.
    By not calling “LMSFinish()” or “Terminate(),” the content is, by definition, not SCORM conformant.  Part of the minimum requirements for conformance are that the content calls the initialization method “LMSInitialize()” in SCORM 1.2 or “Initialize()” in SCORM 2004 and the  termination method “LMSFinish()” in SCORM 1.2 or “Terminate()” in SCORM 2004. The LMS is not required to clean up the data left behind when the content fails to make this call. So if your LMS doesn’t take this additional step (of setting ‘LMSFinish’ or ‘Terminate’ if the lesson does not), your data will be completely lost…i.e. no record of you taking the lesson will be recorded.
    The call to close the browser window will fail if the LMS is running the content within a frame or iframe. Since the SCORM specification allows content to be launched in frames or iframes (in addition to new browser windows), lessons need to be able to accommodate this scenario. Even with the “bubble up” logic, once the call reaches the top most content window, and the next parent window in line is the LMS container page, the call will no longer be passed and a “window.close()” call will be fired within the framed page.  When this call is made, nothing will happen as a framed page cannot close the browser window using this command. Through our investigation, we’ve learned that at least 4 other well-known LMSs have experienced this particular issue.
    Ironically, the solution that we’ve discovered is not only SCORM conformant, but also very simple and follows what we would consider to be SCORM “best practices”.  The foundation and logic for the solution is already contained within the published Captivate files (and it is the same solution whether you publish to SCORM 1.2 or SCORM 2004).
    We simply modify the “DoCPExit” method that is contained within the “Utilities.js” file to call the “Finish()” method.  Just replace all the code appearing between the “{“and the “}” as you see here:
    function DoCPExit(){     Finish();
    The “Finish()” method that we have inserted is, as mentioned, already contained within the published Captivate files and contains the logic to properly set the exit parameters and correctly identify whether the content is SCORM 1.2 or SCORM 2004; it will therefore make a call to the correct close method (“LMSFinish()” or “Terminate()”) accordingly.  Once the LMS has received this command, it should take care of removing the content properly, leaving no need for any “bubble-up” logic or window close calls within the content code.
    Overall, if the lessons you develop with Captivate 7 work as expected and required in your LMS, there is no need to implement this change. However, if your lesson’s Exit button is not working as it should, and/or you are losing progress and status data when closing the lesson, the fix described here should resolve all those issues.
    The biggest issue here is that since we’re changing published code, the next time you update and publish that same Captivate project, you have to remember to change that published function code AGAIN, as Captivate will simply publish the default code.
    We have been in touch with the Captivate team to discuss this problem and they are investigating. We would hope a patch to address this flaw would be released in the near future
    All credit of this fix goes to http://blog.icslearninggroup.com/2013/10/captivate-7-exit-bug-and-solution.html

    Try clearing out your project cache (Preferences > General > Clear Cache) then republish using the option to Force Republish All Slides.
    If that doesn't resolve the issue, you may be seeing the early stages of project file corruption.  Check the suggestions in this post about troubleshooting issues where you may need to copy all slides to a new blank project shell to try and strip out corruption:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques

  • NOKIA MAPS! The biggest scam! Simply **bleep**

    All users are complaining about NOKIA MAP Loader. Nokia is not giving any answers. So, we don't want to became nokia betatesters. Stop using this application... it is the biggest **bleep** i have ever seen!

    I think route dragging should be implemented. It is a pain in the neck to always use additional waypoints, just to find the correct route 

  • When will the maps bug in IOS6 be fixed?

    When will the maps bug in IOS6 be fixed?

    richard0801 wrote:
    Thats not where they are thats where Apple think they are, try coming out of Victoria walking straight across the road and you are in ?????   god knows where on apple but its not where you acually are, I have tried it and its total crap. By the way there are 2 Hammersmith underground stations. Your map just shows 1 pin
    You explicity claimed that "all 400 stations are missing" in Apple Maps. I only needed to locate one to prove you wrong. Instead, I proved you doubly wrong. I didn't realize I needed to prove you triply-wrong. Oh well...
    Naming subway stops is not Apple's responsibility and obviously not London's strenths. The pin shows the general location of "hammersmith".
    Okay I am in Holloway road, where is the nearest station to me?, if I don't know the name I cant find the station.  I know there are 6 but Apple does not show any of them
    When I enter "holloway road london", I get a bunch of pins and the first one that automatically gets selected is the subway station. Since that is one of "any of them", you have been proved wrong 4 times over.
    Etre have you ever been out and used walking maps? I think you need specsavers
    Do you actually own an iPhone? Are you aware it has GPS? Have you really ever actually tried it? Because when I manually nagivate to one end of Holloway road and search for "underground", I get this:
    Strangely, if I go to the other end of the street and do the same thing, I get an entirely different station:
    I wonder what would happen if I did a similar search for "underground" while zoomed in on the "hammersmith" pin?
    Well what do you know? But how would I ever get there? Hmmm, you mentioned "walking maps". Maybe I should try walking directions from "hammersmith" to one of the underground stations.
    By my count, I have proved your anti-Apple Maps misinformation to be wrong 6 times over. Wanna try for a lucky seven?

  • My husbands ipad2 keeps freezing on the screen, when he has entered the password what ever he working on stops after approx 2 minutes. It only started this morning and has been working perfectly prior to this.  I purchased this 64gb 3G machine via eBay

    My husbands ipad2 64gb 3G the screen keeps freezing. What ever you are working on stops after about 2  minutes the screen freezes and after another few moments you are required to put you password in again. It only started this morning and had been working perfectly until today. I purchased from eBay three weeks ago. If watching bbc new you can only watch for 2 minutes and same for video and games. Keeps coming back to screen saver where all icons are.  Sometimes we are to use the on off button to get it going again.  I set it up the same as my own iPad 32gb. Hope you can help? Thanks.

    Spilled water without flavorings and especially without sugar is something from which your computer may recover. The best thing to do is to shut off as quickly as possible and remove the battery pack. Place the computer in a sunny window with the lid open to promote evaporation of the water. On top of a refrigerator is also a warm perch that'll promote drying. It is difficult to say exactly how long it takes to dry the computer; that depends on ambient temperature and humidity, and how how water is in there.
    The biggest threat from the water is corrosion of metal parts, so drying quickly is a must. Also, water can form mineral salt deposits that can grow conductive dendrites between adjacent traces on printed circuit boards. The formation of dendrites is aggravated if you apply power before the machine is dried out. The worst damage would be if water managed to get in the breather hole of the hard drive - luckily, the way the drive is mounted, that would be fairly unlikely.
    Bill

  • How do I exclude directories from Finder search results? I'm trying to find the biggest FILES on my computer and it keeps showing me "Macintosh HD" as the biggest, how can I search for files of type "NOT folder/directory"?

    Basically I've lost 10GB of free space over the last few weeks so my plan was to search for files modified in the last 2 weeks in order to figure out which ones are big and where that space went.
    So I open finder, go to "File > Find", and enter a search:
    Modified > In the last 2 weeks
    All fine so far.
    Problem is, it's showing whole directories as results. Which essentially means that when I order the list by size, Macintosh HD is at the top, followed by "Users", then "Applications", then one of my bigger movie files, then "Library", etc.
    How can I do a search which will ignore folders? I want individual files. Knowing that Macintosh HD is the biggest item on my computer and was modified in the last 2 weeks is utterly useless to me.
    Older versions of Finder in OS 9 had a feature where you could search for "files, whose type "IS NOT" folder", but OS X doesn't seem to have such a feature.
    Can anyone help?

    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/

  • A while ago I wanted to download/buy an album on my iPhone 4 but I didnt have enough space so I deleted some stuff and downloaded the album. well ever since then my other music won't play, only that one album will play and none of my other music will play

    a while ago I wanted to buy an album but I didn't have enough space on my phone, (iPhone 4) so I deleted some things off my phone and downloaded the album. well ever since then all my other music won't play, only that one album will play. I thought it was because I havent been able to get the software update on my phone but I don't have enough space for that either. I deleted almost all my photos, all my apps, i deleted almost all the info that is on the apps that you can't delete, but it says I have too much music and I only have 45 songs!!!!!!!! and I don't want to delete them because that's what I'm trying to listen to but I can't because of whatever reason. PLEASE HELP!!

    1, you can't at the moment, though with iOS 5 in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device
    2, by removing it from you synced from and re-syncing. Only photos taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad (either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view)
    3, the location of the photos that you synced to the iPad should be listed on the iPad's Photos tab when connected to your computer's iTunes.
    4, you can copy the photos from your iPad to your computer : http://support.apple.com/kb/HT4083 . You should also be able to delete them from the iPad as part of the transfer process to your computer, and it's then your choice whether to add them to your sync photo list so as to copy them back to the iPad. Copying them to your computer would allow you to organise them into folders and therefore be able to sync them back into separate albums.
    5, I don't use Dropbox either. There are some third-party browser apps in the iTunes App Store that allow you to download pages so that you can view them when offline e.g. Atomic Web (the whole page is saved within Atomic Web, it doesn't place a photo into the Photos app)
    6, deleting content should help. If you remove an app from your iPad then you also remove the content that it's got on the iPad - so if you then decide to reinstall it back onto the iPad then you will need to manually add back any content that you want in it. None of the Apple built-in apps (including Photos) can be removed from the iPad

  • For the first time ever... firefox has been crashing all day... is it suddenly not compattable with my windows 7? or what is going on? which version would work best for me?

    today for the first time ever... firefox will not work.. it constantly is going to not responding... and i have never had this problem before... is it suddenly not compatible with windows 7? what is best suited for windows seven users?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • When will Mozilla correct the printing bug with Firefox where only 1 page is printed?

    There is a problem with FireFox whereby it only prints the FIRST PAGE of many sites.
    Searching the web on this, it seems that this problem has been around for a long time and even what the cause is.
    Apparently FireFox interprets the html text "overflow: hidden" as meaning to 'hide' all the rest of the page when printing.
    Many users have reported this problem, but to date it has not been adressed.
    Please correct this Mozilla (Or do I have to go back to using Safari?)

    Please go to the following bug and add a comment documenting this problem:
    https:// bugzilla .mozilla .org/ show_bug.cgi?id=258397
    If more people report this problem, there is a better chance they will fix it.
    ''Moderator broke the hyperlink. Please don't advocate the spamming in Bugzilla reports, if anything request that users '''vote''' for a Bug that they think should be fixed. That particular Bug is a duplicate of this one - https://bugzilla.mozilla.org/show_bug.cgi?id=129941 - which was fixed in 4.0b7.''

  • As a Mac user, what action do I take in relation to the Heartbleed bug?

    As a Mac user, what action do I take in relation to the Heartbleed bug?

    None except don't visit servers that have not updated their openssl server.

Maybe you are looking for

  • Anyone else find that Speed Dial fails to work after reinstalling version 3.6?

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/810782'' Since I cannot go without the McAfee Site advisor, I ran a system restore. THAT did not work, Firefox won't start. So, I reinstalled 3.6. That got Site Advisor to work ag

  • Create PDF button gone from Excel worksheet

    Recently had to restore computer back to factory. I installed full CS4 WebSuite which includes Acrobat. I used to have a PDF button in Excel that would let me create a PDF from an Excel worksheet. How do I get that back? I used to use Office 2003 and

  • Regarding transaction data in IDOC

    Hey hi guys ... well i am here just want to clarify a doubt ..that wether transaction data can be sent in an IDOC...i heard only master data can be sent .... well the issue is ... i want to intimate the legacy systems when even there is a change in t

  • Open with contextual menu

    My problem: When i select/highlight "Open with" option in the Finder Contextual Menu, then Finder quits. i.e. the open with menu doesn't even expand- just highlighting/hovering the cursor over it, causes Finder to crash. This has been happening for q

  • CS2 - Can't select points with direct selection tool

    Noramlly in CS5 and any other version of Photoshop or Illustrator that I know of, if you click a point in an object, it will show the handles for transforming the line. As I'm creating something today, it works for a while and then stops. Yesterday I