Comments (2)
Hello @rousso,
many thanks for your extensive answer and for providing a workaround!
Actually, I even read the release notes and the known issues but couldn't really connect the dots.
Fingers crossed for you meeting the SDK 1.0.0 schedule.
Cheers,
Philipp
from eforms-notice-viewer.
Hi @phgo,
Indeed, as you noticed (and as we also pointed out in the release notes), some of the view templates provided in SDK 0.7.0 still contain errors. Indeed some of those errors are "fatal" in the sense that they prevent any application (including the notice viewer sample app) from reading the specific view templates.
You are not "missing the point". We are kind of "missing the mark". Although we were aware of these problems when releasing the latest version of the SDK, we decided to go ahead and release it anyway. Let me explain in a bit more detail, and give you a workaround until the next release of the SDK.
The problem is not in the Notice Viewer Sample app. The application functions as expected and throws an exception when it tries to read a template that contains syntax errors. The problem is in some specific lines of EFX in some of the files inside the view-templates
folder of the SDK. You can work around the problem by just deleting or fixing those specific lines.
The reason we did not fix these issues before releasing this version of the SDK (although we were aware of them), was because "we are on the clock" for creating and releasing SDK 1.0.0 by the end of the first week of August and our current priority is to complete the work on all issues that would introduce a breaking change in the SDK when they are released.
The content of the view-templates is just "metadata" and a simple patch of the SDK is sufficient to fix them, So we just ignored them for the moment and went ahead with the release of SDK 0.7.0 in order to be able to meet our "stable SDK" deadline for August.
We will try to have these fixed by the next SDK release although our priorities do not change until August 5. Please note that there are several other issues with the view templates apart from the three known syntax errors. It will take a while for us to finalize the templates and release the ones that will be eventually used by our production systems. However those fixes will be released as patches of the SDK, so your application will be able to use them directly with no developer intervention required.
The offending lines are:
- In View Templates 7 to 24:
{BT-18-Organization-Company OR BT-509-Organization-TouchPoint} #{business_term|name|BT-18}: ${BT-18-Organization-Company OR BT-509-Organization-TouchPoint}
.
This is a syntax error. To work around it, replace the context declaration{BT-18-Organization-Company OR BT-509-Organization-TouchPoint}
with{BT-18-Organization-Company}
- In View Templates 29-37:
{BT-165-Organization-Company[BT-3201-Tender]} #{business_term|name|BT-165}: #{BT-165-Organization-Company[BT-3201-Tender]}
.
The problem here is a syntax error plus two type mismatch errors. To fix it, replace the replace the entire line with:
{BT-165-Organization-Company[BT-3201-Tender is present]} #{business_term|name|BT-165}: ${BT-165-Organization-Company[BT-3201-Tender is present]}
. - In View Templates 36 to 40:
{BT-1501(n)-Contract, BT-1501(s)-Contract} #{name|BT-1501}: ${BT-1501(n)-Contract} ${BT-1501(s)-Contract}
.
The problem here is a syntax error. To work around it replace the context declaration{BT-1501(n)-Contract, BT-1501(s)-Contract}
with{BT-1501(n)-Contract,}
.
Regards,
Yannis
from eforms-notice-viewer.
Related Issues (12)
- ParseCancellationException HOT 6
- why is it slow to generate xsl file ? - can i bypass if it is already created HOT 3
- Notice viewer NPE since SDK dependency
- NoticeViewer0.8.0 can't download https://repo.maven.apache.org/maven2/eu/europa/ted/eforms/eforms-sdk/1.7.0-SNAPSHOT/eforms-sdk-1.7.0-SNAPSHOT.jar HOT 4
- Problem with the translation key HOT 2
- install error HOT 2
- running eforms-notice-viewer-0.8.0-SNAPSHOT-app.jar thows error HOT 7
- Handling restricted fields in viewer HOT 2
- Available in Python? HOT 1
- add params to the command line for choosing the destination filename HOT 2
- increase performance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eforms-notice-viewer.