All FRM messages are suppressed after buissness rules validation

hello,
i've just discovered this really odd and annoying problem and I need some help. After validating business rules all forms messages are suppressed. If I re-enter the form, messages appear again, but are "visible" only till next business rules validation.
this is the scenario:
1. When I enter the form, I disable all business rules
2. I insert some data and commit. Message FRM-40400 appears.
3. I validate business rules by pressing button "Validate" (I call procedure which enables all business rules, calls procedure capi.validate_all_static_br, disables business rules and displays errors with Qms$errors.RaiseQMSFailure)
4. if i change some data and commit, message FRM-40400 does not appear.
I've done some debugging and discovered problem in qmslib65.pll package qms$forms_errors procedure push
PROCEDURE Push
( p_msg IN VARCHAR2
, p_error IN VARCHAR2 DEFAULT 'I'
, p_msg_type IN VARCHAR2 DEFAULT ''
, p_msgid IN NUMBER DEFAULT 0
, p_loc IN VARCHAR2 DEFAULT '') IS
-- Purpose Show message to the end-user, standard procedure for the Oracle Forms
-- Generator of Designer/2000 to pass the display and handling of a message
-- to a user created procedure.
-- Usage Called by the Oracle Forms Generator code
-- Parameters : msg Text message
-- error ERRor or WARNing
-- msg_type ORA, API or user TLA
-- msg_id Id of message
-- loc Location where error occured
-- Remarks
v_msg VARCHAR2(2000) := p_msg;
v_error VARCHAR2(2000) := p_error;
v_servermsg VARCHAR2(2000) := DBMS_ERROR_TEXT;
l_empty_errorrec hil_Message.message_rectype;
BEGIN
IF p_msgid != 0
THEN
g_errorrec.severity := p_error;
ELSIF ((SUBSTR (v_msg, 1, 11) = 'API Error: ')) OR
((INSTR (v_servermsg, 'ORA-20999') <> 0) AND (v_msg IS NULL)) OR
(INSTR (v_msg, 'ORA-20999') <> 0)
THEN
-- error returned from the API, just display no further action required ?
HandleServerAPIError (p_msg);
-- M. Kappel
/* 11-apr-2001
- Allow check of v_servermsg even if v_msg contains data.
- With new-style cdm ruleframe, v_msg contains 'ORA-20998'.
We never looked at v_servermsg because v_msg was not null.
- With old-style database trigger business logic, v_msg contains only text.
If we still never look at v_servermsg, we don't identify that the error is
a 20998 and therefore we raise an alert 'Transaction Failed' instead of
showing the 'Errors in this Transaction' window.
-- ELSIF ((INSTR (v_servermsg, 'ORA-20998') <> 0) AND (v_msg IS NULL)) OR
-- (INSTR (v_msg, 'ORA-20998') <> 0)
-- THEN
ELSIF (INSTR (v_servermsg, 'ORA-20998') <> 0) OR
(INSTR (v_msg, 'ORA-20998') <> 0)
THEN
HandleServerApplError (p_msg);
-- error returned from the API, just display no further action required ?
ELSIF ((INSTR (v_servermsg, 'ORA-20000') <> 0) AND (v_msg IS NULL)) OR
(INSTR (v_msg, 'ORA-20000') <> 0)
THEN
-- error was raised by old Headstart code with raise_application_error
-- strip ora-20000 : , check if code (get message) or message
HandleOldHeadstart (v_servermsg);
ELSIF (SUBSTR (v_msg, 1, 3) IN ('FRM', 'MNU', 'PLS', 'SRW', 'ORA', 'REP'))
THEN
HandleOracleError (v_msg, v_error);
ELSE
     HandleApplError(v_msg, v_error);
END IF;
Display_Error (g_errorrec);
g_errorrec := l_empty_errorrec;
END Push;
IMO, this part of code
ELSIF (INSTR (v_servermsg, 'ORA-20998') <> 0) OR
(INSTR (v_msg, 'ORA-20998') <> 0)
is either obsolete or incomplete. It should be something like this:
ELSIF (INSTR (v_servermsg, 'ORA-20998') <> 0 AND(v_msg IS NULL)) OR (INSTR (v_msg, 'ORA-20998') <> 0)
i would like to know if anyone have simmilar problem and if there are any other solutions then above mentioned.
Kind regards,
Damjan

I'm having the same problem, i'm using 6.5.22 with the C/S-kit
Is there already a solution for this problem?
Regards,
Richard Teunissen

Similar Messages

  • Mail 2.0.5 - all my messages are missing after marking as read!!!

    Ok Mail has worked more or less fine for me after upgrading from 10.3.9 to 10.4.3..until a few minutes ago when I decided to mark all the unread messages in my inbox as read. I hadn't read quite a few, so instead of going and clicking on each one, I just selected all, right clicked, and chose Mark as Read. Suddenly they all disappeared, all but a few. I have two inboxes, one on my ISP, and one .mac. Disk Utility says the hard disk is fine, so I rebuilt both inboxes, and now my ISP inbox still just shows a few emails (appears to be the emails I've received since upgrading to Tiger, only a few days' worth), and my .mac inbox now shows about a years' worth of emails...but I know I have more than that, since I've had the .mac account for 2-3 years or so. Also next to the .mac inbox there is some sort of a progress icon (a pie gradually filling in). If I hover the mouse over the .mac account, it says "Contents stored on server. Name on server: INBOX". Which doesn't make sense, since I have always had Mail download the mail from both my accounts, deleting from server after downloading. If I get info on my ISP inbox, it displays "Account Info", and under the Show Messages on POP server, it shows a bunch of messages from about a year ago. But if I pulldown the menu and instead of showing "all messages on POP server" I choose either of the other options ("items downloaded to my Mac" or "items removed from my Mac"), the list is exactly the same.
    My mail appears to be still on my hard drive, since getting info on the various mailbox folders in ~/Library/Mail/ shows about the right amounts of data. I don't want to lose over 300MB (at least 5 years worth) of email....anyone know what could have happened, and more importantly how to fix it?? Thanks!

    Ok after thoroughly searching previous threads about similar problems (existing messages not being displayed by Mail 2.x.x), it appears the 10.4 Archive and Install didn't completely convert the mbox file from my ISP email, since there were only a few emlx files (but there are hundreds of emails in the mbox)...so I had to resort to reimporting it manually. Not sure what happened though to make Mail see all the messages for a few days after installing 10.4.3; there was no error message during the system install, and all I did that prompted all my messages to disappear was to mark all as read...
    As far as the .mac goes, I have no clue where those emails went...I discovered that somewhere along the line my mbox file for .mac account got corrupt...but nothing over a year old is even on the server, which is odd. Those messages apparently are forever lost. Add me to the statistics of why it's important to back up. :/

  • All music links are lost after installing windows 7!!! HELP!!!

    All music links are lost after installing windows 7!!! HELP!!!
    I upgraded my system to windows 7 ultimate from Vista and installed itunes 64px. but when I copy the old itunes folder into D://music and opened itunes, all my music cannot be played. each link shows the mp3 location as: file://localhost/D://music/itunes... ... I ve tried deleting library file and copy/past the original one again. doesn't work. what should I do now. It's 106 GB songs. I cannot locate them one by one nor lose all my ratings and play counts.
    please help me!!!!!!!! >_<

    Was that Win 7 update from Lenovo, or Microsoft?  If Lenovo, it should have installed those missing features. If it was from Microsoft, you have to manually install the Lenovo drivers and software.
    The easiest way to do that is to first install ThinkVantage System Update and run it.  It should download and install the other drivers and apps.  I'm running Win 7 pro 64 on my T400 - a MS upgrade clean install, then TVSU installed the Lenovo stuff.  Everything works.
    Use the "SUPPORT" button at the top of this page, then "Download drivers and software" enter T400, install TVSU and you should be off to the races.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Deleted messages are gone after 2 weeks!

    After I delete my message, it goes to the trash. I have changed the preference to go to the new folder and not automatically delete the messages after 30 days, but they are not working. My messages are gone after 2 weeks and not in any folder. Please help!

    Welcome to the Apple community.
    Have you checked the settings and preferences on all your devices that sync your mail, if your mail is set to be removed after two weeks on any device, then that action will be synced across all of them.

  • My mail messages are blank after upgrading to OS X Mavericks. How do I fix this??

    My mail messages are blank after upgrading to OS X Mavericks. How do I fix this??

    Hi, I had this same problem. I have a load of work subfolders and was showing the message header but no content. I think it lost the link to the original messages.
    There may be a simpler way but I fixed it by going to the mail folders in finder. I took the following steps:
    Go to user library (hold down the alt key whilst clicking the Go menu in finder to access user library)
    Go to user/Library/Mail/V2/Mailboxes. You should be able to see your mailboxes and your original messages (ending .emlx) after clicking down the hierachy in each mailbox. For some reason mail added a "-2" onto the end of each mailbox which I think has caused the problem.
    Copy each required mailbox (.mbox) onto desktop. I removed the "-2" at this stage to clean things up.
    In Mail, choose File/Import Mailboxes....
    Import data from: Apple Mail. Click continue, navigate to desktop and choose the relevant .mbox folders. Click Choose.
    It should then import the mail to a new folder called import in mail. You can then rename that folder or move the subfolders out.
    I moved the .mbox folders on my desktop to my documents folder as a backup just in case. I then deleted the problem mailboxes from the finders mailboxes folder.
    Problem solved - for me anyway!!
    Hope this helps.

  • Help! all outgoing messages are copied to me-very irritating

    Help! all outgoing messages are copied to me-very irritating

    I've now done Literally every possible thing listed in the help
    or that I was told to do in this thread, and nothing has worked.
    Not sure what you mean. Have you tried uninstalling all the plug-ins as well? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/InputManagers /Library/Mail/Bundles ~/Library/InputManagers ~/Library/Mail/Bundles
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • My inbox indicates a message is receive but all my message are open and so how can I fix this that the inbox will not indicate that I receive a message (one)

    my inbox indicates a message is receive but all my message are open and so how can I fix this that the inbox will not indicate that I receive a message. It shows that I received one message?

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • The bar that says sending message wont go away it just keeps saying sending message yet all the messages are gone and recieved and it just stays there, ive tried restarting booting, syncing everything i cant think of

    the bar that says sending message wont go away it just keeps saying sending message yet all the messages are gone and recieved and it just stays there, ive tried restarting booting, syncing everything i cant think of

    Double tap the home button to bring up the multi-tasking bar, tap & hold any icon until they all start to wiggle, tap the red minus sign & close every app listed, tap home button when finished. Then reset your phone:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release.

  • All messages are gone after deleting some text messages iOS8

    Hi guys!
    I've got a quiet annoying issue. Don't know if that is the hardware or software problem. I've replaced my 6 plus because of camera problems, and after that each time I try to delete ANY message from message app, app just crushed, and each time you're opening it it shows you empty inbox plus "new iMessage" window. That's not the end. Closing the app doesn't solve the problem. All of contact are gone in the same time so iMessage, phone call stop working. The only solution is restart the phone. Open the message app, close it again and open. But all of deleted messages are restored...
    Any ideas how to solve the problem?
    Erase content and restore from backup doesn't work, plus new update has been released today - still the same problem.
    Thanks for the answers!
    Adam.

    Hello Adam,
    Thanks for using Apple Support Communities.
    Given your previous troubleshooting, the next step for this issue is to reinstall iOS.  If that doesn't work, then the next step is to restore to factory settings.  To reinstall please follow the directions outlined below.
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    Use iTunes to restore your iPhone, iPad, or iPod to factory settings - Apple Support
    Have a good one,
    Alex H.

  • TS4268 my imessage was working fine on monday as of friday it stopped working and all my message are going to my ipad and not sure what to do i have tried the steps above

    my imessage is not working all messages are being sent to ipad

    Hello pinkyakabella,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Best of luck,
    Mario

  • All email messages are marked as read with imap account automatically.

    I have a imap account pointing to an exchange 2007 server. The messages are being marked as read automatically. I removed any settings on a computer accessing the same account with outlook, that might be causing this.

    Let me clarify what I said across all the responses in this topic. If you are operating a PC with say Outlook Express or Windows Mail, and a Mac with Mail, and furthermore if both are able to download a message from a POP server, and on both computers it is marked as Unread, then reading the message on one of the computers will not cause it to then be marked as Read on the other, operating in POP.
    But if the server makes the assumption that the first computer to download a message from it means that it is also then Read, then of course taking away one of the computers will alter things. This is what I said in:
    http://discussions.apple.com/message.jspa?messageID=10506769#10506769
    If you can disprove this, then lay out your facts in detail, but don't mix looking at the server with Firefox on one computer, and Mail on still another. Firefox is not an email client, but a browser. Using Thunderbird on the PC, and Mail on the Mac would be an equivalent test.
    Ernie

  • Where all downloaded messages are gone?

    I am new user of iPhone 3G. I managed to download all email messages. But yesterday I switched my phone off and when I switched it back no message was in the in-box. Do I need to re-download all messages again?
    What has happened? Is it normal functioning of iPhone email? Thnaks , Wieslaw

    Hey John, did you ever wonder if it was a good idea to back up your data?

  • Not all archived messages are displayed

    Have a strange situation with archived items for a user. I can only see archived messages in the inbox window up to a certain date but when I do a find based on a later date than what is showing, the messages are there. Total items in archive show as 65535. Is there a limit on how many archived messages are displayed?
    Thanks

    On 3/15/2011 4:06 PM, ssiegler wrote:
    >
    > Have a strange situation with archived items for a user. I can only see
    > archived messages in the inbox window up to a certain date but when I do
    > a find based on a later date than what is showing, the messages are
    > there. Total items in archive show as 65535. Is there a limit on how
    > many archived messages are displayed?
    >
    > Thanks
    >
    >
    That's the limit.

  • I have just had an iPad mini but all my messages are coming through on my iPad and iPhone how can I stop this happening

    I have just had an iPod mini but my messages are coming through on my iPad and my iPhone how can I stop this happening ? Do I need to reset my iPad ?

    To prevent messages from reaching both devices you can turn off Messages on the device you do not want to receive messages but keep Messages on on the device you do want to receive Messages.
    You might also look at this option for both devices.
    Settings > Messages > Send and Receive > review the a riotous choices for how you can e reached and select the ones that are most appropriate for you and the device you are setting.

  • In iMovie, all my files are empty after upgrade. How can I find them?

    I went into iMovie today to look at some old videos and notice mostly all my files are empty. I'm not sure how long its been this way, but it seems like it happened over the summer sometime. I only have files from June to the present. Where can I find them?
    I tried to read up on others with similar problems and tried some of the suggestions, but no luck.

    In the Event mode you an sort the events  this way:
    In the Photos mode (without Event titles displayed) the photos can be sorted this way:
    For organizing your photos this post by Terence Devlin is has some excellent suggestions: Better way to organize my images?: Apple Support Communities.
    OT

Maybe you are looking for