I've the following problem:
I have an Oracle forms Application where the User can call multiple Forms.
I also have an Menu with an Logout button, that should close all open Forms.
When this button is pressed I set :GLOBAL.LOGOFF to 'TRUE'. And in WHEN_WINDOW_ACTIVATED I have placed the following code.
DEFAULT_VALUE('FALSE','GLOBAL.LOGOFF');
IF (:GLOBAL.LOGOFF = 'TRUE') THEN
COMMIT;
DO_KEY('EXIT_FORM');
END IF;
This whole thing also works when the Oracle Forms Application is called from a browser.
But when I call it via JNLP it crashes the application. I get the following errors:
FRM-40735: WHEN-FORM-NAVIGATE
FRM-40735: WHEN-NEW-ITEM-INSTANCE
FRM-40735: WHEN-WINDOW-DEACTIVATED
All with:
ORA-06508
I don't understand how the Forms Application is reacting differently depending on if it is executed via JNLP or from a Browser.
Although I question why you are doing logoff handling in a WHEN_WINDOW_ACTIVATED trigger, it is possible what you are seeing is related to a known issue. Refer to these Oracle bugs that all map together. You may need to work with Oracle Support as some of the bugs and/or their content may not be visible to you. 9764631, 22724515, 26996652
Also, if you are not already using 12.2.1.3, you will need to update your version in order to get the fix I mentioned.
Helpful resource:
https://community.oracle.com/community/development_tools/forms
Related
The DialogFlow CX with Page Form Parameters was working well in the test simulator and recently, my chat bots are not responding after user inputs.
When i tried to troubleshoot the issue i realized that the $page.params.status='FINAL' or the $page.params.someparameter.status='UPDATED' events are not firing properly. Due to this the routes are getting failed.
Initially i thought the issue is in my Project. Then i tried the prebuilt agent (travel-baggage claim) in another project. Even that behaves the same without any response after the user inputs are collected.
I also reported this issue to the Developer Advocates in Twitter and updating here as well to get some response from the community.
I’ve tried to replicate your use case but I was able to successfully trigger the condition routes $page.params.status = "FINAL" and $page.params.parameter-name.status = "UPDATED" as expected and transition to the defined page from my end.
See the following for reference:
$page.params.status = "FINAL"
$page.params.parameter-name.status = "UPDATED"
To troubleshoot the issue, you may check if all the conditions defined in your condition route are fulfilled. Also, you may need to check if the condition rules applied is OR or AND. If AND, make sure that all conditions are fulfilled in order to transition to the defined page or flow.
As for the prebuilt agent Travel: baggage claim, I was also able to replicate the same behavior. However, I noticed that this is a different issue since the issue is caused by the webhook being unable to provide a response and not caused by triggering the condition route. I was able to verify this by adding a static response on the condition route and by checking the logs from the simulator. See screenshots below for more information.
Static response
Log snippet from simulator
I tried creating a new flow and migrated all the pages and it works well. I suspect the flow got corrupted when i programmatically tried to update via API.
I am trying to use the oracle's apex_error package to implement error handling in my app.
test app: https://apex.oracle.com/pls/apex/f?p=145329:2:11482099171656::NO:::
table created: constraint_lookup
function provided by oracle "apex_error_handling_example". https://docs.oracle.com/database/apex-18.1/AEAPI/Example-of-an-Error-Handling-Function.htm#AEAPI2216
The solution works fine except when you click on the error it gives error in console instead of taking you to the tab of the IR report.
Now click on the message so it should take you to the duplicate DeptID, but it just gives you error in the console.
I have tried to handle this at page level, application level also I tried to set the column_alias manually so I don't have to use the APEX_ERROR.AUTO_SET_ASSOCIATED_ITEM but all in vain.
Any help and your time will be much appreciated.
I have a CI application that works in the Browser and ElectronJS, I am using FPDF to generate some reports, but I have a problem when a I need to open the PDF from ElectronJS to Internet Explorer or Chrome. If I launch PDF link from Electron I get and syntax error on model query. But if I login using the browser and relaunch the PDF everything works well, It looks like the problem is the session that not exists in browser... but I don't have idea how to solve this problem. Can someone help me?
Electron app
Browser error after launch the PDF from Electron
Sorry for my English, regards...
You're not showing any code, but a simple inspection to your DB error shows what the problem is:
where a.codigolocal= and adddate(...)
See how the a.codigolocal= constraint doesn't have anything after the = sign and goes straight to the next and clause?
This is very likely because what you are passing as an argument to that constraint comes from the session cookie. No cookie, null value, syntax error.
You need to make sure you have all the data you need (either by checking there's an active session before running the query, or by making sure your query doesn't depend on a session variable that may or may not be there)
I am developing custom application in Oracle Apps which will call an oracle form named form.fmx
I have put form.fmx in FORM_PATH variable of default.env
I have created section called vikram in formsweb.cfg
I am accessing as http://prod.txis.com:7406/forms/frmservlet?config=vikram&form=form
And getting this error
URL validation failed. The error could have been caused through the use of the browser's navigation buttons ( the browser Back button or refresh, for example). If the error persists, Please contact system administrator.
Try one of the following methods to resolve your issue :
Goto Internet Options >> Security Tab >> Trusted sites >> Sites >>
Add this website to the zone.
Issue select fnd_profile.value('APPS_MAINTENANCE_MODE') from dual;
to see whether returns the result NORMAL, If this is not the case you're in the maintenance mode, and use :
sqlplus mySchema/myPassword#$AD_TOP/patch/115/sql/adsetmmd.sql DISABLE
Click on Lock and Edit, and then
Navigate to Domain structure >> Services >> Data sources Where you should see both oacore_cluster1 and forms_cluster1 in
the EBSDataSource targets.
Assume forms_cluster1 is missing in the EBSdatasource target list, then click on the EBSDatasource and then go to the
Targets section. In this page, check the box for forms_cluster1.
Save and Activate the changes and see the following view in you weblogic screen :
Issue was with Forms server configuration.
With correct config, it is running fine
I am working on QTP 11. I my current project I am trying to automate a website with AJAX fields. I my project I have a text field on which if we try to enter characters then AJAX table appears and we have select a suitable value from the below table. I am able to check the existence of AJAX table.
The problem is to set the text field through QTP, AJAX is not getting invoked. But manually it is working properly. Also, if I first try manually and then I try to enter any through the script, then also it is working properly. It is not possible for me to check each field manually then enter it through script. So can any body tell how AJAX can be invoked on first try without any manual intervention?
I have tried to Set property, Keyboard events like WScript.shell, Mercury.DeviceReplay and AutoIt, however none of them are working. Are there any keyboard input methods that I have missed out?
Can somebody please help me out?
Try performing a WebEdit.Click on the text field in question. If this doesn't work it means that the web page is expecting some events that QTP didn't fire in this case you should change to device replay mode
Setting.WebPackage("ReplayType") = 2
Browser(...).Page(...).WebEdit(...).Click
Setting.WebPackage("ReplayType") = 1
I had the same issue, not recognizing the web list (not selecting the item from list). Using QTP 11.5 loaded with web toolkit 2.0, ASPAjax, DOJO, JQuery add-ins. Still showing the same behavior.
However there is nothing wrong with the code, if I give some wait the code is working OK.