This project is read-only.
1

Closed

Two single line comments (//) break Genbi macro file

description

If you insert two lines with // for a comment without further script statements between them, the remaining macro file wouln't be executed anymore.

Example:
case scope 'dimensions';
case load query
{
  select 
    [Dimension_Unique_Name]
    , [Dimension_Caption]
  from
    $system.MDSchema_Dimensions
  where
    [Cube_Name]='Adventure Works'
}
on 'Provider=MSOLAP.4;Data Source=.\SQL2014;Initial Catalog=Adventure Works DW 2012;Locale Identifier=1033';
 
template load predefined 'ExistsDimension';
case rename column 'Dimension_Caption' into 'dimension';
case add column 'perspective' values 'Adventure Works';
 
suite generate;

// Comment 1
// Comment 2 -- all below this line will not be executed
setting default sut connectionString 'Provider=MSOLAP.4;Data Source=.\SQL2014;Initial Catalog=Adventure Works DW 2012;Locale Identifier=1033';
setting default assert connectionString 'Provider=MSOLAP.4;Data Source=.\SQL2014;Initial Catalog=Adventure Works DW 2012v2;Locale Identifier=1033';
suite save 'myRegression.nbits';
Closed Dec 21, 2015 at 11:30 AM by Seddryck
Fixed in release 1.12

comments

Seddryck wrote Sep 7, 2015 at 3:26 PM

I've created this issue on the github workspace. This one has been desactivated. To get some new for your issue, check this link: https://github.com/Seddryck/NBi/issues/115