Verified AS3 bugs

I found another serious AS 3 bug so i decided to write up a
verification script so anyone can verify these bugs and hopefully
someone over at adobe can squash them, as they are quite annoying
and require a considerable amount of effort to work around.
The first bug is a dynamically generated movieclip that has
various UI components to it will report its height incorrectly but
will display correctly
The second bug is when a combobox has its value changed it
generates a change event but for some reason, its parent
displayobject does not detect the event.
My project deals with auto layout of several dynamically
generated movieclips that contain dozens of comboboxes so these two
bugs combined are really getting on my nerves.
The code to reproduce these bugs is below. Just copy and
paste in a Flash IDE, add the combobox, checkbox and radiobutton
componets to the FLA's library and launch. I had a screen shot of
the height i measured with photoshop but doesn't look I can attach
it. At any rate, flash outputs 174 and i measured 99 for a
difference of 75.
-------------------------------Sample Code
Begin------------------------------------
//omnidogg - Jan 18,2008
//Code to illustrate 2 AS3 bugs
// 1. ComboBox change event does bubble up to parent
displayobject container
// 2. Dynamically sized movieclip's height property displays
correctly but the value returned from a get operation is incorrect
// just copy and paste into Flash IDE.
//import needed classes for example
import fl.controls.CheckBox;
import fl.controls.ComboBox;
import fl.controls.RadioButton;
import fl.controls.RadioButtonGroup;
//create a empty movie that will be the parent display
object, set backgroud to green, put around middle of stage
var mc1:MovieClip = new MovieClip();
this.stage.addChild(mc1);
mc1.opaqueBackground = 0x00FF00;
mc1.x = 50;
mc1.y = 60;
//create a combobox and add it to mc1. Add two choices to
illustrate change event bubbling bug.
//changing value in combo box generates an event but mc1 does
not detect it.
var cb1:ComboBox = new ComboBox();
mc1.cb1 = mc1.addChild(cb1);
mc1.cb1.x = 220;
mc1.cb1.y = 30;
mc1.cb1.addItem({label:"Choice 1"});
mc1.cb1.addItem({label:"Choice 2"});
//add a checkbox to mc1. This component behaves as expected.
var chkb1:CheckBox = new CheckBox();
chkb1.name = "chkb1";
mc1.chkb1 = mc1.addChild(chkb1);
mc1.chkb1.x = 220;
mc1.chkb1.y = mc1.cb1.y + mc1.cb1.height + 10;
mc1.chkb1.label = "Toggle";
//add two radio buttons in default radiobuttongroup to mc1.
selecting a new value generates 3 change events. I expected 2, 1
for each radiobutton.
//3rd from the radiobutton group? at least something is
generated which is better than nothing
var rb1:RadioButton = new RadioButton();
mc1.rb1 = mc1.addChild(rb1);
mc1.rb1.x = 180;
mc1.rb1.y = mc1.chkb1.y + mc1.chkb1.height + 20;
mc1.rb1.label = "Choice 1";
var rb2:RadioButton = new RadioButton();
mc1.rb2 = mc1.addChild(rb2);
mc1.rb2.x = 260;
mc1.rb2.y = mc1.chkb1.y + mc1.chkb1.height + 20;
mc1.rb2.label = "Choice 2";
//add a event listener to mc1 to detect any change events
mc1.addEventListener(Event.CHANGE,traceChange);
//trace the given text when a change event occurs
function traceChange(event:Event):void
trace("Change Event Detected");
//trace height of movie clip with various UI components
placed in it
trace(mc1.height); //outputs 174, measurements from photoshop
indicate 99. I can send a screenshot to anyone interested.
-------------------------------Sample Code
End--------------------------------------
Of course if these have already been found and squashed,
someone please point to me to the proper resources; seaches of the
knowledgebase don't turn up any revelant info.
Thanks

The incorrect height value you're getting is a timing issue.
Each these
components has a TextField somewhere in its heirarchy, which
is initialized
at 100x100. The resizing of the TextField doesn't occur until
after you've
checked the height of the container MovieClip.
If you listen for Event.ENTER_FRAME, you'll find that the
correct value is
returned once the component is fully rendered. In my test,
the correct value
was available on the 2nd ENTER_FRAME.
Try this:
this.addEventListener(Event.ADDED, _handler);
this.addEventListener(Event.ADDED_TO_STAGE, _handler);
this.addEventListener(Event.RENDER, _handler);
this.addEventListener(Event.ENTER_FRAME, _efhandler);
function _handler(event:Event)
trace(event.type, event.target, mc1.height)
var efcount:uint=0;
function _efhandler(event:Event)
efcount++;
trace(event.type, event.target, mc1.height)
if(efcount > 5) // i use 5, but can be fewer
this.removeEventListener(Event.ENTER_FRAME, _efhandler);

Similar Messages

  • Can others verify this bug in Pages 5.0.1?

    I think I've found a bug, but would like to see if others here can replicate it.
    Running OS X 10.9.1, do the following:
    1) Launch Pages 5.0.1
    2) Open/Create a New Document
    3) Go to Edit-->Spelling and Grammar and Check ON "Correct Spelling Automatically"
    4) on a new blank line, type: thsi
    5) The autocorrect box should pop up with "this" as the correction
    6) Hit the Escape Key or click the X in the autocorrect box in order to reject the option to correct
    7) Then hit the space bar to keep typing.
    On my machine (and on my wife's machine) Pages will go ahead and autocorrect "thsi" to "this." No matter how many ways I tell pages to REJECT the autocorrect choice, it still autocorrects.
    This is not the proper or expected behavior, and it is not how autocorrect works either in iOS 7 or in the Mail applicaiton on Mavericks; in both of those instances, once you have rejected the autocorrect alternative you are able to keep typing and leave "thsi" or whatever else you typed and meant to type intact.
    Can others verify this bug???
    Please note: there has been some confusion about where the spelling autocorrect settings reside; this is a confusion caused by Mavericks. There is a "correct spelling automaticaly" setting in Settings-->Keyboard-->Text, but there is also an "correct spelling automatically" in the Pages Edit menu. On my machine, the Pages setting appears to override whatever is found in the System settings.

    Another autocorrect bug:
    I type a lot of lyrics, which tend to cotain words like ’cause and ’em instead of because and them.
    I've set up autocorrect instances to change a plain apostrophe with an ending, single curly quote for these words, but they are invariably changed to a beginning, single curly quote mark by Pages. The only way I can get the correct curly quote is to type over the wrong quote manually and hope that I don't have to edit the rest of the word again, as this would cause autocorrect to kick in again and change the quote to the wrong, beginning curly mark again.
    Does anyone know how to get around this tedious problem?

  • JCE Verifier - a bug in the Java Docs?

    When implementing a new JCE Provider, one should follow the special docs, such as http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/HowToImplAJCEProvider.html
    In the section "Creating a JarFile Referring to the JAR File", there's this code snippet proposed to get the jar to verify:
    // Always get a fresh copy, so we don't have to
    // worry about the stale file handle when the
    // cached jar is closed by some other application.
    conn.setUseCaches(false);
    jf = conn.getJarFile();
    My question: is it still necessary to switch off using the jar caches before trying to get the file? My impression is that this is related to the old bug 4271671 which is a duplicate of 4211817 which has been closed four years ago (see:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4211817) . Isn't this just some leftover from those times in the documentation?
    This is an issue for us as switching the cache off forces the Java Plugin to always download a fresh copy of an applet jar during the initiation phase, thus slowing down the applet start time very considerably, especially over slow lines.
    Thanks everybody!

    When implementing a new JCE Provider, one should follow the special docs, such as http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/HowToImplAJCEProvider.html
    In the section "Creating a JarFile Referring to the JAR File", there's this code snippet proposed to get the jar to verify:
    // Always get a fresh copy, so we don't have to
    // worry about the stale file handle when the
    // cached jar is closed by some other application.
    conn.setUseCaches(false);
    jf = conn.getJarFile();
    My question: is it still necessary to switch off using the jar caches before trying to get the file? My impression is that this is related to the old bug 4271671 which is a duplicate of 4211817 which has been closed four years ago (see:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4211817) . Isn't this just some leftover from those times in the documentation?
    This is an issue for us as switching the cache off forces the Java Plugin to always download a fresh copy of an applet jar during the initiation phase, thus slowing down the applet start time very considerably, especially over slow lines.
    Thanks everybody!

  • An URLRequest url Problem or a Flash as3 bug?

    hi, guys
    I'm working with a Flash based HLS player. I am unable to locate a redirect url while the request server response a 302 redirect code.
    is this a bug in Flash AS3 ?
    var url:String = "http://aaa.company.com/xxxx"; (response a 302 code and redirect to http://bbb.company.com/yyyy)
    var req:URLRequest = new URLRequest(url);
    var dispatcher:URLLoader = new URLLoader(req);
    dispatcher.addEventListener(Event.COMPLETE, handlefunction);
    function handlefunction(event:Event):void
         trace(req.url); 
         // the console outputs  "http://aaa.company.com/xxxx"
         // or trace((event.currentTarget as URLRequest).url); the output is same.
         // it should be "http://bbb.company.com/yyyy"
         // but the event.currentTarget.data is ok.
         // so how can I get the new url ?
         // is this a bug in flash as3?
    thanks.

    I tried to use Socket instead of URLRequest.
              _sock = new Socket();
                _sock.addEventListener(Event.CONNECT,connectHandler);
                _sock.addEventListener(Event.CLOSE,closeHandler);
                _sock.addEventListener(ProgressEvent.SOCKET_DATA,socketDataHandler);
                _sock.addEventListener(Event.COMPLETE,completeHandler);
                _sock.addEventListener(SecurityErrorEvent.SECURITY_ERROR,function(e:SecurityErrorEvent):v oid{trace("security error");});
                _sock.addEventListener(IOErrorEvent.IO_ERROR,function(e:IOErrorEvent):void{trace("io error");});
    internal function connectHandler(event:Event):void {
                trace("Connect...Ok");
                //HTTP Request Header
                var header:String = "GET "+_url+" HTTP/1.1\r\n";
                header += "Accept: */* \r\n"
                header += "Accept-Language: zh-cn \r\n";
                header += "User-Agent: Mozilla/4.0 \r\n";
                header += "Host: " + _host+":"+_port + " \r\n";
                header += "Connection: Keep-Alive \r\n";
                header += "Cache-Control: no-cache \r\n\r\n";
                //write header string            
                _sock.writeUTFBytes(header);
                _sock.flush();
    internal function socketDataHandler(event:ProgressEvent):void {
                //trace("socketDataHandler:"+event.bytesLoaded);
                var data:String = _sock.readUTFBytes(_sock.bytesAvailable);
                trace(data);         
    Outputs:
    HTTP/1.1 302 Moved Temporarily
    Date: Tue, 24 Apr 2012 07:25:35 GMT
    Server: Apache-Coyote/1.1
    Location: http://61.147.88.128/3/345/281/000
    Content-Length: 0
    X-Via: 1.1 nh227:9090 (Cdn Cache Server V2.0)
    Connection: keep-alive
    Finally, I got the 302 status, but I have some "sandbox" issue to solve.
    Thanks.

  • Verify a bug: iCal can't read it's own invitations if lines are too long

    Hi all,
    Can you help me isolate (and hopefully get Apple to fix ASAP) a bug in iCal?
    1. Create an event in iCal
    2. Add an invitee with a very long email address, OR with a very long name, so that the combination of "ATTENDEE;" with the name and address exceeds 72 chars.
    3. Send the invitation.
    4. Go to the computer of the invitee, and try to accept the invitation.
    5. It will complain that the address is not in your ME card - but it's looking for only part of the address, that got cut off at the 72-character line. iCal fails to recognise the wrapped line (see examples below) and the invitation is useless. (in the example below, I get a notification that "[email protected]" is not in the ME card in my address book because iCal doesn't see the 'u'.)
    ATTENDEE;CN="Michael Cutter";PARTSTAT=ACCEPTED:mailto:[email protected]
    u
    ATTENDEE:mailto:sendingthelongestpossibleemailaddressthaticouldeverimagi
    [email protected]
    To check if you've got an email address long enough to be wrapped, have a look at your sent invitation in TextEdit or similar and you'll see a break like above.
    Can you please try this and tell me if you can replicate the problem? It's driving people in my office nuts because all you need is a status like
    "PARTSTAT=REQUIRES ACTION;"
    and you've already lost 25 chars of your 72 char limit. Add a name and an email and you're gone - but if you are lucky enough to usually only have short names or just emails in your invitations you probably won't see this error!

    I can now explain (I think) why nobody else seems to be able to reproduce this bug - it's caused by using Entourage X with iCal! Invitations sent TO Entourage X are broken when passed into iCal on the recipient's Mac.
    Solution: upgrade to Entourage 2004 or switch to Mail. The SENDER's mail program doesn't seem to have an affect.

  • Interval race condition - AS3 bug??

    I have included the output and the two code segments that
    trigger the output. I do not understand how this could happen.
    Trace shows that clearInterval(19) occurs yet Wakeup seems to
    trigger spontaneously still trying to clearInterval(19). This
    occurs when user strums keypad triggering multiple calls to
    KeyDownFunc. You can execute this code yourself by selecting
    Lesson1 on page 1 of ItOnlyTakes1.org. It takes a few strumming
    tries to trigger it but the following code demonstrates what is
    happening within. Need help. (Interesting to note that 16 was never
    cleared.)
    Following code triggers the generation of a new display which
    requires a user answer to be caught in KeyDownFunc. sleepID is a
    global variable.
    private function WakeUp():void {
    clearInterval(sleepID);
    trace("Wakeup calling: Cleared " + sleepID);
    NewNumber();
    Internal part of KeyDownFunc that calls WakeUp to trigger new
    problem. The sleep interval is the time needed for the user to view
    the correct answer was given BEFORE triggering a new WakeUP and
    thus a new number
    if (answer.length == subquanAnswer.length) {
    if (answer == subquanAnswer && answerSign ==
    subquanAnswerSign ) {
    soundOutChannel = answerSound.play();
    sleepID = setInterval(WakeUp, 1000);
    trace("Call Wakeup: answer is " + answer + " " +
    subquanAnswer + " New sleepID: " + sleepID);
    gradeText.text=" CORRECT";
    gradeText.setTextFormat(correctanswerformat);
    } else {
    gradeText.text=" INCORRECT";
    gradeText.setTextFormat(incorrectanswerformat);
    Output showing problem:
    introListener calling
    Call Wakeup: answer is 7 7 New sleepID: 2
    Wakeup calling: Cleared 2
    Call Wakeup: answer is 7 7 New sleepID: 4
    Wakeup calling: Cleared 4
    Call Wakeup: answer is 7 7 New sleepID: 6
    Wakeup calling: Cleared 6
    Call Wakeup: answer is 4 4 New sleepID: 8
    Wakeup calling: Cleared 8
    Call Wakeup: answer is 4 4 New sleepID: 10
    Wakeup calling: Cleared 10
    Call Wakeup: answer is 9 9 New sleepID: 12
    Wakeup calling: Cleared 12
    Call Wakeup: answer is 9 9 New sleepID: 14
    Wakeup calling: Cleared 14
    Call Wakeup: answer is 4 4 New sleepID: 16
    Call Wakeup: answer is 4 4 New sleepID: 17
    Wakeup calling: Cleared 17
    Call Wakeup: answer is 6 6 New sleepID: 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19
    Wakeup calling: Cleared 19

    To all,
    I understand the insistence to clear before setting, but I
    have not figured out how to get clearing and setting into the same
    function. I am currently using a flag to avoid the race condition
    that my code, not AS3, has created. This is what I am rethinking.
    My current flow is like this.
    1) generate a NewNumber()
    2) check keys until correct number entered using KeyEvent.
    Then set an interval to wait until the student has had time to
    consider the correctness of this answer and to play the audio
    feedback.
    3) Interval timeout triggers WakeUp which clears the interval
    then generates a NewNumber.
    Only problem was, kids kept entering keys AFTER they had
    answered correctly which, before my using a flag, was triggering
    new setIntervals and the problem above.
    I do not see how I can have my KeyEvent handler clear the
    interval or how I can have my WakeUp functions set the interval.
    They are two distinct functions.
    If I do not clear the interval in WakeUp a long delay in
    answering will trigger another NewNumber.
    If I set it in WakeUp then I don't give the student enough
    time to answer.
    If I do not set it in keydown then I don't know how to ensure
    they have time to see and hear the feedback
    I can't clear it in KeyDownFunc because the kid may not push
    a key and allow WakeUP to create a NewNumber()
    I hope my brain isn't frying.
    I do appreciate the continued effort in helping me and help
    on this forum has improved my coding almost as much as if I had
    someone watching over my shoulder. LOL, that would be
    instantaneous.

  • Verifiable Pages "Bug"? Can others confirm

    I'm still having recurring issues crop up surrounding Apple's changes to the file format of Pages documents since the shift toward iCloud in Mountain Lion. First off I should say that I'm running the latest version of ML on my Macs (OS X 10.8.2) and the latest version of iOS on my iDevices (iOS 6.0.2).
    Here's the issue and the steps to replicate it:
    1. Open Pages, Create a New Document, and save it to iCloud. Then close the document.
    2. Select (or click) Open Document. Then from the file viewer (with iCloud selected) select the document you just created, click share at the buttom and choose to send it through messages to another user.
    The problem is this: the file will be sent as a Zip file. It will Open on the Mac version of Messagse because it can unpack the zip file, but on an iOS device the file will come through as an unrecognized docuemnt and it can't be opened on an iOS device.
    Now, I am calling this a "bug" because you can send Pages files back and forth through Messages with no problem as long as you choose Pages documents saved directly to your computer's HD (and not to iCloud). Indeed, you can test this by opening the same Pages File above, then selecting "Move To..." (from the little triangle in the title bar) and moving the file to your desktop. From there, control click on the Pages file and choose "Share" and then send the Pages file through Messages. It will come through as a Pages file that does not need to be unzipped on the mac and that can be opened direclty on iOS.
    I've replicated this on two iMacs running 10.8.2. Are others seeing this behavior as well?

    Yes, what Viking says is all correct, but there's still more to it than this. A few points:
    1) iCloud documents shared over email do NOT arrive as zipped files, even when received on iOS devices.
    2) iCloud documents that I haven't updated since November, can be shared and arrive on iOS devices as Pages files – no zip problems at all.
    This is only effecting recently-created or recenlty-updated Pages files, saved in iCloud and shared in Messages.
    So it's NOT just that all Pages documents stored in iCloud get shared as Zip files, because Pages documents stored in iCloud used to be shareable directty as Pages files, and even current Pages documents on iCloud can be emailed directly as Pages documents.
    The issue here is that Apple is using a Package File (with multiple files inside) but that Package is NOT supposed to be visible to the user; it's all supposed to happen behind the scenes so that the user always only sees a file that's in "Pages format." The OS (both OS's, in fact) is supposed to seamlessly convert these files back and forth, and most of the time it does.
    Right now that conversion process is failing, but it's only failing when there are a combination of conditions:
    New Pages Documents
    Saved in iCloud
    Shared through Messages
    One final bit of information. So far as I can tell, if you take a newly-created document that fails to send through messages on the Mac, THEN open that document in Pages on an iOS device and make changes, and THEN try sharing that document, the file format will come through (correctly) as Pages.

  • Huge bug in Flash CS4 verify

    Could any one please verify this bug and let me know if it is a bad install or acualy a hugh bug in Flash:
    This is what is happening...if I do not give instance names to the buttons on frame 1, frame 2 buttons WILL NOT work even if they are named...also doing a trace of objects shows they are given the flash default names...as though I hadnt named them...here is the FLA I saved it as CS3 :
    http://alphagraphicdesigns.com/help/Flash_bug.fla
    these are the steps to get it to happen:
    1. Create a new document using Action script 2
    2. Draw out a vector rectange using the rectangle tool
    3. Right click and turn it into a button (dont give it a name leave the default)
    4. Copy and past it 5 times on frame one (do not name any of the buttons)
    5. Name only one of the buttons "navigate_bnt"
    6. Past the below code on frame 1
    navigate_bnt.onPress = function() {
    gotoAndStop(2);
    ///Loop and find all objects
    for (var Object_Name in this) {
    trace("frame 1: "+Object_Name);
    stop();
    5. Create a frame on Frame 2 of the timeline
    6. Past the button 5 times on frame 2
    7. Name 1 of the buttons "navigate_bnt."
    8. Name 4 of the buttons  on frame 2 : "bnt_1","bnt_2" ect..
    9. Past the below code on frame 2
    navigate_bnt.onPress = function() {
    gotoAndStop(1);
    bnt_1.onPress = function() {
    trace(this._name)
    bnt_2.onPress = function() {
    trace(this._name)
    bnt_3.onPress = function() {
    trace(this._name)
    bnt_4.onPress = function() {
    trace(this._name)
    ///Loop and find all objects
    for (var Object_Name in this) {
    trace("frame 2: "+Object_Name);
    stop();

    Hi Ned,
    Thank you for verifying this and the suggestion...
    The issue with adding the "blank frames" is the flash player slows to about 4 times slower to render out the new frame.
    I have decided to place the code directly on the buttons, because I have found that sometimes a button's name will change as well and call on the wrong function....So this is very weird that I can dynamically change a buttons name hardcoded in! I cannot take the risk of the button firing off the wrong function as this could seriously injure someone. This program controls some big machinery.
    The issue seems to stem pretty deep into the flash engine and effects all "Objects".
    For example:
    1. On Frame 1 name all of the objects
    2. On Frame 2 rename all of the objects
    3.On Frame 3 do not name the objects
    On frame 1 gotoAndStop(3)
    all of the buttons are named from frame 2 !!!!
    So even though I have skipped frame 2 the unnamed objects pick up frame 2's names and label the unnamed objects.
    So I would think the player would skip over frame 2...like a hard drive would indexing....but rather the flash player acts like a tape recorder having to seek to a position in the timeline.

  • Bug Report: Shortcuts for Adjustments in 3.1

    I have verified that bug with a brand new test account (Aperture 3.1 and OS 10.6.4 with latest Pro Update):
    - Make an adjustment to an NEF-file
    - save that adjustment as a preset
    - assign a keyboard shortcut to that specific adjustment
    Switch to the next NEF-file and make your usual adjustments:
    - initiate that shortcut to apply the already saved preset/adjustment
    All of a sudden, all already applied adjustments are set back to defaults!!!!
    To sum up:
    Shortcuts are presently not useable!
    Bug Report was filed!
    Any observations???

    I got it myself. My shortcut combination contained the option key. That causes AP to replace any adjustments already made to the image. You have to use a keyboard short cut combination without the option key.
    The question is, why AP 3.1 is not smart enough to refuse such a combination??? In version 3.0.x everything worked fine!!!

  • Anyone notice the Smart Guides bug in CS5?

    ID CS5 has a Smart Guides bug when resizing frames to match the size of other frames.  When releasing the mouse after the Smart Guides pop up showing the sizes are equal the frame size changes.  When analyzing this it appears the frame does not resize to where the SmartGuides popped up but where the cursor is located.  There is also jumpiness between the position of cursor and where the Smart Guides pop up.  This behavior occurs vertically and horizontally.  While some jumpiness still exist, it works reliably when frames are aligned.  In other words, if a frame is resized to a point where two sides are aligned then the size of the frame does not change when the mouse is released.
    I have verified the bug in both Windows and Mac versions of IDCS5.
    None of the behavior exist with Smart Guides in ID CS4.
    Is anyone else experiencing this behavior?

    Thanks for checking Peter.
    I am using a laptop, Mac OSX 10.5.8, with ATI Radeon X1600.  The issue still existed wtih my Wacom tablet mouse and a Logitech mouse.  I also just uninstalled the program and reinstalled it and the issue still existed.
    This issue also exists on an iMac with Windows 7 running ID CS5 for Windows.
    Are you using a Mac by any chance?  The issue does not exist so much when the frames are aligned.  So, if you are trying it out and Smart Guides creates a line connecting the two frames you need to move them out of alignment.  Also, if your cursor is dead center over the edge of the frame all is ok.  What it's really doing is snapping to where the cursor is and not to where the Smart Guides popped up.  I'll be really surprised if you're not seeing it with a Mac.

  • Bug in Oracle 9.2.0.1.0.

    I have found a bug in Oracle 9.2.0.1.0.
    Here is the bug analysis.
    Step 1:
    CREATE TABLE T1 ( ENO NUMBER, ENAME VARCHAR2(100));
    Step 2:
    CREATE TABLE T2 (DNAME VARCHAR2(1000));
    Step 3:
    INSERT INTO T1 VALUES (1,’KARTHIK’);
    Step 4:
    INSERINTO T2 VALUES ('VENKATRAMAN');
    Commit;
    Now try executing this command,
    Command:
    SELECT * FROM T1 WHERE ENO IN (SELECT ENO FROM T2);
    Here table T2 does not contain “ENO”.
    But the query returns,
    Output:
    =====
    ENAME
    DNAME
    1
    KARTHIK
    VENKATRAMAN
    “ENO” column is being fetched from the main query with table T1 and not from the sub query with table T1.
    Please verify this bug and kindly provide a response.
    Regards,
    Karthik

    Well, heres my test (10g, for I dont have a 9.2.0.1.0, but I think it´d show the same result):
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select *
      2  from t1;
    ENO ENAME
       1 KARTHIK
    SQL> select *
      2  from t2;
    DNAME
    VENKATRAMAN
    SQL> select *
      2  from t1
      3  where eno in (select eno from t2);
    ENO ENAME
       1 KARTHIK
    SQL> alter table t2 add (eno number);
    Table altered.
    SQL> select *
      2  from t1
      3  where eno in (select eno from t2);
    no rows selected
    SQL> alter table t2 drop (eno);
    Table altered.
    SQL> select *
      2  from t1
      3  where eno in (select t2. eno from t2);
    where eno in (select t2. eno from t2)
    ERROR at line 3:
    ORA-00904: "T2"."ENO": invalid identifier
    SQL>
    But he is getting output of table T2 too se his last postI don´t think so, because he didn´t SELECT it. Would be nice to just copy & paste the output...
    Regards,
    Gerd

  • Convert Office 2010 documents w/ Acrobat X (potential bug?)

    I am doing some testing with Office 2010 (32bit) and Acrobat X on both Windows XP (32bit) and Windows 7 (64bit). I have run into the following problem when trying to convert a Word document with X:
    Opening up the Word document and either using the PDF Maker printer or the Acrobat tab to convert the document to a PDF works without a hitch.
    However, opening up X first and then attempting to convert the document that way will yield the a very strange error message saying that I do not have permission to open my Word document. I double checked all of the permissions on the Word document and they all checked out - plus, I am able to open it with Word.
    After a bit of troubleshooting, I have tracked this issue down to our Normal.dotm - specifically - where it is stored (on our users' network drive). After moving the Normal.dotm to %appdata% or somewhere else on the local disk and modifying Word to look in this location, the conversion went through flawlessly. I took the time to double check all permissions on our network drive and they all checked out as well.
    I have verified this "bug" on Windows 7 and Windows XP in our environment. Has anyone else experienced this error with a Normal.dotm on a network drive, or have I missed something here? For the time being, it seems as though Acrobat X doesnt like the Normal.dotm on a network drive.
    IT_Crowd

    Did you updates X or have 10.0.0? The updates are required for use with OFFICE 2010.

  • [svn] 4804: Bugs: LCDS-548: add code to deal with contentType="application/ xml" with one parameter (avoid

    Revision: 4804
    Author: [email protected]
    Date: 2009-02-02 17:56:22 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
    name/value encoding in that case)
    LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"
    Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
    to support framework code which wants to modify the service behavior.
    Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
    it for customizing the handling of remote object results
    Couple of minor ASDoc fixes and one tab -> spaces change
    Doc: minor asdoc edits
    QE: LCDS QE will verify the bugs in this one
    Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-548
    http://bugs.adobe.com/jira/browse/LCDS-405
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as

    Hello,
    How about this as an alternative:
    Use a functional global which has 3 cases:
    1. open config file - it opens the config file and reads the contents into a string (which is the functional global data), and you only do this one time at the beginning of the program.
    2. edit config data - it edits the string, which are really the contents of the file, but doesn't worry about writing to the file.  you could even get fancy here, and allow an array of tags and an array of values as input, and it would go update/edit all the tags to have the corresponding values.
    3.  close config file - it writes the current string data (the functional global data) to the file and closes it.
    Using the functions in the string palette, I think you'll find most of the code for that module/functional global will be easy to write.
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Journal Voucher SDK bug?

    Hi guys,
    I have created an add-on that reads data from a text file and creates a journal voucher. The add-on works well, but I have noticed a bug when I create a journal voucher with more than one currency. The bug does not seem to be from my code. I would just like someone to verify that I am doing it all correctly.
    I have for example 2 multicurrency business partners. and 2 accounts one is EURO and the other is USD.
    eg
    BP1 - All currencies
    BP2 - All currencies
    Acc1 - EURO
    Acc2 - USD
    When I try to create a journal voucher through the SDK all business partners are displayed with USD as well as EURO, even though only one transaction was in USD. This causes the USD to be unbalanced.
    so it would look like this:
    Account |     Debit(FC) |    Credit (FC) |    Debit    |     Credit   |
    BP1     |               |USD 517.50      |             |  EUR 360.00  |
    Acc1    |               |                |EUR 360.00   |              |
    BP2     |               |USD 11,571.76   |             |EUR 8,050.00  |
    Acc2    | USD 11,571.76 |                |EUR 8,050.00 |              |
    I would like it if the USD at BP1 did not appear. There is nothing in my code  that puts USD on that line, but it appears in the journal voucher.
    Can anyone verify this bug?
    Edit: It appears that I should have posted this in the SDK forums. Could someone please move it?
    Edited by: Costas Ioannou on Mar 24, 2010 11:33 AM

    I have recreated this in the SDK forums here:
    Journal voucher SDK bug?

  • BUG: Chord Grid Libraries not working in Snow Leopard 10.6.1

    Hi,
    I have Logic Pro 9 installed both on my Leopard and on my Snow Leopard partitions (both are full installs).
    Chord Grid Libraries (I mean, the default one with more than 4500 chords) doesn't work in Snow Leopard.
    It works as expected in Leopard.
    Already verified the bug with other users over here in Italy
    Message was edited by: Simone Coen
    added BUG to the subject header

    Here I did a workaround:
    If you have a 10.5.8 on a Backup Harddisk , start from it, launch Logic9, export the Chord Grids, start again from 10.6.1 launch Logic and reimport this File

Maybe you are looking for