Possible bug with creating hyperlink destination while in story editor

I'm just curious if anyone else is experiencing this and if it's proper behavior or a bug:
I'm making manual cross references for endnotes in an ebook. To do this I'm creating hyperlink destinations for each endnote and endnote reference. I'm doing this in story editor because I can see the destination targets, however, I'm having a weird issue where when I hit enter when in the hyperlink destination dialog box, it closes and puts a hard return in my text. If I'm doing this in layout mode, I don't get the hard return--it's only in story editor. Creating a hyperlink and hitting enter on that dialogue box does not have the same behavior. It's just the "New Hyperlink Destination" dialog box that does it.
Can someone else replicate this behavior: Open story editor for any length story. Select some text (doesn't matter where it is), and go to the hyperlink panel menu and select "New Hyperlink Destination" and then hit the keyboard "enter" [rather than clicking on OK] to close the dialogue box.
When I do this on my Windows 8 laptop running the latest InDesign CC 2014, I'm getting a hard return that deletes whatever text was selected in the story editor. Is this supposed to happen?

I'm just curious if anyone else is experiencing this and if it's proper behavior or a bug:
I'm making manual cross references for endnotes in an ebook. To do this I'm creating hyperlink destinations for each endnote and endnote reference. I'm doing this in story editor because I can see the destination targets, however, I'm having a weird issue where when I hit enter when in the hyperlink destination dialog box, it closes and puts a hard return in my text. If I'm doing this in layout mode, I don't get the hard return--it's only in story editor. Creating a hyperlink and hitting enter on that dialogue box does not have the same behavior. It's just the "New Hyperlink Destination" dialog box that does it.
Can someone else replicate this behavior: Open story editor for any length story. Select some text (doesn't matter where it is), and go to the hyperlink panel menu and select "New Hyperlink Destination" and then hit the keyboard "enter" [rather than clicking on OK] to close the dialogue box.
When I do this on my Windows 8 laptop running the latest InDesign CC 2014, I'm getting a hard return that deletes whatever text was selected in the story editor. Is this supposed to happen?

Similar Messages

  • Can someone confirm a possible bug with Universal Access?

    Can someone confirm a possible bug with Universal Access?
    I have a Mac Pro 3,1, 10.7.1 but if you could confirm or not this possible bug with any model.
    In Energy Saver preference pane:
    Set Mac to never sleep.
    Set Display Sleep to ~2 minutes.
    In Desktop & Screen Saver:
    Set screen saver to start at ~1 minutes.
    In Universal Access:
    Check Enable access for assistive devices.
    Check radio button Zoom to On.
    Zoom in window not checked.
    Confirm that Zoom works by pressing:
    ⌥⌘= (option, command, =).
    Set screen back to normal by pressing ⌥⌘-.
    Let screen sleep after screen saver starts.
    Wake screen and see if ⌥⌘= still works.
    Thanks … Ken

    Other than the time intervals (smallest Screen Saver kick-in is 3 minutes), it works fine for me - at least I can still zoom in/out after waking the display.
    Tested on two different MacBook Pro models in 10.7.1

  • How to automatically create hyperlink destinations based on numbered list?

    I am very new to InDesign and am creating a template for an academic journal. Each article contains a list of references at the end and the references are cited in the main text (like what you see in Wikipedia if you are not familiar with scientfic journal articles). In exported HTML, the citation in the main text should be hyperlinked to the coressponding reference in the reference list. I have two questions:
    1) It is possible to ask paragraphy style to assign each numbered item a hyperlink destination? If this is possible, I can then manually inserted hyperlinks in the main text.
    2) one step further, is there any way (e.g. script) which can then insert hyperlink to those destinations based on pattern match? For example, in main text, the citation to reference #1 appear in the text as [1] which should be hyperlinked to reference #1.
    One more question, is there anyone who knows how academic journals handle the flow from InDesign to html? Certainly, the exported html cannot go directly online without further editing.
    Thank you.

    Hi Eric,
    I posted the script here. But it should be adjusted to your particular document. (Anyone with basic scripting knowledge can do this). I am sure it won’t work as it is. I assume that “comments” and “references” are in two different stories.
    Can I have the scripts from you (for a fee or free)?
    I don't sell my scripts: they're free.
    Can the scripts handle the pattens like these [3], [1-5], [3,4], [6, 8, 11-13]?
    This script can't, but another handles both single page numbers and page ranges like so:
    I can post it as well.
    Now I’d like to make one thing clear:
    I made a set of scripts for creating hyperlinks in InDesign documents for further exporting them to ePub/HTML. I can’t make a script that would work for everyone because all books are very different. I simply adjusted scripts for every book I had to work with (mainly changing GREP expressions and names of styles) and I have numerous variations of scripts. I can post them if someone is interested but you should be aware that they have to be reworked.

  • Possible Bug with Drag-and-Drop Being Published via HTML5 - Getting "Undefined" Error When Dragging Object

    Hello,
    I came up with a way to use drag-and-drop interactions that will take advantage of file input so that I may create a drag-and-drop interaction that uses one draggable object over and over allowing multiple scoring/tracking possibilities.  Example use...is having the draggable object be dynamic in that it randomly changes its text so that a learner can drag a term it's possible classification.........thus allowing the possibility of having many terms easily loaded without having to redo a drag-and-drop interaction for each needed terms/classifications updates/changes.
    My Issue: When using a variable to represent the text for a draggable Smart Shape object, I'm getting the error message "undefined" when, clicking/pressing on the object, as well as during the drag of the object. This issue occurs when publishing the project in an HTML5 format.  Flash interestingly enough seems to work perfect...but we are not interested in publishing via Flash any longer.
    To better help you explore this error message, I've set up a test project so that you can see when and how the "undefined" message shows up during a drag-and-drop interaction.  I've also included the Captivate 8 project file used to make the exploration project I'm sharing in this post.
    Link to Captivate project I created for you all to explore "undefined" error message": http://iti.cscc.edu/drag_and_drop_bug/
    Link to this Captivate 8 Project file: http://iti.cscc.edu/drag_and_drop_bug.cptx
    It's pretty interesting how things react in this demo, please try the following actions to see some interesting happenings:
    Drag the Yellow (or variable drag box) to the drag target.
    Drag Black Hello square to Drag target and click undo or reset - watch the undefined message come up on the Yellow (or variable drag box).
    Drag the Yellow (or variable drag box) to the drag target and then use the undo or reset.
    Move both draggable boxes to the drag target and use the undo and reset buttons...
    Anyhow, I know you all are sharp and will run the demo through its paces.
    I'd really be very honored if anyone help me figure out how I could (when publishing out to HTML5) no longer have the "undefined" error message show up when using drag-and-drop with a variable for shape text. This technique has been well received at the college I work at...and I have many future project requests for using such an idea on a variety of similar interactions. I'd love see a solution or see if this might be a bug Adobe may be able to fix!
    I tried to find a solution to the issue documented here for quite some time, but I was not able to find anyone with this problem much less attempting the idea I'm sharing in the help request -  save the darn "undefined" message that comes up!
    Many thanks in advance for any help and/or direction that you all may be able to provide,
    Paul

    Hello,
    I just wanted to supply a minor update related to my drag-and-drop question/issue stated above:
    I did another test using Captivate 7, and found that the undefined error (publishing as HTML5) does not appear and the variable data remains visible - except the variable data turns very small and does not honor any font size related settings.
    I did go ahead and submit this to Adobe as a possible bug today.
    Thanks again for any help related to this issue.  If the issued documented above is solved, it will allow many amazing things to be done using Captivate's drag-and-drop for both regular type projects as well as interaction development for iBooks! 
    Matter of fact if this issue gets fixed, I'll publish a Blog entry (or video) on way's I've used Captivate's drag-and-drop to create dynamic learning activities for Higher Ed. and for use in iBooks.
    ~ Paul

  • Optimistic Locking - Possible bug with Weblogic

    After extensive testing of a j2ee application Im involved with, it would appear their exists a problem with using Weblogic's Optimistic Concurrency (OL) mechanism.
    The exact problem is as follows:
    The ejbCreate and ejbRemove methods of a particular entity bean are as follows:
    public abstract class ProductBean implements javax.ejb.EntityBean {
    ejbCreate(){
    FolderEntityHome folderEH = FolderComponent.getFolderEntityHome();
    folderEH.create(getId());
    ejbRemove(){
    FolderEntityHome folderEH = FolderComponent.getFolderEntityHome();
    try {
    FolderBean folderEH.findByProductId(getId());
    catch(InvalidAccessRightsException iare)
    throw new RemoveException();
    Previously before OL was added when a RemoveException was thrown, this would cause the ejbRemove exception to fail, thus both the product and folder would still exist.
    After adding OL, when an InvalidAccessRightsException occurs giving rise to a RemoveException being thrown, weblogic simply ignores the RemoveException and deletes the Product even though the Folder could not be deleted. This causes system errors when users try to access the folder which contains a link to a product which no longer exists!
    Is anyone aware of this particular problem? Is it indeed a bug with Weblogic? For clarity, I believe I am using version 8.1 and the way in which I have implemented OL is to use an additional version column in the underlying tables for all entity beans.

    In case anyone's interested, it appears from further testing that the problem I've been having in the way the RemoveException behaves is down to the difference in which version 6.0 treats this exception compared to version 8.1!
    In version 6.0, if you threw a RemoteException at any point in the ejbRemove(), the entity would not be removed!
    In version 8.1, something wierd happens. If a RemoteException() is thrown in the ejbRemove() and sometime during the same transaction at the point of commit, the entity on which the exception is thrown is attempted to be accessed (through a finder), then the entity continues to be deleted! If on the other hand, a RemoveException is thrown and no access/modification is attempted on that entity within the same transaction, then at the point of commit, the entity is not removed!
    Seems this is indeed a problem which needs to be addressed in future releases.
    Message was edited by:
    rotan_imretxe
    Message was edited by:
    rotan_imretxe

  • Possible bug with replace on clobs?

    I couldn't find this documented anywhere, and wanted to check if I had data corruption or if there indeed is a bug with replace on long clobs.
    Best I can figure, if you are replacing before the 32768 border and a previous replace in that clob moves the new location to be after 32768, then your clob gets clobbered in that area.
    I'd like to know if this is a verifiable bug so that I feel better about having written my own replace using instr/substr.
    Oracle 10g (10.2.0.1.0)
    Test procedure:
    ======================================
    declare
    vclob clob;
    tempc1 clob;
    tempc2 clob;
    pos number;
    ch char(1);
    begin
    vclob := rpad('*', 32749, '*') || '****12345./~\.12345*' || rpad('*', 10000, '*');
    for vi in 1..5 loop
    ch := to_char(vi);
    tempc1 := vclob;
    pos := instr(tempc1, ch);
    while (pos > 0) loop
    tempc1 := substr(tempc1, 1, pos-1) || 'BUGS' || substr(tempc1, pos+1);
    pos := instr(tempc1, ch, pos+1);
    end loop;
    tempc2 := vclob;
    pos := instr(tempc2, ch);
    while (pos > 0) loop
    tempc2 := substr(tempc2, 1, pos-1) || 'BUGGY' || substr(tempc2, pos+1);
    pos := instr(tempc2, ch, pos+1);
    end loop;
    dbms_output.put_line('Replace ' || ch || ' at ' ||
    instr(vclob, ch) || ' and ' ||
    instr(vclob, ch, instr(vclob, ch)+1));
    dbms_output.put_line(': 32750 32760 32770 32780');
    dbms_output.put_line(': 67890123456789012345678901234567890');
    dbms_output.put_line('Original: ' || substr(vclob, 32746, 50));
    dbms_output.put_line(ch || '->BUGS : ' ||
    substr(replace(vclob, ch, 'BUGS'), 32746, 50));
    dbms_output.put_line('Correct : ' || substr(tempc1, 32746, 50));
    dbms_output.put_line(ch || '->BUGGY: ' ||
    substr(replace(vclob, ch, 'BUGGY'), 32746, 50));
    dbms_output.put_line('Correct : ' || substr(tempc2, 32746, 50));
    end loop;
    end;
    /======================================
    Output: (changed slightly for formatting)
    ======================================
    Replace 1 at 32754 and 32764
    : _______ 32750 ___ 32760 ___ 32770 ___ 32780
    : _______ 67890123456789012345678901234567890
    Original: ********12345./~\.12345***************************
    1->BUGS : ********BUGS2345./~\.BUGS2345*********************
    Correct : ********BUGS2345./~\.BUGS2345*********************
    1->BUGGY: ********BUGGY2345./~\.BUGGY2345*******************
    Correct : ********BUGGY2345./~\.BUGGY2345*******************
    Replace 2 at 32755 and 32765
    : _______ 32750 ___ 32760 ___ 32770 ___ 32780
    : _______ 67890123456789012345678901234567890
    Original: ********12345./~\.12345***************************
    2->BUGS : ********1BUGS345./~\.1BUGS345*********************
    Correct : ********1BUGS345./~\.1BUGS345*********************
    2->BUGGY: ********1BUGGY345./~\.¿¿¿5************************
    Correct : ********1BUGGY345./~\.1BUGGY345*******************
    Replace 3 at 32756 and 32766
    : _______ 32750 ___ 32760 ___ 32770 ___ 32780
    : _______ 67890123456789012345678901234567890
    Original: ********12345./~\.12345***************************
    3->BUGS : ********12BUGS45./~\.1¿¿5*************************
    Correct : ********12BUGS45./~\.12BUGS45*********************
    3->BUGGY: ********12BUGGY45./~\.¿¿¿5************************
    Correct : ********12BUGGY45./~\.12BUGGY45*******************
    Replace 4 at 32757 and 32767
    : _______ 32750 ___ 32760 ___ 32770 ___ 32780
    : _______ 67890123456789012345678901234567890
    Original: ********12345./~\.12345***************************
    4->BUGS : ********123BUGS5./~\.1¿¿5*************************
    Correct : ********123BUGS5./~\.123BUGS5*********************
    4->BUGGY: ********123BUGGY5./~\.¿¿¿5************************
    Correct : ********123BUGGY5./~\.123BUGGY5*******************
    Replace 5 at 32758 and 32768
    : _______ 32750 ___ 32760 ___ 32770 ___ 32780
    : _______ 67890123456789012345678901234567890
    Original: ********12345./~\.12345***************************
    5->BUGS : ********1234BUGS./~\.1234BUGS*********************
    Correct : ********1234BUGS./~\.1234BUGS*********************
    5->BUGGY: ********1234BUGGY./~\.1234BUGGY*******************
    Correct : ********1234BUGGY./~\.1234BUGGY*******************======================================

    Correct me if I'm wrong. What this lines does (if there isn't a space between the two single-quotes) is removing the string represented by xmlnsVal from the string xmlDoc. I've been using this method in some situations.
    But I don't know why it won't work either. However, isn't it necessary to do conversion from CLOB to varchar2 before calling replace? Maybe the implicit conversion isn't so reliable. I've seen someone did the following:
    -- clobvar is CLOB
    -- stringvar is varchar2(4000)
    stringvar := cast(clobvar as varchar2(4000));      -- not testedAfter that you can use stringvar in your replace function.
    Or alternately, if exists in 9i, you can try the function regexp_replace() instead. Good luck.

  • Possible bug with iTunes 11 ?? (with Smart Playlists)

    Hi folks
    New to Apple Support, but after upgrading to iTunes 11 earlier today (on my Mac Mini) I've discovered a potential bug / difference in the way it operates compared to earlier versions. Can someone else try something similar and see if they get the same result - I think I read somewhere that v11 is not available on Windows yet, so I cant compare what happens there
    I've imported all our CD's into iTunes, and we've set up several Smart Playlists (SP). Using the Rating setting for the songs, we can break them up into groups, eg
    Rating 0 = not yet processed
    Rating 1 = not interested in listening to again
    Rating 2 = kids songs (for our children)
    Rating 3 = christmas songs
    Rating 4 = songs i like, but my wife probably wouldnt
    Rating 5 = songs we both like - good for background music etc
    Using Home Sharing to our iPad's rocks !!
    Now, onto the bug.
    Using the SP that has just songs with Rating 0, I could play any song, set the Rating to whatever, and naturally once set, that disappears from the SP
    In all earlier versions of iTunes, playback would continue with the next song, so I could set that Rating, etc etc. Worked really well to churn through a chunk of songs in say 15 minute blocks
    With iTunes v11, playback stops as soon as I set the Rating.
    How can you help ?????????? Set up a smart playlist with whatever criteria you like - make sure you have a number of songs returned and ensure Live Updating is set, have a song playing, and make that song no longer valid for that SP. Anyone doing this in earlier versions of iTunes should have the next song begin, and if this is a bug, then those using iTunes 11 will have playback stop
    Sorry for the long post, but in order to determine a potential bug, you need to describe the situation and how to test it.
    Thanks for reading
    PS I'm on a 2010 Mac Mini with OSX v10.7.x (whatever the current release of that is) and just upgraded to iTunes 11

    Soo, maybe it isnt possible bug, but the way Apple have changed iTunes when going to v11. Stooopid
    Anyway, found this link about downgrading to an earlier version. I've just completed it and found one or two "errors" in the method, which I'll detail below
    http://www.emacconsulting.com/apple/itunes/downgrade-itunes-11-to-itunes-10-7/
    In the latter part of the instructions
    11) Open your iTunes Music Folder.
    If you never moved your iTunes folder it’s located here:
    Your HD/Your User/Music/iTunes
    Or go to the Finder type:  Command + Shift + G
    Paste this into the the dialog:  ~/Music/iTunes
    If you moved it to another hard drive, you will know where to locate your iTunes folder.
    12) Open the “Previous iTunes Libraries” folder.
    13) Find the most recent copy of the “iTunes Library 2012-xx-xx.itl” file.
    Normally it will the last file at the bottom of the list.
    14) Drag a copy of the file into the iTunes folder.
    15) Delete the “iTunes Library” file.
    16) Change the name of the “iTunes Library 2012-xx-xx.itl” to ”iTunes Library” with no .itl extension.
    In #11, I simply went to "My HD"/Users/"My User"/Music/iTunes
    Copied the latest .itl and moved it up a directory level
    The old file in #15 is called "iTunes Library.itl" - which I renamed, and renamed the copied version back to "iTunes Library.itl" = though I do have extensions showing, some people may not and hence wont see the .itl
    Anyway all is fixed in my world, and when I launched v10.7, it asked me if I wanted to upgrade to v11 - I said No and not to prompt me again. Playcount issue is resulved, as is changing SmartList criteria with playback continuing
    Apple - please correct these bugs before releasing any new versions of iTunes... you've made a very large number of people unhappy

  • Possible bug with Triggers tab

    Hi there,
    I'm using 1.0.0.12.15 and think there is a bug with the triggers tab. When I navigate to my table (which has one trigger on it), and then click on the Triggers tab, the trigger shows up multiple times. It's probably not a coincidence that it shows up the same number of times that there are columns :)
    Looks like a missing join condition somewhere.
    Hope this helps

    Tracked this one down too...
    SQL Developer is getting the triggers like this:
    Select dt.trigger_NAME, dt.trigger_type, dt.triggering_Event, dt.status, do.object_id , do.owner sdev_link_owner, dt.trigger_NAME sdev_link_name,'TRIGGER' sdev_link_type
    from all_triggers dt, all_objects do
    where do.owner = :OBJECT_OWNER
    and dt.owner = :OBJECT_OWNER
    and dt.trigger_name = do.object_name
    and dt.table_name = :OBJECT_NAME
    However, we got other objects (mainly tables) with the same name as the trigger. Not specifying the object type will identify them the same way as the trigger, resulting them all to be included in the select!
    Adding "and do.object_type = 'TRIGGER'" will solve the problem.
    K.

  • Creating a QT movie in iPhoto 5--possible bug with OS 10.4.3

    Playing around with the new feature that allows you to "print" to PDF and think I found a bug. From what I understand, you should be able to create a book in iPhoto, go to Print and choose "Save PDF to iPhoto." This would save each page in your book as an image that can be made into a slideshow. This is an awesome feature that really simplifies the process of sharing books as a slideshow, BUT, it doesn't work in 10.4.3. We tried it on 10.4.2 and it does work. Has anyone else come across this issue?

    Hi Helen,
    I just did a test run to see if I had the same problem as you, and I do.
    I got an Automator Applescript error. I do remember seeing posts about some Automator actions/workflows being broken with 10.4.3 in the other forums.
    Maybe you might find more info by going to one of those forums. I do think that this will have to be a bug fix.
    Wish I could have been more help, but I think we are all in the same boat right now.
    Lori

  • Possible bug with AlphaComposite.Src?

    While this is possibly a bug, it's more likely a misunderstanding on my part which is why I want to post it here first for comment.
    I have a BufferedImage (type BufferedImage.TYPE_INT_ARGB) with some graphics drawn in it that I want to clear out with a transparent white background (argb=0x00ffffff). That is, I want to replace every pixel in the image with a color of (new Color(255,255,255,0)). FWIW the reason for this is that after clearing and then drawing some new stuff onto the BufferedImage, it will be written out as a 32-bit PNG with a "canvas" color that will render as transparent on Mozilla and opaque white on MSIE (which ignores the 32-bit PNG alpha channel).
    In order to clear the BufferedImage (img), I tried the following:
    // img is a BufferedImage with stuff drawn in it
    g2 = (Graphics2D)img.getGraphics();  
    g2.setComposite(AlphaComposite.Src);
    g2.setPaint(new Color(255,255,255,0));
    g2.fillRect(0,0,w,h);  // w=image width, h=image height
    g2.setPaintMode();
    (draw stuff)The javadocs on AlphaComposite.SRC indicate that the destination pixels should be replaced by the source pixels, so I'd expect the image to be filled with color 0x00ffffff after the fillRect operation. However, I've found that the preexisting contents of img remain unchanged.
    What leads me to suspect that this may be a bug is that if I change the setPaint line to
    g2.setPaint(new Color(255,255,255,1));the contents of img are cleared out. Why should an increase in alpha of only 1/256 make such a difference? The javadocs say that AlphaComposite.SRC should ignore the destination image altogether.
    I'd like it if someone could either 1) explain to me why this is the correct behavior or 2) verify that this could be a bug.
    Thanks
    Ryan Olson

    Ok, I've isolated the bug, I think. It has to do with setting the RenderingHints for a BufferedImage's Graphics2D context, strangely enough. The following test case illustrates the problem:
    import java.awt.image.BufferedImage;
    import java.awt.*;
    public class AlphaCompositeSrcTest {
        private static final Color TRANSPARENT_COLOR = new Color(255,127,255,0);
        /** Creates a new instance of AlphaCompositeSrcTest */
        public AlphaCompositeSrcTest() {
            BufferedImage canvas = new BufferedImage(100,100,BufferedImage.TYPE_INT_ARGB);
            Graphics2D g2 = (Graphics2D)canvas.getGraphics();
            // turning on anti-aliasing here doesn't seem to matter
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
            for (int i=0; i<10; i++) {
                drawOnImage(canvas);
            System.out.println("All done");
        private void drawOnImage(BufferedImage canvas) {
            Graphics2D g2 = (Graphics2D)canvas.getGraphics();
            // the following line will cause an assertion failure at [1] if not commented out
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); // [1]
            g2.setComposite(AlphaComposite.Src);
            g2.setPaint(TRANSPARENT_COLOR);
            g2.fillRect(0,0,100,100);
            // entire image should now be the transparent color
            assert canvas.getRGB(50, 50) == TRANSPARENT_COLOR.getRGB(); // [2] <-- fails if [1] is present
            g2.setPaintMode();
            g2.setPaint(Color.BLUE);
            g2.fillRect(10, 10, 80, 80);
            // should now be an opaque blue square in center of image with edges still
            // in transparent color
            assert canvas.getRGB(5, 5) == TRANSPARENT_COLOR.getRGB();
            assert canvas.getRGB(50, 50) == Color.BLUE.getRGB();
        public static void main(String[] args) {
            new AlphaCompositeSrcTest();
    }

  • Help with creating hyperlinks in formatted CSS text

    I'm having difficulty adding links using Dreamweaver. I first
    format the text with a CSS style, then use the Properties window to
    add the hyperlink (or Insert>Hyperlink menu). It creates this,
    <p class="linkbodyleftcol"><a href="
    http://www.amcc.com">AMCC</a></p>
    However, when I place the cursor on AMCC in the design
    window, most of the CSS styles I see in the CSS Styles menu are
    crossed out with a message "...does not apply to your selection
    because it is not inherited. It is applied to a closing tag."
    To correct this, I modify the code to:
    <a href="
    http://www.amcc.com"><p
    class="linkbodyleftcol"AMCC</p></a>
    And this clears up the error. However, there must be a more
    efficient way to add links while retaining CSS formatting. Could
    someone point out a better method?
    Best regards, -gary

    But wouldn't this still entail adding a hyperlink in Design
    view then editing this code in Code view?
    Doesn't DW allow one to enter a hyperlink in Design view
    while maintaining CSS? Seems hard to believe something so simple
    would require going into the code, since CSS and hyperlinks are two
    key ingredients in web design.

  • Possible bug when creating multiple detail view objects

    using jdev 11.1.1.0.0 to build jsf/adf applications. I wanted to report what seems like a bug in 11g. I have a parent table which has two child tables. After creating the appropriate entities, associations, views, and view links, the app module looks like this:
    MasterView
    --DetailView1
    --DetailView2
    The two detail view objects are on the same level, they are both direct children of the Master view.
    Here's what's happening:
    1) I create the master entity/view objects (MasterView)
    2) I create one of the detail entity/view objects (DetailView1).
    3) I create the association and view link to establish relationship between MasterView and DetailView1. Everything works fine.
    4) I create the entity/view objects for second detail view (DetailView2)
    5) When I attempt to create a second view link (based off an association) to establish the relationship between MasterView and DetailView2, the query clauses of the Create View Link wizard (screens 4 and 5) do not get created properly. I finish the wizard and save. Not only does this view link not get created properly, but in the process the query clauses that were defined in the first view link between MasterView and DetailView1 are wiped out. This will break any coordination between master and detail views in both the app module tester and runtime. Has anyone seen this problem?

    fyi, it looks like this issue has been resolved with jdev 11.1.1.0.2 (Update 2)

  • Possible bug with TREAT and EXECUTE IMMEDIATE

    Hello, i experienced a strange behavior which seems to be a bug.
    Consider following definitions:
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT (
      DummyProperty NUMBER
    ) NOT FINAL;
    CREATE OR REPLACE TYPE T_Child UNDER T_Base (
      AnotherDummyProperty  NUMBER
    CREATE OR REPLACE FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS
    BEGIN
      -- some specific validation is done here, not important for the example
      RETURN NULL;
    END;
    CREATE OR REPLACE PROCEDURE ValidateIt (iValue T_Child) IS
      lResult NUMBER;
    BEGIN
      -- The principle used here is that each client can have its own implementation of validation function, and when it does not exist, we do not care.
      -- In reality we put functions and procedures into packages, I narrowed it to a minimal working example.
      BEGIN
        EXECUTE IMMEDIATE 'BEGIN :lResult := SpecificValidation(:iValue); END;'
          USING OUT lResult, IN iValue;
      EXCEPTION WHEN OTHERS THEN
        IF INSTR(SQLERRM, 'PLS-00201') = 0 THEN
          RAISE;
        END IF;
      END;
    END;
    CREATE OR REPLACE PROCEDURE Process (iValue T_Base) IS
    BEGIN
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails
      -- This does not work for some reason.
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child.
      ValidateIt(TREAT(iValue AS T_Child));
    END;
    CREATE OR REPLACE PROCEDURE Process2 (iValue T_Base) IS
      lChild  T_Child;
    BEGIN
      -- The only difference here is that result of TREAT is saved to a variable.
      -- This works as expected.
      lChild := TREAT(iValue AS T_Child);
      ValidateIt(lChild);
    END;
    In reality it is much more complex, I narrowed it to a minimal working example.
    Now when running this:
    DECLARE
      lItem T_Base := T_Child(5, 2);
    BEGIN
      BEGIN
        -- This call will end up with PLS-00306 error.
        Process(lItem);
        dbms_output.put_line('Process completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
      BEGIN
        Process2(lItem);
        dbms_output.put_line('Process2 completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process2.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
    END;
    then call to Process fails with PLS-00306 on EXECUTE IMMEDIATE.
    The only difference between Process and Process2 is that in Process2, result of TREAT is saved to a variable of type T_Child.
    Is this behavior documented somwhere or is it a bug?

    That's interesting. I would say it is, or should be, a bug.
    Also interesting is, when I re-write your example to eliminate dynamic SQL and instead rely on dynamic method dispatch, the problem goes away... first, the changes:
    drop type T_Child;
    drop type T_Base
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT ( 
      DummyProperty NUMBER 
    ) NOT FINAL
    CREATE OR REPLACE TYPE T_Child UNDER T_Base ( 
      AnotherDummyProperty  NUMBER 
    create or replace type T_Base_Processor as object (
      dummyProperty    number
    , static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor
    , member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    , member PROCEDURE ValidateIt (iValue T_Child)
    , member PROCEDURE Process (iValue T_Base)
    , member PROCEDURE Process2 (iValue T_Base)
    ) NOT FINAL
    create or replace type T_Another_Processor under T_Base_Processor (
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    create or replace type body T_Base_Processor
    is
      static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor IS
    BEGIN
      return    case
            when upper(iClientId) = 'ADMINISTRATOR' then
                new T_Another_Processor(null)
            else
                new T_Base_Processor(null)
            end;
    END;
      member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS 
    BEGIN 
      -- some specific validation is done here, not important for the example 
      dbms_output.put_line('T_Base_Processor.SpecificValidation');
      RETURN NULL; 
    END; 
      member PROCEDURE ValidateIt (iValue T_Child) IS 
      lResult NUMBER; 
    BEGIN 
      -- No more need for dynamic SQL, instead rely on dynamic dispatch
      lResult := SpecificValidation(iValue);
    END; 
      member PROCEDURE Process (iValue T_Base) IS 
    BEGIN 
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails 
      -- This does not work for some reason. 
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child. 
      ValidateIt(TREAT(iValue AS T_Child)); 
    END; 
      member PROCEDURE Process2 (iValue T_Base) IS 
      lChild  T_Child; 
    BEGIN 
      -- The only difference here is that result of TREAT is saved to a variable. 
      -- This works as expected. 
      lChild := TREAT(iValue AS T_Child); 
      ValidateIt(lChild); 
    END;
    end;
    create or replace type body T_Another_Processor
    is
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    is
    begin
      -- some other specific validation is done here, not important for the example 
      -- You could even call the overridden method as well using
      --   treat(self as T_Base_Processor).SpecificValidation(iValue)
      dbms_output.put_line('T_Another_Processor.SpecificValidation');
      RETURN NULL; 
    end;
    end;
    And again with slight modifications, your test block:
    DECLARE 
      lProcessor T_Base_Processor := T_Base_Processor.getClientProcessor('JOE');
      lItem T_Base := T_Child(5, 2); 
    BEGIN 
      BEGIN 
        -- This call no longer throws a PLS-00306 error. 
        lProcessor.Process(lItem); 
        dbms_output.put_line('Process completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
      -- Demonstrate dynamic dispatch by choosing a different processor
      lProcessor := T_Base_Processor.getClientProcessor('ADMINISTRATOR');
      BEGIN 
        lProcessor.Process2(lItem); 
        dbms_output.put_line('Process2 completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process2.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
    END; 
    T_Base_Processor.SpecificValidation
    Process completed successfully.
    T_Another_Processor.SpecificValidation
    Process2 completed successfully.
    Gerard

  • Possible bug with APEX_ITEM.DATE_POPUP

    Hello,
    APEX 3.1 (and maybe even some previous versions).
    It seems like APEX_ITEM.DATE_POPUP creates all the cells in the corresponding column with the same ID. The result is that the dates returned by every date picker, in all the rows of the column, are being placed only in the first row cell.
    I searched the forum, and found couple threads describing the problem, but nothing from the APEX team acknowledging a bug. Is it a bug? If so, and if it’s not already logged, can someone from the APEX team log it as one?
    Thanks,
    Arie.

    Hi Arie,
    Thanks for you reply i dont get any error msg here in date picker the only problem wht i am facing here is when i deploy the java script date picker is not working
    Please suggest me how to modify the existing code
    this is function wht i am calling in the date picker
    <script type="text/javascript">
    function checkdates_baseline(pStartDateItem,pEndDateItem)
    var sdate = document.getElementById(pStartDateItem).value;
    var edate = document.getElementById(pEndDateItem).value;
    if(sdate != "" & edate != "")
    var m2int = {
    Jan: 0,
    Feb: 1,
    Mar: 2,
    Apr: 3,
    May: 4,
    Jun: 5,
    Jul: 6,
    Aug: 7,
    Sep: 8,
    Oct: 9,
    Nov: 10,
    Dec: 11 };
    var start_year = sdate.substring(7,11);
    var start_month = sdate.substring(3,6);
    var start_day = sdate.substring(0,2);
    var start_date = new Date(start_year, m2int[start_month], start_day);
    var end_year = edate.substring(7,11);
    var end_month = edate.substring(3,6);
    var end_day = edate.substring(0,2);
    var end_date = new Date(end_year, m2int[end_month], end_day);
    if( end_date <= start_date )
    alert('The End date must be after the Start Date Baseline');
    document.getElementById(pEndDateItem).value = "";
    </script>
    and this is the SQL query where i am using and deployed the java script
    SELECT
    HTMLDB_ITEM.DATE_POPUP(3,1,null,''DD-Mon-YYYY'',10,8,
    '' id="sdate''||rownum||''" readonly="yes"
    onchange="checkdates_baseline(''''sdate''||rownum||'''''',''''edate''||rownum||'''''');"'')
    "Baseline Start",
    HTMLDB_ITEM.DATE_POPUP(4,2,null,''DD-Mon-YYYY'',10,15,
    '' id="edate''||rownum||''" readonly="yes" onchange="checkdates_baseline(''''sdate''||rownum||'''''',''''edate''||rownum||'''''');"'') "Baseline End"
    FROM
    DUAL
    please suggest with a code or a example how to change this, in apex 3.1
    thanks
    Sudhir

  • Is there a bug with creating a contact out from an app?

    I work with my iPhone 3GS OS 3.1.3 and use email, calendar and contacts fully synchronized with the Exchange server at the office. And so far, It works great. But, unfortunately, is there a little bug.
    I use only the contacts folder from Exchange and there is no "local" iPhone only contacts folder. But now when I create a new contact out from an app, Maps for example, it is not stored in a default contacts folder (I can also not define such a one anywhere), but somewhere in nirvana??
    In the contacts, he is nowhere to be found, and is therefore not synchronized with my Exchange server. Only with the iPhone search this contact can be found and is still accessible.
    Someone else has also noticed this problem already? Is there a workaround for it?

    It's part of your dev agreement, especially when working with betas. If you can get in to download them, you should be able to hit everything else, including the forums.
    Get the login sorted out and you'll have significant resources that will make it worthwhile.
    Typically that bounce needs you to use the Safari(Mac) menu 'Empty caches'.
    Good luck in any case.

Maybe you are looking for