EA1 BUG: Editing a Process Validation then cancelling appends spaces to lines

There is a bug in the Unit Testing section of SQL Developer where spaces are appended to Process Validations.
To re-create the bug:
Create a Process Validation and type a multi line SQL statement e.g.
    select count (*)
    from USER_TABLES
    where TABLE_NAME = 'EMP'
Edit the Process Validation and click "Cancel"
Edit the Process Validation again - a space will have been appended to the end of the each line.
The above can be repeated, so editing and cancelling five times will append five spaces to each line.
This bug was present in version 3.2.2 (see my previous post) and is still present in version 4.0.0.12.27.

quote:
However, where it's become something not just mildly annoying
but seriously broken is that sometimes, it adds large chunks of
space in the MIDDLE of your continued lines, sometimes even inside
the quotes, which of course makes the text break by adding a whole
bunch of space where it shouldn't be.
I've noticed this bug too and it can really screw things up
when it adds spaces in the middle of subsequent lingo commands.
It's one of the main reasons I started using an external script
editor.

Similar Messages

  • BUG: Unit Testing Process Validations SQL editor - extra spaces appended

    There is a bug in the SQL editor used by Unit Testing Process Validations.
    To re-create:
    Create a Validation with some multi-line SQL and save:
    select *
    from DUAL
    where 1=1
    Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
    select *
    from DUAL
    where 1=2
    When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.

    There is a bug in the SQL editor used by Unit Testing Process Validations.
    To re-create:
    Create a Validation with some multi-line SQL and save:
    select *
    from DUAL
    where 1=1
    Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
    select *
    from DUAL
    where 1=2
    When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.

  • How do I check for null parameters in  Process Validations?

    I am trying to create a Unit Test that validates that a record has been inserted into a table. However I am having problems when dealing with null parameters.
    I created a simple table and insert procedure:
    create table TEST_TAB (
    A varchar2 (30) not null,
    B varchar2 (30));
    create or replace procedure TEST_TAB_INS (P_A in varchar2, P_B in varchar2) is
    begin
    insert into TEST_TAB values (P_A, P_B);
    end;
    Then I created a Unit Test with two implementations:
    The first executes TEST_TAB_INS ('One', 'Two')
    The second executes TEST_TAB_INS ('One', null)
    I attached the following Query Returning Rows Process Validation to both implementations:
    select *
    from TEST_TAB
    where A = '{P_A}'
    and (B = '{P_B}' or '{P_B}' is null)
    This should allow for the case where P_B is null. However the second test fails with a "Query check returned no rows" error.
    I've tried altering the test to use nvl, but get the same results:
    select *
    from TEST_TAB
    where A = '{P_A}'
    and (B = '{P_B}' or nvl ('{P_B}', 'XXXX') = 'XXXX')
    However, the following test succeeds:
    select *
    from TEST_TAB
    where A = '{P_A}'
    and (B = '{P_B}' or nvl ('{P_B}', 'XXXX') = '{P_B}')
    Which suggests that null parameters are not being treated as nulls in Process Validations

    I've found a way to solve this. By changing the test to:
    select *
    from TEST_TAB
    where A = '{P_A}'
    and (B = '{P_B}' or '{P_B}' = 'NULL')
    I am able to get both to get both implementations to succeed.
    Edited by: AJMiller on Dec 28, 2012 4:24 AM

  • ORA-01403 - No Data Found - Error processing validation

    Dear all
    I hope to find a solution for this error.
    ORA-01403 - No Data Found - Error processing validation
    Best Regards

    Dear Patrick,
    Thank you for your response.
    I solved or worked around the problem by adding exception handling lines to the end of all PL/SQL validation functions used in this page
    For example, if a function used in equation, it is not allowed to return null so I made it return 0 in case of exceptions (as in below code)
    -- NO_DATA_FOUND is ORA-01403
    EXCEPTION
    WHEN NO_DATA_FOUND THEN return(0);
    Sincerely Yours
    Mahmoud Rabie

  • Cannot return to message list while in a message without clicking on "compose new message icon" and then cancelling it.

    After updating to 8.1 from 8 i cannot return to my message list from inside a message without clicking on the "compose new message" icon and then canceling out of that.
    Also, where it used to say return, it now says "Edit" and the word "Message" on the top of the screens is scruched together.
    Here is a link to a screenshot of my phone from the main messages listing.
    And here is a link to a screen shot of my phone from within a message.

    Hi Sir,
    Code snippet for reference:
    Private Sub Application_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean)Handles OutlookApplication.ItemSend
    Try
       Dim SentMailItemObject As Outlook.MailItem
    SentMailItemObject = CType(Item,
    Outlook.MailItem)
    ‘Can
    we add here User property in Mail Object Reference?
     Catch ex As Exception
    MsgBox(ex.Message, MsgBoxStyle.Information)
     End Try
    End
    Sub

  • How to catch the error occurred in Integration Process, and then save it?

    1. how to catch the error occurred in Integration Process, and then save the detailed error message to the file?
    2. there are fault message type for inbound message interface, how to use the fault message type in IR?
    Thanks,
    Michael
    Message was edited by: Spring Tang
    inital
    Message was edited by: Spring Tang
    detailed message output
    Message was edited by: Spring Tang
    fault message type

    Hi Spring,
    If u give an exception step along with your Transformation Step, whenever some error occurs in your message mapping, this exception block wil be triggered.
    You can configure your exception block to do all exception processing that you want. This exception handling is like any other java Exceptio n Handler. You can do anything that you want in your exception handler block on the basis of your requirements.
    <i>If an exception is triggered at runtime, the system first searches for the relevant exception handler in surrounding blocks. If it does not find the correct exception handler, it continues the search in the next block in the block hierarchy.
    When the system finds the correct system handler, it stops all active steps in the block in which the exception handler is defined and then continues processing in the exception handler branch. Once the exception handler has finished processing, the process is continued after the block.
    If the system fails to find an exception handler, it terminates the integration process with an error.</i>
    Regards,
    Bhavesh

  • Mass processing of indexes cancelled

    Hi,
    After a system refresh there were a number of missing secondary indexes (tcode DB02).
    I have selected them all for mass processing, and then stared to process them with tcode SE14 > DB Requests > Mass processing.
    During this mass processing the system has been restarted and the job TBATG-20100723 failed
    joblog:
    Job started                                                                
    Step 001 started (program RADBAT01, variant &0000000000000, user ID myuser)
    DB log: TBATG-20100723                                                     
    Job cancelled due to system shutdown
    Now in SE14 > DB Requests > Mass processing the job status of the remaining indexes is "cancelled".
    Is there anyway to restart this process?
    Kind regards,
    Nicolas

    Hello,
    The job has status cancelled.
    I've done a check status but this didn't change anything in DB02
    Kind regards,
    Nicolas

  • How do i skip process validations and still update the model?

    how do i skip process validations and still update the model? This has got to be a bug or a really huge design flaw. And no I don't want to using 'binding' to bind to every component on my form just so I can set its value. I just want to use value binding.
    Perhaps there should be a FacesContext.getCurrentInstance().updateModel() method?

    how about if I want clear the form or load a new model:
    <h:commandButton action="#{customer.clear_action}" immediate="true" value="clear" />
    <h:commandButton action="#{customer.load_action}" immediate="true" value="load" />
    public void clear_action() {
    Customer c = new Customer();
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();
    public void load_action() {
    Customer c = new Customer(1000);
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();

  • MDG-F 7.0 Multiple Editions with same valid from date

    It appears that we are dis-allowed to create more than two editions with same valid from date in MDG-F 7.0.
    that tells me that i should be extremely careful of creating an edition with valid from date because once created, I have to group all financial master data change requests effecitve on the same date into this edition. If I am missing one in first place and later on I find one that should be also valid from the same date after Edition is released, there is no way I can catch up by creating another edition with the same valid from date. Correct?
    Should I create Edition with replication time option 2 - approval of change request then to avoid?
    Thanks,
    LUO

    Hi Luo.
    your finding is unfortunately not correct. It is true that there might be only one open edition for a specific valid from date. Nevertheless, if you release this edition, you can create another edition using the same date.
    Best regards
    Michael

  • Help! When I try to download music from iCloud onto new iPhone it appears to go through the downloading process but then does not show up on the phone. Where am I going wrong?

    Have gone onto iTunes and selected purchased music. Then clicked on download all... It then appears to be going through the correct process but then music does not store on the phone. What am I doing wrong?

    Nothing you doing wrong, there is just not enough space on your phone.

  • I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted!

    I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted and I can't use my computer!!

    I don't know if you've already resolved your problem, but I had the same thing, it took me 6 hours to fix it. I had the exact same as you, installed the update and then it went to a white screen. After trying start up holding down cmmd r or holding down the alt key to try to install it again, nothing worked, same result every time. Then an angel came to me here somewhere but I can't find it now to thank him. Start in safe mode, press shift once you hear the start up chime and hold it down until you hear it again. Installation completion box came up and it was working. turn off computer and start up again normally and all is well. Except my final cut pro x doesn't work with it, have to update that now too. same as when I updated to mavericks.
    Hope this helps.

  • I have Video camera movies that are HD format.. I am doing editing work on them using Final Cut Pro, but using DV PAL format for the projects I am editing. When I then tried to copy my work done in FCP Project that's originally DV PAL , into a new FCP Pro

    I have Video camera movies that are HD format.. I am doing editing work on them using Final Cut Pro, but using DV PAL format for the projects I am editing. When I then tried to copy my work done in FCP Project that's originally DV PAL , into a new FCP Project that is HD, and tried reconnect media with original HD movies (video), the sequence project got distorted for all the text, shapes used and all.. everything changed its orientation and scale.. Is there a way by which I can preserve my work done on DV PAL and switch it preserving its proportions, scale and orientation, but on a HD project sequence?? Appreciate your help and advice..

    Yes.  A couple of ways that might work.
    First Way
    What you need to do is load one of your hd clips in the viewer and edit into a new HD sequence.  Does it display correctionly? 
    OK, select the clip in the hd timeline and copy (command-c).  Now go to the HD sequence with the material that's distorted.  Select all (command-a) and paste attributes (option-v) and choose basic motion and distort.  That should maek things work.  What won't work is anything that you've adjusted as far as basic motion or distort in your PAL sequence.  That I'm pretty sure you'll have to redo.
    Second Way. 
    Choose your original PAL sequence and do a Media Manage changing the sequence preset to the appropriate HD paramenters with the media offline.  You then should be able to reconnect these clips with your original HD media.

  • If i selected to "Create a new backup" and then cancelled that option but want to go back and select "Inherit backup history"; how do i go back and do that since now when i plug in my HD, that option doesn't appear anymore?? Any Help?

    If i selected to "Create a new backup" and then canceled that option but want to go back and select "Inherit backup history"; how do I go back and do that since now when I plug in my external hard drive, that option doesn't appear anymore?? Any Help? I bought a MacBook Air, but decided to return it for the newest model, and I wanted to back it up so that I can then back it up on my new MacBook Air. I didn't understand the option to Inherit or start a new back up, and therefore selected the option to create a new backup. I believe I should have selected to Inherit backup history so that when i back it up on the new MackBook Air, it appears the same as the one I'm returning.... Is there anyway that i can re-select the option to Inherit backup history for time machine?

    Thanks for sharing this link.
    I've posted a question here https://discussions.apple.com/message/22049103#22049103 describing my situation. Are you able to suggest me the right option?

  • Every time I try to restore my ipod it downloads the software then it says its processing it, then it says it cant download it right now.  Is there any other way to unlock a locked ipod touch without the lockcode?

    My son can't remember his passcode for his iPod touch and for some reason every time I try to restore it, the software gets updated and it starts processing it then it says there was an error and to try again later.  Later, it still does and says the same thing.  Is there any other way to unlock it without the passcode?

    The only way to clear off the passcode is to restore the device.  You could always try the restore process on another computer that has iTunes just to get the iPod working again, then you could plug it back into your comptuer to sync all of his content back on the iPod.

  • Is it possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?

    Hi,
    the subject says it all. I have downloaded the trail version to see if its possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?
    Basically, I will have to create a pdf form where users fill it and send it back to me. there will be required fields (the textbox and check box) that user need to fill before saving the editable pdf?
    Is it possible. if so, can someone kind enough to point to me right directions?
    Thanks in advance.

    Thanks for reply. What I am trying to achieve is to give an option for the user to download the pdf form and once the user tries to save the pdf, it validates with the required field. I managed to create the editable pdf with required fields option. I just need that validation to be done when user click on save file. How can I achieve this? thanks so much for your help.

Maybe you are looking for

  • Nota Fiscal Modelo 11A com numeração  zerada e série em branco

    Prezados, bom dia! Estou em uma implementação de SAP onde o cliente continua emitindo  Nota Fiscal de Serviço  em formulário 1/1A. Quando na J1B3N gero a saída neste processo a Nota Fiscal não está recebendo o NFNUM e nem a série. Ela aparece na J1BN

  • I can only see 5 "All Day Events" in Day View.....

    .... then I need to scroll down. Is there a way to 'expand' the All Day Events area so they are all visiable without scrolling? Thank you!

  • Shipment Cost - ERS (Evaluated receipt settlement)

    Hi, We are using Shipment cost documents to calculate the customer freight. In shipment cost document, we need to transfer the amount to accounting. In that case system will create PO automatically. This is all good. Now, We need to activate ERS for

  • ECL Viewer Redlining does not work in cFolders for PDF

    Hi, I am using cFolders 4.5 with ECL viewer 6.0 patch level 4. Redlining functionality works for AutoCAD and graphics files such as JPG. However, when I try to use the redlining functionality on a PDF I get the message "This feature is currently not

  • Working with acrobat.dll

    Hello all, I am completely new to this forum, and I hope it's a right place to ask what I am going to ask. I am trying to develop application, that could take some pdf document, and to add field on certain page at certain coordinates. There will be a