Incident Tracking Packaged Application error
I installed the "Incident Tracking" prepackaged application that came with my APEX 4.2. Inside the application, I created a new "Assignee" and then proceeded to assign a ticket (via Tickets screen) to the newly created assignee. When I do this, it then puts the below text in a text bubble "Updates", the text should actually read changed from to "Name of the newly created assignee" instead of a the number, which is the ID in the assignee table. Which I believe is a bug, I'm looking for a fix for this, but struggling to find where to edit the code for this, can anyone help? I think the code sits inside an internal plugin in the application, but am having trouble finding it.
Update Assignee changed from to *284657827008667618081368371512647126206*
[email protected] - Wednesday 20-FEB-2013 03:17 (Now)
When searching for the code I found it in...
...... SNIP ......
wwv_flow_api.create_page_plug (
p_id=> 21813153649240572742 + wwv_flow_api.g_id_offset,
p_flow_id=> wwv_flow.g_flow_id,
p_page_id=> 50,
p_plug_name=> 'Right Side',
p_region_name=>'',
p_escape_on_http_output=>'Y',
p_plug_template=> 0,
p_plug_display_sequence=> 100,
p_plug_new_grid => false,
p_plug_new_grid_row => false,
p_plug_new_grid_column => false,
p_plug_display_column=> 1,
p_plug_display_point=> 'REGION_POSITION_03',
p_plug_item_display_point=> 'ABOVE',
p_plug_source=> s,
p_plug_source_type=> 'PLSQL_PROCEDURE',
p_translate_title=> 'Y',
p_plug_query_row_template=> 1,
p_plug_query_headings_type=> 'QUERY_COLUMNS',
p_plug_query_num_rows => 15,
p_plug_query_num_rows_type => 'NEXT_PREVIOUS_LINKS',
p_plug_query_row_count_max => 500,
p_plug_query_show_nulls_as => ' - ',
p_plug_display_condition_type => '',
p_pagination_display_position=>'BOTTOM_RIGHT',
p_plug_customized=>'0',
p_plug_caching=> 'NOT_CACHED',
p_plug_comment=> '');
end;
declare
s varchar2(32767) := null;
l_clob clob;
l_length number := 1;
begin
s := null;
wwv_flow_api.create_page_plug (
p_id=> 21813153853846572743 + wwv_flow_api.g_id_offset,
p_flow_id=> wwv_flow.g_flow_id,
p_page_id=> 50,
p_plug_name=> 'Incident',
p_region_name=>'',
p_escape_on_http_output=>'Y',
p_plug_template=> 21813089941594564463+ wwv_flow_api.g_id_offset,
p_plug_display_sequence=> 80,
p_plug_new_grid => false,
p_plug_new_grid_row => false,
p_plug_new_grid_column => false,
p_plug_display_column=> 1,
p_plug_display_point=> 'BODY_3',
p_plug_item_display_point=> 'ABOVE',
p_plug_source=> s,
p_plug_source_type=> 'STATIC_TEXT_ESCAPE_SC',
p_translate_title=> 'Y',
p_plug_query_row_template=> 1,
p_plug_query_headings_type=> 'COLON_DELMITED_LIST',
p_plug_query_row_count_max => 500,
p_plug_display_condition_type => '',
p_plug_customized=>'0',
p_plug_caching=> 'NOT_CACHED',
p_plug_comment=> '');
end;
declare
s varchar2(32767) := null;
l_clob clob;
l_length number := 1;
begin
s:=s||'select '||unistr('\000a')||
' '''' class, --use grayComment for gray look'||unistr('\000a')||
' ''Note'' note_type,'||unistr('\000a')||
' replace(sys.htf.escape_sc(dbms_lob.substr(note,2000,1)),chr(10),''
'') note_text,'||unistr('\000a')||
' '''' attribute_1,'||unistr('\000a')||
' '''' attribute_2,'||unistr('\000a')||
' '''' attribute_3,'||unistr('\000a')||
' '''' attribute_4,'||unistr('\000a')||
' lower(created_by)||'' - ''||to_char(created,''Day DD-MON-YYYY HH24:MI'') created_by,'||unistr('\000a')||
' apex_util.get_since(created) c';
s:=s||'reated_on,'||unistr('\000a')||
' '''' attribute_5,'||unistr('\000a')||
' created'||unistr('\000a')||
'from EBA_INTRACK_NOTES '||unistr('\000a')||
'where INCIDENT_ID = :P50_ID '||unistr('\000a')||
'union all'||unistr('\000a')||
'select '||unistr('\000a')||
' ''grayComment'' class, --use grayComment for gray look'||unistr('\000a')||
' ''Update'' note_type,'||unistr('\000a')||
' case follow_up_type '||unistr('\000a')||
' when ''STATUS_CHANGE'' then'||unistr('\000a')||
' ''Status changed from <strong>''||'||unistr('\000a')||
' (select status_name from EBA_INTRACK_STATUS where id = status_old_va';
s:=s||'l)||''</strong> to <strong>''||'||unistr('\000a')||
' (select status_name from EBA_INTRACK_STATUS where id = status_new_val) ||''</strong>'''||unistr('\000a')||
' when ''CLOSE_DATE_CHANGE'' then'||unistr('\000a')||
' ''Close date changed from <strong>''||status_old_val||''</strong> to <strong>''||status_new_val||''</strong>'''||unistr('\000a')||
' when ''ASSIGNEE_CHANGE'' then'||unistr('\000a')||
' *''Assignee changed from*+ <strong>''||sys.htf.escape_sc(status_old_val)||''</s';
s:=s||'trong> to+_ <strong>''||sys.htf.escape_sc(status_new_val)||''</strong>'''||unistr('\000a')||
' when ''URGENCY_CHANGE'' then'||unistr('\000a')||
' ''Urgency changed from <strong>''||'||unistr('\000a')||
' (select URGENCY_NAME from EBA_INTRACK_URGENCY where id = status_old_val)||''</strong> to <strong>''||'||unistr('\000a')||
' (select URGENCY_NAME from EBA_INTRACK_URGENCY where id = status_new_val) ||''</strong>'''||unistr('\000a')||
' when ''SEVERITY_CHANGE'' then'||unistr('\000a')||
.... SNIP .....
Teneriffe_141212 wrote:
wwv_flow_api.create_page_plug (
p_id=> 21813153649240572742 + wwv_flow_api.g_id_offset,
p_flow_id=> wwv_flow.g_flow_id,
p_page_id=> 50,
p_plug_name=> 'Right Side',
p_region_name=>'',
p_escape_on_http_output=>'Y',
p_plug_template=> 0,
p_plug_display_sequence=> 100,
p_plug_new_grid => false,
p_plug_new_grid_row => false,
p_plug_new_grid_column => false,
p_plug_display_column=> 1,
p_plug_display_point=> 'REGION_POSITION_03',
p_plug_item_display_point=> 'ABOVE',
p_plug_source=> s,
p_plug_source_type=> 'PLSQL_PROCEDURE',
p_translate_title=> 'Y',
p_plug_query_row_template=> 1,
p_plug_query_headings_type=> 'QUERY_COLUMNS',
p_plug_query_num_rows => 15,
p_plug_query_num_rows_type => 'NEXT_PREVIOUS_LINKS',
p_plug_query_row_count_max => 500,
p_plug_query_show_nulls_as => ' - ',
p_plug_display_condition_type => '',
p_pagination_display_position=>'BOTTOM_RIGHT',
p_plug_customized=>'0',
p_plug_caching=> 'NOT_CACHED',
p_plug_comment=> '');
end;
Means that the problem is with a report region on page p_page_id=> 50 of type pl/sql. The display sequence is 100.
See the source of the region for the offending text.
Try to debug the sql statement that is returned by the source. Does it return what you expect if you run it in sql workshop.
Nicolette
Similar Messages
-
CSS Bar Chart [Plug-in] in P-Track Packaged application
Hello,
In the P-Track Packaged application we have CSS Bar Char Plugin REGION. If we change the theme of that application into the Theme 23, that plugin Region loses some CSS rules. In other words, it loses its beauty. Anyone knows how to get this plugin to work find on the Theme 23 ???
Regards,
FatehHello,
In the P-Track Packaged application we have CSS Bar Char Plugin REGION. If we change the theme of that application into the Theme 23, that plugin Region loses some CSS rules. In other words, it loses its beauty. Anyone knows how to get this plugin to work find on the Theme 23 ???
Regards,
Fateh -
Bug Tracker Packaged application installation Error.
Hi,
I installed 11g (apex came with 11g) and 10g application server. Now, I am trying to install the bug tracker application that came on apex.oracle.com. I am getting this error right off the bat.
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Oct 29 16:59:51 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @bug_tracker_installer_0.9.sql
APPLICATION 660 - Bug Tracker, 0.9
Set Credentials...
Check Compatibility...
API Last Extended:20070525
Your Current Version:20070525
This import is compatible with version: 20060224
COMPATIBLE (You should be able to run this import without issues.)
Set Application ID...
begin
ERROR at line 1:
ORA-20001: Package variable g_security_group_id must be set.
ORA-06512: at "FLOWS_030000.WWV_FLOW_API", line 46
ORA-06512: at "FLOWS_030000.WWV_FLOW_API", line 238
ORA-06512: at line 4
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Can somebody tell me what I might be doing wrong here?
Thank you,
Rahul.
edit:
sorry, didn't mention this earlier, but, I got the same exact error when I was installing 'Issue Tracker' application too.
Message was edited by:
RPuttaguntaScott,
It's been a while since I did this, so, forgot. I will go ahead with your suggestion. Thank you.
Rahul.
Message was edited by:
RPuttagunta -
Package Application Incident Tracking Apex 4.2 Internet Explorer Issue
Frame Layout Question.
I have installed the packaged application Incident Tracking, however the rendering of the Content Frame Body Container region in Internet Explorer 8.0 and above does not render correctly. Both the width and the height of this region is sized too small.
It is the Cloud Apps theme on version Application Express 4.2.4.00.08. It works perfectly in Chrome, Firefox and Opera but I am restricted to Internet Explorer. It occurs on Page 50 of the Application 101 in the <div id="uFrameMain"> section it should expand to 100% width of the region but appears to be restricted to a layout of 437px x 363px where as in Chrome it 1428px x1270px. The problem is the region does not display its correct height or widtth, I would be really grateful if someone could help me to debug this.
ThanksWould suggest posting to this forum, which supports packaged applications: Packaged Applications
Thank you,
Tony Miller
LuvMuffin Software
Ruckersville, VA -
Error when installing the supporting objects of OLL Packaged Application
Hello,
I am trying to install OLL Packaged Application|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r41/inst_pkgapp/inst_pkgapp.htm#top
but when installing the supporting objects, I got error when executing the code of "create_package_body"
Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
create or replace package body eba_oll_log
as
g_start_time number;
procedure log_init
is
begin
g_start_time := dbms_utility.get_time;
end log_init;
procedure log_page_view
is
begin
insert into eba_oll_page_views
( APEX_USER,
PAGE_ID,
PAGE_NAME,
VIEW_DATE,
TS,
ELAPSED_TIME,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE )
values
( v('APP_USER'),
v('APP_PAGE_ID'),
wwv_flow.g_step_title,
trunc(sysdate,'DD'),
systimestamp,
(dbms_utility.get_time-g_start_time)*(.01),
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
case when v('APP_PAGE_ID') = 24
then v('P24_CONTENT_ID')
else null
end,
case when v('APP_PAGE_ID') = 24
then v('P24_CONTENT_TITLE')
else null
end );
if v('APP_PAGE_ID') = 24 then
insert into eba_oll_content_views
( APEX_USER,
VIEW_DATE,
TS,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE,
NOTE )
values
( v('APP_USER'),
trunc(sysdate,'DD'),
systimestamp,
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
v('P24_CONTENT_ID'),
v('P24_CONTENT_TITLE'),
'Viewed' );
end if;
commit;
end log_page_view;
procedure log_content_click
is
begin
insert into eba_oll_content_views
( APEX_USER,
VIEW_DATE,
TS,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE,
NOTE )
values
( v('APP_USER'),
trunc(sysdate,'DD'),
systimestamp,
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
v('P24_CONTENT_ID'),
v('P24_CONTENT_TITLE'),
'Launched' );
commit;
end log_content_click;
end eba_oll_log;
create or replace package body eba_oll_api
as
function gen_id
return number
is
l_id number;
begin
select to_number(sys_guid(), 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
into l_id
from dual;
return l_id;
end gen_id;
function eba_oll_tags_cleaner (
p_tags in varchar2,
p_case in varchar2 default 'U' ) return varchar2
is
type tags is table of varchar2(255) index by varchar2(255);
l_tags_a tags;
l_tag varchar2(255);
l_tags apex_application_global.vc_arr2;
l_tags_string varchar2(32767);
i integer;
begin
l_tags := apex_util.string_to_table(p_tags,',');
for i in 1..l_tags.count loop
--remove all whitespace, including tabs, spaces, line feeds and carraige returns with a single space
l_tag := substr(trim(regexp_replace(l_tags(i),'[[:space:]]{1,}',' ')),1,255);
if l_tag is not null and l_tag != ' ' then
if p_case = 'U' then
l_tag := upper(l_tag);
elsif p_case = 'L' then
l_tag := lower(l_tag);
end if;
--add it to the associative array, if it is a duplicate, it will just be replaced
l_tags_a(l_tag) := l_tag;
end if;
end loop;
l_tag := null;
l_tag := l_tags_a.first;
while l_tag is not null loop
l_tags_string := l_tags_string||l_tag;
if l_tag != l_tags_a.last then
l_tags_string := l_tags_string||', ';
end if;
l_tag := l_tags_a.next(l_tag);
end loop;
return substr(l_tags_string,1,4000);
end eba_oll_tags_cleaner;
procedure eba_oll_tag_sync (
p_new_tags in varchar2,
p_old_tags in varchar2,
p_content_type in varchar2,
p_content_id in number )
as
type tags is table of varchar2(255) index by varchar2(255);
l_new_tags_a tags;
l_old_tags_a tags;
l_new_tags apex_application_global.vc_arr2;
l_old_tags apex_application_global.vc_arr2;
l_merge_tags apex_application_global.vc_arr2;
l_dummy_tag varchar2(255);
i integer;
begin
l_old_tags := apex_util.string_to_table(p_old_tags,', ');
l_new_tags := apex_util.string_to_table(p_new_tags,', ');
if l_old_tags.count > 0 then --do inserts and deletes
--build the associative arrays
for i in 1..l_old_tags.count loop
l_old_tags_a(l_old_tags(i)) := l_old_tags(i);
end loop;
for i in 1..l_new_tags.count loop
l_new_tags_a(l_new_tags(i)) := l_new_tags(i);
end loop;
--do the inserts
for i in 1..l_new_tags.count loop
begin
l_dummy_tag := l_old_tags_a(l_new_tags(i));
exception when no_data_found then
insert into eba_oll_tags (tag, content_id, content_type )
values (l_new_tags(i), p_content_id, p_content_type );
l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
end;
end loop;
--do the deletes
for i in 1..l_old_tags.count loop
begin
l_dummy_tag := l_new_tags_a(l_old_tags(i));
exception when no_data_found then
delete from eba_oll_tags where content_id = p_content_id and tag = l_old_tags(i);
l_merge_tags(l_merge_tags.count + 1) := l_old_tags(i);
end;
end loop;
else --just do inserts
for i in 1..l_new_tags.count loop
insert into eba_oll_tags (tag, content_id, content_type )
values (l_new_tags(i), p_content_id, p_content_type );
l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
end loop;
end if;
for i in 1..l_merge_tags.count loop
merge into eba_oll_tags_type_sum s
using (select count(*) tag_count
from eba_oll_tags
where tag = l_merge_tags(i) and content_type = p_content_type ) t
on (s.tag = l_merge_tags(i) and s.content_type = p_content_type )
when not matched then insert (tag, content_type, tag_count)
values (l_merge_tags(i), p_content_type, t.tag_count)
when matched then update set s.tag_count = t.tag_count;
merge into eba_oll_tags_sum s
using (select sum(tag_count) tag_count
from eba_oll_tags_type_sum
where tag = l_merge_tags(i) ) t
on (s.tag = l_merge_tags(i) )
when not matched then insert (tag, tag_count)
values (l_merge_tags(i), t.tag_count)
when matched then update set s.tag_count = t.tag_count;
end loop;
end eba_oll_tag_sync;
procedure render_tag_cloud (
p_selection in varchar2 default null,
p_app_id in number,
p_session_id in number,
p_min_nbr_tags in number default 1,
p_max in number default 100,
p_limit in number default 10000,
p_link_to_page in varchar2 default '2',
p_tag_item_filter in varchar2 default 'P2_TAGS',
p_clear_cache in varchar2 default '2,CIR,RIR',
p_more_page in varchar2 default '62' )
as
l_printed_records number := 0;
l_available_records number := 20;
l_max number;
l_min number;
l_class_size number;
l_class varchar2(30);
type l_tagtype is table of varchar2(2000);
l_tags l_tagtype;
type l_numtype is table of number;
l_cnts l_numtype;
l_size number;
l_total number :=0;
l_buffer varchar2(32676);
CURSOR c_all_tags
IS
select tag, c from (
select t.tag, count(*) c
from eba_oll_content c,
eba_oll_tags t
where c.content_id = t.content_id
and c.display_yn = 'Y'
and (p_selection is null or
(p_selection is not null and
( (substr(p_selection,1,1) = 'R' and
substr(p_selection,2) in (select release_id
from eba_oll_content_products cp
where cp.content_id = c.content_id))
or (substr(p_selection,1,1) = 'C' and
substr(p_selection,2) in (select product_id
from eba_oll_content_products cp
where cp.content_id = c.content_id))
or (substr(p_selection,1,1) = 'P' and
(substr(p_selection,2) in (select product_id
from eba_oll_content_products cp
where cp.content_id = c.content_id) or
substr(p_selection,2) in (select p.parent_product_id
from eba_oll_content_products cp,
eba_oll_products p
where cp.content_id = c.content_id
and cp.product_id = p.product_id)))
or (substr(p_selection,1,1) = 'G' and
(substr(p_selection,2) in (select pg.group_id
from eba_oll_product_groupings pg,
eba_oll_content_products cp
where pg.product_id = cp.product_id
and cp.content_id = c.content_id) or
substr(p_selection,2) in (select pg.group_id
from eba_oll_product_groupings pg,
eba_oll_products p,
eba_oll_content_products cp
where pg.product_id = p.parent_product_id
and p.product_id = cp.product_id
and cp.content_id = c.content_id)))
group by tag
) x where rownum < p_limit
and c >= p_min_nbr_tags
order by upper(tag) ;
begin
-- Fetch tags into arrays
open c_all_tags;
loop
fetch c_all_tags bulk collect into l_tags,l_cnts limit p_limit;
exit;
end loop;
close c_all_tags;
l_available_records := l_tags.count;
-- Determine total count and maximum tag counts
l_max := 0;
l_min := 1000;
FOR i in l_cnts.first..l_cnts.last loop
l_total := l_total + l_cnts(i);
if l_cnts(i) > l_max then
l_max := l_cnts(i);
end if;
if l_cnts(i) < l_min then
l_min := l_cnts(i);
end if;
end loop;
if l_max = 0 then l_max := 1; end if;
l_class_size := round((l_max-l_min)/6);
-- Generate tag cloud --
sys.htp.prn('<div class="tagCloud"><ul>');
for i in l_tags.first..l_tags.last loop
l_printed_records := l_printed_records + 1;
if l_cnts(i) < l_min + l_class_size then
l_class := 'size1';
elsif l_cnts(i) < l_min + (l_class_size*2) then
l_class := 'size2';
elsif l_cnts(i) < l_min + (l_class_size*3) then
l_class := 'size3';
elsif l_cnts(i) < l_min + (l_class_size*4) then
l_class := 'size4';
elsif l_cnts(i) < l_min + (l_class_size*5) then
l_class := 'size5';
else l_class := 'size6';
end if;
l_buffer := '<li><a class="'||l_class||'" href="'||
'f?p='||p_app_id||':'||p_link_to_page||':'||p_session_id||':::'||p_clear_cache||':'||
p_tag_item_filter||':'||htf.escape_sc(l_tags(i))||'">'||
htf.escape_sc(l_tags(i)) || '<span>' || l_cnts(i) || '</span></a></li>';
sys.htp.prn(l_buffer);
l_buffer := '';
if l_printed_records > p_max then
exit;
end if;
end loop;
sys.htp.prn('</ul></div>');
-- print if there's more
if l_tags.count - l_printed_records != 0 then
htp.prn('<p><a href="f?p='||p_app_id||':'||htf.escape_sc(p_more_page)||
':'||p_session_id||':::'||htf.escape_sc(p_more_page)||'">View all tags</a></p>');
end if;
exception when others then
sys.htp.prn('<p>No tags found.</p>');
end render_tag_cloud;
procedure email_when_feedback (
p_feedback_id in number,
p_host_url in varchar2,
p_app_id in number )
is
l_body clob;
l_body_html clob;
begin
for c1 in (
select f.feedback_comment, f.feedback_by,
c.title, nvl(ct.feedback_contacts,'[email protected]') email
from eba_oll_content_feedback f,
eba_oll_content c,
eba_oll_team ct
where f.id = p_feedback_id
and f.content_id = c.content_id
and c.team_id = ct.team_id (+) )
loop
l_body := 'You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
Content: '|| c1.title || utl_tcp.crlf || '
Feedback: '|| c1.feedback_comment || utl_tcp.crlf || '
Left by: '|| lower(c1.feedback_by) ||'
You can respond via the OLL Application, '||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id || '.';
l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
<p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
</p>
<table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Left by</td>
<td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||lower(c1.feedback_by)||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
<a href="'||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">Respond to this Feedback</a>
</td>
</tr>
</table>
</div>';
apex_mail.send (
p_to => c1.email,
p_from => '[email protected]',
p_subj => 'OLL - New Feedback for your team',
p_body => l_body,
p_body_html => l_body_html );
end loop;
end email_when_feedback;
procedure email_when_response (
p_feedback_id in number,
p_host_url in varchar2,
p_app_id in number )
is
l_body clob;
l_body_html clob;
begin
for c1 in (
select f.feedback_comment, f.feedback_by, f.response, c.title
from eba_oll_content_feedback f,
eba_oll_content c
where f.id = p_feedback_id
and f.content_id = c.content_id )
loop
l_body := 'You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
Content: '|| c1.title || '
Feedback: '|| c1.feedback_comment || '
Response: '|| c1.response || '
You can also view this response via the OLL Application, '||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id || '.';
l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
<p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
</p>
<table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Response</td>
<td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.response,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
<a href="'||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">View Response in OLL Application</a>
</td>
</tr>
</table>
</div>';
apex_mail.send (
p_to => c1.feedback_by,
p_from => '[email protected]',
p_subj => 'Oracle Learning Library - Response to your Feedback',
p_body => l_body,
p_body_html => l_body_html );
end loop;
end email_when_response;
end eba_oll_api;
/Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
Edited by: Fateh on Jan 13, 2012 7:32 AMThanks & Sorry for not mentioning the full information about my environment.
it was:
Oracle 11g xe R2 on Windows 7 machine
Apex listener deployed on Glass Fish server 3.1 on Windows 7 machine
Apex 4.1
Google Chrome
So, to have OLL application worked locally . we need the following:
grant execute on utl_tcp to [your_schema_name]And to
Configure an Application Express Application as a Partner Application in Oracle AS Single Sign-On http://www.oracle.com/technetwork/testcontent/sso-partner-app-100552.html.
I think I am going to install on my work space on apex.oracle.com.
Regards,
Fateh
Edited by: Fateh on Jan 15, 2012 9:38 AM -
Error while installing a packaged application
Hi
I am getting the following error while trying to install the "Sample Master Detail" application in my apex oracle account on the web. All the others install without problem. What could it be ?
Thanks
Juan
Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_040200.WWV_FLOW_MESSAGES_IDX1) violated
declare
h varchar2(32767) := null;
begin
h:=h||'Help';
wwv_flow_api.create_message (
p_id=>2456294651379654494 + wwv_flow_api.g_id_offset,
p_flow_id=>wwv_flow.g_flow_id,
p_name=>'HELP',
p_message_language=>'en',
p_message_text=>h);
null;
end;
ORA-00001: unique constraint (APEX_040200.WWV_FLOW_MESSAGES_IDX1) violatedHilary - I asked our DBA to open a SR, the number is SR 3-6553142501 : Unable to install packaged applications in Oracle Apex
Looks like apex.oracle.com has been upgraded to 4.2.1. When did this happen?
I am almost positive that I was able to install packaged apps on apex.oracle.com even when it was on 4.2.0.00.27 (same as the publicly available version) but not on my instance. But now since the versions are different, the support person is pointing to the different versions as a cause! This is what I was afraid of. To be honest, given that I was getting the error on my instance but not on apex.oracle.com, even when both systems (mine and apex.oracle.com) was on the same version of APEX, I am not very hopeful that the 4.2.1 patch will fix my situation since the root cause has not been identified. I just don't want to wait for 4.2.1 to be released, apply it and find out that the issue is still there. Can you share the list of bugs fixed in 4.2.1 to see if any of them may apply to this situation?
Any other ideas? What diagnostics can I provide to help you get to the bottom of this? Frankly, Oracle Support, as I found in the past, is not very well qualified to resolve APEX-related SRs. Can you please assist or direct Support appropriately? Thanks, appreciate your help.
Since I have the Builder app installed in my instance, I inspected the final page of the packaged app install wizard (4000:83) to see what APIs it uses and ran it manually as SYSTEM. This is what I get. Does that help narrow down the issue?
SQL> alter session set current_schema=apex_040200;
Session altered.
SQL> exec wwv_flow_pkg_app_install.install_db_app(7050,'SCOTT');
BEGIN wwv_flow_pkg_app_install.install_db_app(7050,'SCOTT'); END;
ERROR at line 1:
ORA-20987: APEX - Execution of the statement was unsuccessful. ORA-01003: no
statement parsed
<pre>begin wwv_flow.g_import_in_progress := true; end;</pre> - ORA-01003: no
statement parsed
ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 853
ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 888
ORA-06512: at "APEX_040200.WWV_FLOW_PKG_APP_INSTALL", line 376
ORA-06512: at line 1 -
Error occurred while packaging application: fails to run on iOS device...
I am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9.
The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch Reason: Error occurred while packaging application:” without any detailed information.
If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit Compilation failed while executing : Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please HelpI am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9.
The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch Reason: Error occurred while packaging application:” without any detailed information.
If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit Compilation failed while executing : Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please Help -
User Tracking - Application error: URN_NOT_FOUND
hello
running ciscoworks 3.2 on Windows 2008 SP2 - installed apps are:
1. Campus Manager 5.2.1
2. CiscoView 6.1.9
3. CiscoWorks Assistant 1.2.0
4. CiscoWorks Common Services 3.3.0
5. Device Fault Manager 3.2.0
6. Integration Utility 1.9.0
7. Internetwork Performance Monitor 4.2.0
8. LMS Portal 1.2.0
9. Resource Manager Essentials 4.3.1
When I run a quick report in Campus Manager (User Tracking > Reports) I get the following error appearing in a window:
Application error: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!.
Acquisition is working fine – on completion it states how many new hosts have been discovered but I get the above error when I try running a report.
Reloaded server but problem persists. I’ve attached the output of pdshow and the cmapps log - any advice/guidance appreciated.
Thanks
AndyHello,
I have the same problem.
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
LMS2.6
could anybody help me?
I attach the ctm_config.txt file.
Thanks -
LMS 3.2 gives Application error during Campur User tracking
Hi All,
As per the subject during Campus User Tracking following error comes.
Application error: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!..
Please let me know if anybody has solution for this.
Thanks in advance.
Samirthis looks like CSCsz79649
I assume at least one of the ctm_config.txt files became corrupted.
have a look at the file ctm_config.txt in both these locations:
NMSROOT/MDC/tomcat/webapps/campus/WEB-INFlib
NMSROOT/MDC/tomcat/webapps/cmapps/WEB-INF/lib
and compare the content to the clean files Joe posted in this thread:
https://supportforums.cisco.com/message/3153454#3153454
Note: the parameter DYNAMIC_PORT_ALLOCATION=0 can be added to both files;
If your files (or at least one) are different, then stop the daemon manager. When services are stopped, replace the corrupted file with the one Joe posted. Also move the ctmregistry and ctmregistry.backup files in these directories to a location outside NMSROOT (like C:\Windos\tmp)
Restart the daemon manager.
If everything is working you can remove the ctmregistry and ctmregisry.backup files you previously moved to C:\Windows\tmp -
LMS 2.6 User Tracking - Application error: URN_NOT_FOUND
Hi,
When I run a quick report in Campus Manager (User Tracking > Reports) I get the following error appearing in a window:
Application error: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!.
Could anybody help me?
I attach the ctm_config.txt file
thanksFrom which directory did you get this ctm_config.txt? I need to see the ones under NMSROOT/MDC/tomcat/webapps/campus/WEB-INF/lib and NMSROOT/MDC/tomcat/webapps/cmapps/WEB-INF/lib.
Since this is LMS 2.6, I also need to see the output of the pdshow command. -
Error Installing Packaged Applications - Apex 5
Hi Folks:
I installed APEX 5 successfully. Everything seems to be running fine except I'm unable to install packaged applications.
I get a screen that looks like the following when trying to install a package application:
The text in the dropdowns for the errors begins with:
Error
The packaged application installed. However, installation of database objects and seed data has failed.
Install Summary
Script Name Status Statements Successful Statements with Errors Total Statements
Framework Package Specification Success 1 0 1
Framework Package Body Errors 0 1 1
eba_dp_ui spec Success 1 0 1
eba_dp_ui body Errors 0 1 1
Missing Indexes Errors 0 7 7
Filter Search Spec Errors 0 1 1
Filter Search Body Errors 0 1 1
eba_dp_data_access body Errors 0 1 1
eba_dp_dashboard body Errors 0 1 1
eba_dp_demo_data spec & body Errors 1 1 2
Report Total: 3 14 17
1 - 10
Errors
Framework Package Body
CREATE OR REPLACE PACKAGE BODY "EBA_DP_FW" as
function conv_txt_html (
p_txt_message in varchar2 )
return varchar2
is
l_html_message varchar2(32767) default p_txt_message;
l_temp_url varchar2(32767) := null;
l_length number;
begin
l_html_message := replace(l_html_message, chr(10), '<br />');
l_html_message := replace(l_html_message, chr(13), null);
return l_html_message;
end conv_txt_html;
function conv_urls_links (
p_string in varchar2 )
return varchar2
is
l_string varchar2(32767) default p_string;
It then includes a lot more create, etc. statements that failed.
I wonder if it is some kind of permissions issue? I ended up running @apxremov.sql and reinstalled apex 5 again after I couldn't get the package apps to work the first time but that didn't fix anything. I have attached a text file that has all the code from the error message.
The database I installed to is an Oracle 12c Enterprise database.
It had Oracle Apex 4.2.6 installed on it with many packaged apps (not really using them, just trialing them till 5 came out). I ran @apxremov.sql before installing Apex 5.
Any help or ideas are appreciated.
Thanks,
Matthew FriendMatthew,
Looking at the error file, it appears that APEX is trying to "upgrade" an existing Data Reporter instance rather than do a fresh install. It's possible (I haven't checked the code) that apexremov.sql doesn't run the packaged applications through their deinstall process, and so their supporting objects may still be present within your schema. I'd suggest removing any objects (especially tables & packages) with a name like 'EBA_DP_%' from your parsing schema, and then trying the install again.
Regards,
-D. -
Error in compiling and running a packaged application
Hi all,
I am new to java and studying alone java from sun's site.Now i am going through sun's step by step programming.From there i got a packaged Application named DiveLog which i wrote and saved in divelog directory in jdk1.2.2which is in C directory.
When i tried to compile it i got the error message as class Resource .java not found.But i have created the file Resource.java and saved in the same divelog directory.
somehow i get rid of the error and looked for the directory but class file is not there.So i understood that Compilation doesn't took place.
Can anyone help me to get rid of the error and compile and run the Application successfully.
Here is the DiveLog application i have written.
package divelog;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class DiveLog
private JTabbedPane tabbedPane;
private JFrame dlframe;
public DiveLog()
dlframe = new JFrame("A Java(TM) Technology Dive Log");
dlframe.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0)
tabbedPane = new JTabbedPane(SwingConstants.LEFT);
tabbedPane.setBackground(Color.blue);
tabbedPane.setForeground(Color.white);
populateTabbedPane();
buildMenu();
dlframe.getContentPane().add(tabbedPane);
dlframe.pack();
dlframe.setSize(765,690);
dlframe.setBackground(Color.white);
dlframe.setVisible(true);
private void populateTabbedPane()
tabbedPane.addTab("Welcome",
null,
new Welcome(),
"Welcome to the Dive Log");
tabbedPane.addTab("Diver Data",
null,
new Diver(),
"Click here to enter diver data");
tabbedPane.addTab("Log Dives",
null,
new Dives(),
"Click here to enter dives");
tabbedPane.addTab("Statistics",
null,
new Statistics(),
"Click here to calculate dive statistics");
tabbedPane.addTab("Favorite Web Site",
null,
new WebSite(),
"Click here to see a web site");
tabbedPane.addTab("Resources",
null,
new Resources(),
"Click here to see a list" + "of resources");
private void buildMenu()
JMenuBar mb = new JMenuBar();
JMenu menu = new JMenu("File");
JMenuItem item = new JMenuItem("Exit");
item.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
System.exit(0);
menu.add(item);
mb.add(menu);
dlframe.setJMenuBar(mb);
public static void main(String[] args)
DiveLog dl = new DiveLog();Classpath problem. Read the old threads related to in the classpath problem.
/Sreenivasa Kumar Majji.
Hi all,
I am new to java and studying alone java from sun's
site.Now i am going through sun's step by step
programming.From there i got a packaged Application
named DiveLog which i wrote and saved in divelog
directory in jdk1.2.2which is in C directory.
When i tried to compile it i got the error message as
class Resource .java not found.But i have created the
file Resource.java and saved in the same divelog
directory.
somehow i get rid of the error and looked for the
directory but class file is not there.So i understood
that Compilation doesn't took place.
Can anyone help me to get rid of the error and compile
and run the Application successfully.
Here is the DiveLog application i have written.
package divelog;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class DiveLog
private JTabbedPane tabbedPane;
private JFrame dlframe;
public DiveLog()
dlframe = new JFrame("A Java(TM) Technology Dive
Dive Log");
dlframe.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0)
tabbedPane = new
e = new JTabbedPane(SwingConstants.LEFT);
tabbedPane.setBackground(Color.blue);
tabbedPane.setForeground(Color.white);
populateTabbedPane();
buildMenu();
dlframe.getContentPane().add(tabbedPane);
dlframe.pack();
dlframe.setSize(765,690);
dlframe.setBackground(Color.white);
dlframe.setVisible(true);
private void populateTabbedPane()
tabbedPane.addTab("Welcome",
null,
new Welcome(),
"Welcome to the Dive
"Welcome to the Dive Log");
tabbedPane.addTab("Diver Data",
null,
new Diver(),
"Click here to enter
"Click here to enter diver data");
tabbedPane.addTab("Log Dives",
null,
new Dives(),
"Click here to enter
"Click here to enter dives");
tabbedPane.addTab("Statistics",
null,
new Statistics(),
"Click here to calculate
"Click here to calculate dive statistics");
tabbedPane.addTab("Favorite Web Site",
null,
new WebSite(),
"Click here to see a web
"Click here to see a web site");
tabbedPane.addTab("Resources",
null,
new Resources(),
"Click here to see a
"Click here to see a list" + "of
t" + "of resources");
private void buildMenu()
JMenuBar mb = new JMenuBar();
JMenu menu = new JMenu("File");
JMenuItem item = new JMenuItem("Exit");
item.addActionListener(new
istener(new ActionListener()
public void actionPerformed(ActionEvent
ed(ActionEvent e)
System.exit(0);
menu.add(item);
mb.add(menu);
dlframe.setJMenuBar(mb);
public static void main(String[]
d main(String[] args)
DiveLog dl = new DiveLog(); -
Packaged Application installation error??
Hi guys,
I have downloaded sample packaged application from APEX product home page, and trying to download these application but continiously facing error, i have tried both to install (using application express and through sqlplus with FLOWS_020200 user) but unable to install it,
Can anyone tell me how to install these sample applications supplied by Oracle corporation ???
Your prompt reply will be appriciated .
thanks & regards
qamarQamar,
Can you give us more information? As in, what error do you get and when does it appear?
The steps to install the packaged samples are:
- Unzip the packaged application to a .sql file
- In APEX, go to Home > Application Builder > Import and select the .sql file, then follow the steps in the wizard.
Marco -
DICOM packaged application install error - XDB schema error
Hi, I have worked through the install readme for the DICOM packaged application and on installing the DICOM_demo_installer.sql supporting objects I get an error when trying to create the table dicom_archive
ORA-31000: Resource 'http://xmlns.oracle.com/ord/meta/dia_demo' is not an XDB schema document
Any pointers appreciated.9503657 (In lieu of your actual name - Please give your name in future),
Where are you trying to install this packaged application (DB Version, DB Edition (EE / SE / SE1 / XE), DB Options, localhost / hosted environment)?
There are specific requirements specified in the readme.txt file provided in the zip file.
There are very specific installation instructions also provided in the readme.txt file.
Unlike most packaged applications this one requires various scripts be run prior to installing the actual application into APEX.
So could you please specify the steps taken to get to this error.
Regards,
David -
Online Discussion Forum Packaged Application Reply ERROR
Help,
I've installed the Online Discussion Forum Packaged Application 0.91 in a 10.2.0.2 database. When I post a message it put the message in the ODF_THREAD and user info in the ODF_USERTHREAD tables. When I reply to a thread page 8 displays correctly, BUT when I press the "Post Message" button I get an ORA_00600,internal error code, arguments ERROR. Does anybod have any ideas?
KirkHi Kirk,
You may want to have a look at the solution here...
Re: ORA-600 thrown from Online Discussion Forum packaged app
Thanks,
Ashish
Maybe you are looking for
-
After getting a new desktop I downloaded iTunes and authorized my new computer and then de-authorized my old one, When I try to update my 5S it says my phone is not authorized and list my wifes email address as the account holder and not mine. How
-
Using hsgetvalue function to retrieve Hyperion Planning Data
Hi All, Lots of discussion about hsgetvalue, but still I do not succeed in using this function. Maybe someone can help. Is this function work for HFM or also Hyperion Planning? Currently we are using Hyperion Planning 11.1.1.3 with related Essbase. T
-
I am having an issue when I perform a search in the music store. I key in the band I want to search for and "accessing music store" comes up and it looks like everything is fine. Then I get a message saying that "iTunes has encounted a problem and ne
-
The Regular Expression anchors, "^" and "$" do not work for me in Dreamweaver
I am using the Find and Replace feature of Dreamweaver 8 and especially the "Use Regular Expressions" setting. But I have never been able to make the Regular Expression anchors "^" and "$" work at all. This are supposed to fix a match at the beginn
-
JMS Receiver channel : No Correlation ID
Hi, JMS Receiver channel to WebSphere MQ, I want to put a message on the queue with correlation ID left blank (= no correlation ID), because this causes problems on the receiving side. Is there a way to achieve this? I have tried several different se