archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
944 stars 269 forks source link

HTML report does not generate Views dropdown menu #784

Closed wwu206 closed 2 years ago

wwu206 commented 2 years ago

Version of Archi

Archimate tool 4.9.1 Build 202110260902

Archi Plug-ins

coArchi 0.7.202102021056 jArchi 1.2.0.202110121451

Operating System

Windows 10

Expected Behaviour

When I generate a HTML Report I expected to have a "Model Content" and a "Views" dropdown menus as usual in previous versions of Archi

Actual Behaviour

In this version, depending on the models, I have the "Views" dropdown or not. Without the "Views" dropdown is impossible to navigate in the model. Maybe is the model size? The model that doesn't have the Views dropdown, is about 3500 objects. For the smaller models I don't have problems.

Report with Views dropdown Report without Views dropdown

Cheers, Rui

Phillipus commented 2 years ago

Are there any errors in the error log?

The Error Log can be accessed in Archi by selecting the “About Archi” menu item. In the dialog box press the “Installation Details” button, then select the “Configuration” tab and press the “View Error Log” button.

Phillipus commented 2 years ago

Does the model actually have any Views?

wwu206 commented 2 years ago

Hi Phil.

Thanks for your quick response.

In attach is the error log file.

Cheers, Rui

Rui Nuno Simões Arquiteto de SI/TI | IS/IT Architect [Assinatura C] Departamento de Sistemas e Tecnologias de Informação | Information Systems and Technology Department Núcleo de Arquitetura de SI/TI | IS/IT Architecture Unit

Rua Francisco Ribeiro, 2 | 1150-165 Lisboa T +351 213130762 F +351 213143873 @.**@.>| www.bportugal.pthttp://www.bportugal.pt/

Siga-nos no Twitter<twitter.com/bancodeportugal>, no LinkedInhttp://www.linkedin.com/company/17080 e no Instagramhttps://www.instagram.com/bancodeportugaloficial/

P Antes de imprimir, pense no ambiente Before printing, think about the environment

From: Phil Beauvoir @.> Sent: 4 de novembro de 2021 13:57 To: archimatetool/archi @.> Cc: Rui Simões @.>; Author @.> Subject: Re: [archimatetool/archi] HTML report does not generate Views dropdown menu (Issue #784)

ATENÇÃO: Este email é de origem externa. Tenha especial atenção a qualquer anexo ou hiperligação existente neste email.


Are there any errors in the error log?

The Error Log can be accessed in Archi by selecting the "About Archi" menu item. In the dialog box press the "Installation Details" button, then select the "Configuration" tab and press the "View Error Log" button.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_archimatetool_archi_issues_784-23issuecomment-2D960986654&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=UK6E3iPUAmBFKYUvlFOgOl3iFOh6JJXiKT6PbmGyNRs&s=xC2wqPKvmCvhoi6BxvOwpWfpnV2zTXIR0lKjHtrs9sI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIUVLTA74UUOZX74IW4WOS3UKKGLFANCNFSM5HLPZULA&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=UK6E3iPUAmBFKYUvlFOgOl3iFOh6JJXiKT6PbmGyNRs&s=SYMG6NA09akPN2tpjYtBiai6AVsaVbfdvGTuTIr_9F0&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=UK6E3iPUAmBFKYUvlFOgOl3iFOh6JJXiKT6PbmGyNRs&s=adAqt87NiApGRxZnAQxyPx4qFS12_R5_xnMYcvEAsg4&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=UK6E3iPUAmBFKYUvlFOgOl3iFOh6JJXiKT6PbmGyNRs&s=gAkOfbUScEPbqh0SgKdhE9ttjHHkUhpblmbVBo7mHQ0&e=.

Público - Banco de Portugal


Este e-mail dirige-se apenas aos destinatários acima indicados, sendo proibida a sua divulgação, total ou parcial, ou o uso ou reenvio não autorizados. Se recebeu este e-mail por engano, por favor notifique o remetente imediatamente via e-mail e exclua-o do seu sistema. O Banco de Portugal trata os dados pessoais de acordo com os princípios e regras decorrentes da legislação europeia e nacional, em especial do Regulamento (UE) 2016/679, do Parlamento Europeu e do Conselho, de 27 de abril de 2016. Para mais informações consulte a Página do Banco de Portugal sobre proteção de dados. Em caso de dúvidas, pode contactar o Encarregado da Proteção de Dados para o seguinte e-mail: @.***). Pode também consultar a Autoridade Nacional da Proteção de Dados.

This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. Banco de Portugal processes personal data in line with the principles and rules in European and national legislation, in particular Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016. For further information, see Banco de Portugal’s webpage on data protection. In case of queries, please contact Banco de Portugal’s Data Protection Officer @.***). You may also contact the Portuguese Data Protection Authority (Comissão Nacional de Proteção de Dados).

Phillipus commented 2 years ago

You can't add attachments from email. You have to do it in GitHub.

wwu206 commented 2 years ago

Yes, the model has about 200 views

Rui Nuno Simões Arquiteto de SI/TI | IS/IT Architect [Assinatura C] Departamento de Sistemas e Tecnologias de Informação | Information Systems and Technology Department Núcleo de Arquitetura de SI/TI | IS/IT Architecture Unit

Rua Francisco Ribeiro, 2 | 1150-165 Lisboa T +351 213130762 F +351 213143873 @.**@.>| www.bportugal.pthttp://www.bportugal.pt/

Siga-nos no Twitter<twitter.com/bancodeportugal>, no LinkedInhttp://www.linkedin.com/company/17080 e no Instagramhttps://www.instagram.com/bancodeportugaloficial/

P Antes de imprimir, pense no ambiente Before printing, think about the environment

From: Phil Beauvoir @.> Sent: 4 de novembro de 2021 14:11 To: archimatetool/archi @.> Cc: Rui Simões @.>; Author @.> Subject: Re: [archimatetool/archi] HTML report does not generate Views dropdown menu (Issue #784)

ATENÇÃO: Este email é de origem externa. Tenha especial atenção a qualquer anexo ou hiperligação existente neste email.


Does the model actually have any Views?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_archimatetool_archi_issues_784-23issuecomment-2D961015994&d=DwMCaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=B_7q5dbwSEsPYC86cL7adM49uf6a3pxp-Cr6eaqjJUE&s=vka0D0Q2kCsiCRusAtbKvQ6YREi5A-eL0v3vyAqgXqE&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIUVLTAHG5MPOP4PYP5L643UKKH7NANCNFSM5HLPZULA&d=DwMCaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=B_7q5dbwSEsPYC86cL7adM49uf6a3pxp-Cr6eaqjJUE&s=q8MSEQ4TJ5dCLDzROwru679Z3IwYTIQ4bV8qX6pPEnE&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=B_7q5dbwSEsPYC86cL7adM49uf6a3pxp-Cr6eaqjJUE&s=MJ1Gv7RJR7JrbgWwIj8KJQ05nfR1bz3GwjlTAgBnprk&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=B_7q5dbwSEsPYC86cL7adM49uf6a3pxp-Cr6eaqjJUE&s=cY_Hil0T7FDqKDyNZEaIrV4zXXGXtCK7ebd7RQoKgfc&e=.


Este e-mail dirige-se apenas aos destinatários acima indicados, sendo proibida a sua divulgação, total ou parcial, ou o uso ou reenvio não autorizados. Se recebeu este e-mail por engano, por favor notifique o remetente imediatamente via e-mail e exclua-o do seu sistema. O Banco de Portugal trata os dados pessoais de acordo com os princípios e regras decorrentes da legislação europeia e nacional, em especial do Regulamento (UE) 2016/679, do Parlamento Europeu e do Conselho, de 27 de abril de 2016. Para mais informações consulte a Página do Banco de Portugal sobre proteção de dados. Em caso de dúvidas, pode contactar o Encarregado da Proteção de Dados para o seguinte e-mail: @.***). Pode também consultar a Autoridade Nacional da Proteção de Dados.

This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. Banco de Portugal processes personal data in line with the principles and rules in European and national legislation, in particular Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016. For further information, see Banco de Portugal’s webpage on data protection. In case of queries, please contact Banco de Portugal’s Data Protection Officer @.***). You may also contact the Portuguese Data Protection Authority (Comissão Nacional de Proteção de Dados).

wwu206 commented 2 years ago

archi.log

The log file

Phillipus commented 2 years ago

Nothing in the log of interest except:

java.lang.Exception: org.eclipse.swt.SWTError: Not implemented [WebView2 runtime not found]

That means you have enabled the option to use the Edge Browser for the internal browser but don't have the Edge Runtime installed. Shouldn't make a difference, though.

Phillipus commented 2 years ago

I can't reproduce it. Can you share a model privately with me that has the problem?

wwu206 commented 2 years ago

I disabled the option but the behavior is the same.

I already checked and the views are created in the file structure generated and were generated 3379 views (not 200)

Maybe the problem is on the index.html creation

wwu206 commented 2 years ago

Unfortunately, I cannot send you the model but the index file has an unexpected end.

Index - EOF

Phillipus commented 2 years ago

OK, but if I can't reproduce it I can't fix it. Perhaps you can diagnose it yourself? Maybe look for factors such as the amount of elements, amount of views, whether folders are used, etc.

wwu206 commented 2 years ago

In the previous version we had installed (4.8.1), we didn't have this error, if it helps

wwu206 commented 2 years ago

As size, we have in the generation folder: 21344 elements 3379 images 20429 objects 3379 views

Phillipus commented 2 years ago

I can't diagnose this without a model that has the problem.

But maybe you could try a process of elimination -

Sorry, but I can only guess at this point.

wwu206 commented 2 years ago

Hi. Where cian I found the version 4.9.0? I'd like to try to install this version but I cannot find it. Cheers

Phillipus commented 2 years ago

Version 4.9.0 has no differences in the reporting. You should compare with 4.8.1.

wwu206 commented 2 years ago

Ok, 4.8.1 works perfectly

Phillipus commented 2 years ago

As I said, I can only guess unless I have a model to reproduce the problem. Did you try all the things I mentioned in https://github.com/archimatetool/archi/issues/784#issuecomment-961228596

Phillipus commented 2 years ago

@wwu206 Something you could try:

  1. Install a new zip version of Archi 4.9.1
  2. Copy the folder Archi\plugins\com.archimatetool.reports_4.8.1.202101181039\templates
  3. Replace in folder Archi\plugins\com.archimatetool.reports_4.9.1.202110260902\templates

This will mean that Archi 4.9.1 will then use the old code for generating HTML reports. Then we can see if the problem is there.

wwu206 commented 2 years ago

@Phillipus I think I've found the problem: In some of the serve relations appears a blank property with information. I removed two of them (in two different phases) and the index.html file grew in both times. Now I'm checking for more. I'll let you know as soon as I have more news. Thanks

Phillipus commented 2 years ago

I added a blank property to an element (same for relationship). I see this in my error output:

context [/modelreport /expandFolder /_sub1 /expandFolder /_sub2 /classesFromProperties /_sub3] 1:25 internal error: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47)
    at java.base/java.lang.String.charAt(String.java:693)
    at org.stringtemplate.v4.STGroup.getEmbeddedInstanceOf(STGroup.java:177)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:235)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:772)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:747)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:772)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:747)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:772)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:747)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.ST.write(ST.java:427)
    at org.stringtemplate.v4.ST.render(ST.java:497)
    at org.stringtemplate.v4.ST.render(ST.java:491)
    at org.stringtemplate.v4.ST.render(ST.java:487)
    at com.archimatetool.reports.html.HTMLReportExporter.createReport(HTMLReportExporter.java:257)
Phillipus commented 2 years ago

@jbsarrodie I think the cause might be in modelreport.st, can you take a look?:

classesFromProperties(object) ::= <<
^object.Properties:{p | ^(p.Key)(p.Value)^ }^
>>

Also, the order of folders is different:

report

wwu206 commented 2 years ago

Hi.

I already can see some views, but only about 10% of them.

Now the index file end like the file attach

image

Phillipus commented 2 years ago

You could remove all the empty properties in the model with a jArchi script.

wwu206 commented 2 years ago

I'll try that during the weekend

We talk again on Monday

wwu206 commented 2 years ago

Hi Phil.

The problem is solved.

To have the HTML generated properly, I had to delete all the properties from the Serving relationship type filled or not.

Hope it helps to solve the problem in future versions.

Cheers, Rui

Phillipus commented 2 years ago

Hi Rui,

thanks for the feedback. I think it's not really a problem with Serving relationship but rather empty properties.

@jbsarrodie What do you think?

wwu206 commented 2 years ago

For me only cleaning the properties from the serving relation solved the problem.

Is strange that in my case with a so big model there no more empty properties in other objects.

We have lots of properties in all objects, except in relations. In relations we use only the "Documentation" to fill all information (these cases, I my case, should not exist). Maybe the problem is only in the properties tab in relations.

Hope it help, Rui

Phillipus commented 2 years ago

A test model consisting of two elements, and a serving relationship with a Property with name and value outputs this to the console:

context [/modelreport /expandFolder /_sub2 /classesFromProperties /_sub3] 1:25 no such template: /Any

If the property consists of just a name, "test" this is output:

context [/modelreport /expandFolder /_sub98 /classesFromProperties /_sub99] 1:25 no such template: /test

If the property is empty (no name, no value) this exception occurs:

context [/modelreport /expandFolder /_sub34 /classesFromProperties /_sub35] 1:25 internal error: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47)
    at java.base/java.lang.String.charAt(String.java:693)
    at org.stringtemplate.v4.STGroup.getEmbeddedInstanceOf(STGroup.java:177)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:235)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:772)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:747)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:772)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:747)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:742)
    at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:674)
    at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:285)
    at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:145)
    at org.stringtemplate.v4.ST.write(ST.java:427)
    at org.stringtemplate.v4.ST.render(ST.java:497)
    at org.stringtemplate.v4.ST.render(ST.java:491)
    at org.stringtemplate.v4.ST.render(ST.java:487)
    at com.archimatetool.reports.html.HTMLReportExporter.createReport(HTMLReportExporter.java:257)
wwu206 commented 2 years ago

I just checked that I have lots of properties in objects and views with the "Name" filled and with the "Value" empty.

jbsarrodie commented 2 years ago

@jbsarrodie What do you think?

I think this is related to the new feature which makes it possible to hide some entries from the menu. I had to use a trick which generates a classname based on property name and value. I think generation failed when name and/or value is empty. I must admit that thanks to my OCD, all my properties have name and value ;-)

This should be easy to fix I think, but will take me some days before I can look at it.

jbsarrodie commented 2 years ago

Both bugs should be fixed in the html_report_fix branch.

@wwu206 I've never been able to reproduce your issue and you never shared your model with us, so could you please either share the "faulty" model with us or test this patch on your side (on Archi 4.9, manually edit archi/com.archimatetool.reports/templates/st/modelreport.stg to replace it with this one). This version no more raises a JAVA error on properties with "empty" name.

A test model consisting of two elements, and a serving relationship with a Property with name and value outputs this to the console:

context [/modelreport /expandFolder /_sub2 /classesFromProperties /_sub3] 1:25 no such template: /Any

If the property consists of just a name, "test" this is output:

context [/modelreport /expandFolder /_sub98 /classesFromProperties /_sub99] 1:25 no such template: /test

These are "normal" warnings which are due to the way my trick works (it calls a template function based on the name of the property). I've made it a bit more explicite that these warnings could be igored.

Phillipus commented 2 years ago

@jbsarrodie I'm getting:

context [/modelreport /expandFolder /_sub18 /classesFromProperties /_sub19] 1:25 no such template: /IGNORE_ERROR_

Test model consisting of two elements, and a serving relationship with a Property with empty name and value.

jbsarrodie commented 2 years ago

@jbsarrodie I'm getting:

context [/modelreport /expandFolder /_sub18 /classesFromProperties /_sub19] 1:25 no such template: /IGNORE_ERROR_

Test model consisting of two elements, and a serving relationship with a Property with empty name and value.

That's intended behavior: this is an internal StringTemplate message raised because we try to call a non existent function whose name is forged by concatenating IGNORE_ERROR_ and the property's name.

Phillipus commented 2 years ago

These fixes are present in Archi 4.9.2 beta 3. Please test. 👍

https://www.archimatetool.com/beta/

wwu206 commented 2 years ago

Hi Phil.

I’ll download and test as soon as we can (as we work in a shared environment). I’ll give you news as soon as possible.

Thanks.

Have a nice 2022 and best regards, Rui

Rui Nuno Simões Arquiteto de SI/TI | IS/IT Architect [Assinatura C] Departamento de Sistemas e Tecnologias de Informação | Information Systems and Technology Department Núcleo de Arquitetura de SI/TI | IS/IT Architecture Unit

Rua Francisco Ribeiro, 2 | 1150-165 Lisboa T +351 213130762 F +351 213143873 @.**@.>| www.bportugal.pthttp://www.bportugal.pt/

Siga-nos no Twitter<twitter.com/bancodeportugal>, no LinkedInhttp://www.linkedin.com/company/17080 e no Instagramhttps://www.instagram.com/bancodeportugaloficial/

P Antes de imprimir, pense no ambiente Before printing, think about the environment

From: Phil Beauvoir @.> Sent: 4 de janeiro de 2022 16:23 To: archimatetool/archi @.> Cc: Rui Simões @.>; Mention @.> Subject: Re: [archimatetool/archi] HTML report does not generate Views dropdown menu (Issue #784)

ATENÇÃO: Este email é de origem externa. Tenha especial atenção a qualquer anexo ou hiperligação existente neste email.


These fixes are present in Archi 4.9.2 beta 3. Pleased test. 👍

https://www.archimatetool.com/beta/https://urldefense.proofpoint.com/v2/url?u=https-3A__www.archimatetool.com_beta_&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=O-wji9cSJq9PjeMHXS4MKpcnPDkGC35jljy12ehTQCU&s=wwL-W7XmHQf8iQ8f5JSkL55kQpxb-oH1jhtOKKnB2Lc&e=

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_archimatetool_archi_issues_784-23issuecomment-2D1004950472&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=O-wji9cSJq9PjeMHXS4MKpcnPDkGC35jljy12ehTQCU&s=_T_JdSrDQYgymHgKikn3mwxkiRZAyS-skqwNUHi9Bkg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIUVLTH7V6LDURO5ISDFRUTUUMNF5ANCNFSM5HLPZULA&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=O-wji9cSJq9PjeMHXS4MKpcnPDkGC35jljy12ehTQCU&s=vIEAX9Mmd1v0KNjWHpm8Ntvt6s3aj82uPl8V1yYWa80&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=O-wji9cSJq9PjeMHXS4MKpcnPDkGC35jljy12ehTQCU&s=kuoR8ywspKLEAMLcWt8sPGnlSxdnU6b6Vs9dQJ-QfhI&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMFaQ&c=WdwKmQaPYCZq3ZY-wllUZB0L-BOaCTNMIdrWHq8UZ_4&r=CcAbfhrLvjx1ZjIFNyrBbEmJKLLAsXQjFEwpXYmAbjs&m=O-wji9cSJq9PjeMHXS4MKpcnPDkGC35jljy12ehTQCU&s=Tba-uoynqhUxMu4wUGz8ZfIXqcg8rjNbOJH-J8xdbjo&e=. You are receiving this because you were mentioned.Message ID: @.**@.>>


Este e-mail dirige-se apenas aos destinatários acima indicados, sendo proibida a sua divulgação, total ou parcial, ou o uso ou reenvio não autorizados. Se recebeu este e-mail por engano, por favor notifique o remetente imediatamente via e-mail e exclua-o do seu sistema. O Banco de Portugal trata os dados pessoais de acordo com os princípios e regras decorrentes da legislação europeia e nacional, em especial do Regulamento (UE) 2016/679, do Parlamento Europeu e do Conselho, de 27 de abril de 2016. Para mais informações consulte a Página do Banco de Portugal sobre proteção de dados. Em caso de dúvidas, pode contactar o Encarregado da Proteção de Dados para o seguinte e-mail: @.***). Pode também consultar a Autoridade Nacional da Proteção de Dados.

This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. Banco de Portugal processes personal data in line with the principles and rules in European and national legislation, in particular Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016. For further information, see Banco de Portugal’s webpage on data protection. In case of queries, please contact Banco de Portugal’s Data Protection Officer @.***). You may also contact the Portuguese Data Protection Authority (Comissão Nacional de Proteção de Dados).

Phillipus commented 2 years ago

@jbsarrodie I've merged (and deleted) your branch. Thanks for the fix!

Phillipus commented 2 years ago

Re-opening because the merge commit to GitHub auto-magically closed it.

Phillipus commented 2 years ago

Let's close this one. Please add a comment if the issue happens again.