cubewise-code / bedrock

Bedrock is TM1 Best Practice assets built from years of TM1 experience
Other
79 stars 74 forks source link

cube.data.copy epilog cutoff in .pro file #337

Closed joebradbury closed 2 years ago

joebradbury commented 2 years ago

I copied the new files from 4.1.3 into my environment a couple weeks ago, and just now needed to use the cube.data.copy process. I got an error on epilog line 84 that there was no END or ENDIF, so I opened up the process in architect and sure enough the last few line items of the epilog procedure were not there. I opened the .pro file directly and it appears to have the lines in there, but I wasn't able to copy the code into the tm1 editor and save it because my environment doesn't have the zzsys50dim cube in it. I went ahead and re-downloaded a new version of the file and took my environment down, replaced the file, and started it back up again, only to get the same error. I can't manually edit it and replacing the file with the current version here on github reproduces the same error, so not sure what to do from here. Thanks!

wimgielis commented 2 years ago

You can update the process through the PRO file in Notepad, but don’t forget to update the line count of the respective tab with 1 if you add 1 line.

Op di 27 sep. 2022 om 16:29 schreef joebradbury @.***>

I copied the new files from 4.1.3 into my environment a couple weeks ago, and just now needed to use the cube.data.copy process. I got an error on epilog line 84 that there was no END or ENDIF, so I opened up the process in architect and sure enough the last few line items of the epilog procedure were not there. I opened the .pro file directly and it appears to have the lines in there, but I wasn't able to copy the code into the tm1 editor and save it because my environment doesn't have the zzsys50dim cube in it. I went ahead and re-downloaded a new version of the file and took my environment down, replaced the file, and started it back up again, only to get the same error. I can't manually edit it and replacing the file with the current version here on github reproduces the same error, so not sure what to do from here. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/cubewise-code/bedrock/issues/337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDHULIZAYG44VBF4OB2KRTWAMAEBANCNFSM6AAAAAAQW3A74E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--


Best regards / Beste groeten,

Wim Gielis MS Excel MVP 2011-2014 https://www.wimgielis.com http://www.wimgielis.be

joebradbury commented 2 years ago

Thank you! I opened the file directly out of github and changed the line count from 84 to 88 for the epilog procedure and it appears to have fixed the issue. I believe this needs to be changed in the downloadable file as my .pro file was unedited when it gave me these errors.

lotsaram commented 2 years ago

Hi @joebradbury Thanks for pointing this out. Unfortunately this does happen occasionaly using git with TI code if the git sensitivity doesn't pick up a change on the internal control metadata in the TI process for number of lines of code per tab. The code is actually correct, but the process is still broken. I will push through a fix.