Book a Demo

Author Topic: Report Writer 11.1 not as good as 11  (Read 12949 times)

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Report Writer 11.1 not as good as 11
« on: November 02, 2014, 04:24:45 am »
I have found something like a bug with the report writer introduced in 11.1. I had a template that used a table, the elements write rows, the package wraps the table. I had used the trick of removing the newlines, so that the tables got merged together if the template was run over multiple packages. So, I created a master document, model document that references the right template and included the packages I want. It worked well. Since 11.1 it will not iterate over the packages. A single package still works fine. It took me some time to figure out that by putting a newline after the table would resolve the issue, and I settled for removing the newlines manually.

Any other change proved making no difference, from .docx to .rtf, altering the table layout, nothing. But that newline after the table made a world of difference. I'm not sure what it should be doing, but I'm very tempted to go back to 11.0, because I use that table without newline trick quite a lot and it's been working for some time, deduced from the fact that I've been using it for years.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #1 on: November 03, 2014, 08:48:01 pm »
have you formally reported this to Sparx?

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #2 on: November 04, 2014, 07:09:23 am »
No, as the sample project contains info I cannot share. As it took me some time to solve, haven't had time to create a completely new project with fudged data.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #3 on: November 04, 2014, 08:34:08 am »
Sparx has an obfuscation tool. Ask Sparx support, mangle the model and send it.

q.

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #4 on: November 07, 2014, 02:40:00 am »
Good idea, I've submitted a bug report, and if I need to send a working problem, I'll ask for that......

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #5 on: November 13, 2014, 01:05:51 am »
The bug has been submitted and validated, (issue 14119353). However the obfuscator was not provided, so I've asked for this functionality in the product as it occurred to me that I often find myself having to duplicate work because I need to show how I constructed the repository, but can't show the content I used, so it would be a time saver for me.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #6 on: November 13, 2014, 08:24:18 am »
That's strange. Sure, it's years ago I got a copy of that tool from Sparx but I could not think of any reason this tool would no longer be provided. Except, they simply lost it in time - how could that have happened?

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #7 on: November 13, 2014, 08:25:46 am »
I still have it here :D It's from 2008.

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #8 on: November 13, 2014, 08:29:39 am »
And even more strange: http://sparxsystems.com/securedownloads/EAObfuscation.exe still works, though it asks for user/password where you need to supply your registered user/password.
q.
« Last Edit: November 13, 2014, 08:30:43 am by qwerty »

Max Widen

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #9 on: November 15, 2014, 10:27:39 pm »
Q, nice tool, thank you! We've just been looking for solution of securely sending a bug.

But I have to mention, this tool doesn't change the contents of "linked documents", so it's possible to occasionally leak some data to Sparx.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #10 on: November 15, 2014, 10:36:24 pm »
If I interprete what the OP wrote then Sparx seems to have forgotten about this tool ::) Maybe one of the engaged Sparxians reading here will file an internal bug. In most cases you could remove the contents of t_document with a little script. But replacing it with some lorem ipsum would likely be better.

q.

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #11 on: November 16, 2014, 03:58:14 am »
I actually received the link, but it wouldn't have helped that much, as it is limited. I needed to anonymize the notes, their obfuscater could only clear notes, not change them.

So, I am looking into building my own, as I have a need beyond sending bugs in EAP's to Sparx, I don't run into many bugs, so this is secondary requirement. It's been a while since I did this for a living, so progress probably won't be fast, but might as well take the opportunity to explore the world of EA add-ins  ;)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #12 on: November 16, 2014, 08:22:13 am »
I'd say that obfuscating the notes is rather easy (you can run a search to find all elements/attrs/... with notes via Repository.SQLQuery). Changing the attached document is a bit more tricky since you need to store a zipped RTF. But if you prepare a template you could just use that everywhere. Of course the length of the document would then always be the same.

q.

ChrisMW

  • EA User
  • **
  • Posts: 90
  • Karma: +2/-0
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #13 on: November 16, 2014, 09:12:15 am »
Yes, it is not that hard. The attached documents is interesting option, hadn't given that much thought as I hardly use it. But i am looking for a certain flexibility, as to what is touched and how it is touched. Right now I'm thinking of something along the lines of the report template editors left pane, with some filtering options so you can obfuscate different elements differently and also something that would allow new strategies for replacing information, as i could imagine that my simple strategies might not be good for everyone. It's just a matter of finding some time between job time and family time to get stuck in. I tried my first hello world version today, that was more than easy.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Report Writer 11.1 not as good as 11
« Reply #14 on: November 16, 2014, 11:11:32 am »
If you got any specific question just open a new thread in the automation.

q.