talek / vorax4

A simple yet powerful IDE for Oracle databases, built on top of the widely known Vim editor and Oracle SqlPLUS.
http://talek.github.io/vorax4
MIT License
53 stars 11 forks source link

Package with ampersand is corrupted after VORAXCompile #62

Closed manfredknapp closed 9 years ago

manfredknapp commented 9 years ago

I open a Package with the VORAX explorer. The package has some '&nbsp' in it. After VORAXCompile the '&nbsp' is changed to '' and/or '#pro _voraxend'. Some other characters get messed up too. In the output window are the following messages:

It seems that the '&nbsp' is interpreted as a host variable. What am i doing wrong? I'm using current VORAX with vundle under a virtualbox ubuntu.

talek commented 9 years ago

Hi,

I have just committed a fix for this bug. Many thanks for reporting it.

Alec.

manfredknapp commented 9 years ago

The Issue is fixed.

rhardey commented 9 years ago

Hi Alec,

It looks like this change has broken the display of compilation errors in the 'Location List' window - this window does not show up at all now.

Also, before the above change the executed SQL would always display in the output screen, but now this seems to be intermittent. Haven't worked out any consistent behaviour yet.

I've backed out the change above (reverted to version 4.3.48) and am getting the correct behaviour again.

Ryan.

talek commented 9 years ago

Hi Ryan,

Thanks a lot for let me know about the issue. You're right, that "innocent" change has broken some of the components of Vorax. I have committed a new fix. Please confirm it fixes the "voodoo" malfunction you mentioned.

Alec.

rhardey commented 9 years ago

Hi Alec,

It looks good - I get back the compilation errors window, it looks like I'm seeing all SQL mirrored in the output window again, and I did a quick compilation with x varchar2(20) := '&nbsp'; and it behaved itself.

Thanks for the quick turn-around yet again.

Ryan.

talek commented 9 years ago

Great! Thanks for your time on testing this. Alec.