Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Forms 6.5 previewArchive.jsp syntax error

GPhillips58
Level 3
Level 3

I am trying to import archives (not applications) in Adminui but 6.5 has a bug in previewArchive.jsp.  When I click the preview button I get this error:

/previewArchive.jsp (JBWEB004251: An error occurred at line: 56 column: 99) JBWEB004197: Attribute value invalid for tag if according to TLD

This is the line being referenced:

<td><input type="checkbox" name="importComponents" value='<s:property value="name"/>' <s:if test="action" value="0">checked="true"</s:if>/></td>

That is clearly a syntax error, not a data error as there are no data items here.  I opened a ticket with Adobe but cannot convince the support person that it is a bug.

 

1 Accepted Solution
GPhillips58
Correct answer by
Level 3
Level 3

Adobe support refused to fix this on the basis that our use case for uploading archives (templates only, no application) is not supported.  We use the repository service(superseded) to upload and manage templates that are invoked through the formsservice.  As a result one of our developers (we don't have java devs) modified previewArchive.jsp enough to make it work with all the items checked.  We then found the ear file to add it to. 

I still say if they broke it then they should fix it.  If they truly believe there is no use case for it then they should remove it. 

View solution in original post

4 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

By any chance can you share the sample LCA with me? Or, share the ticket number?

 

Thanks,

Mayank

GPhillips58
Level 3
Level 3
Adobe support is still trying to claim we are using the import wrong. They are saying our templates are too old and the dependencies are not supported. They claimed that even after I created a new template in Designer 6.5, used Workbench 6.5 to create the archive and the import still gave the exact same error. I don't believe they ever tested previewarchive.jsp after they rewrote it for 6.5.
GPhillips58
Correct answer by
Level 3
Level 3

Adobe support refused to fix this on the basis that our use case for uploading archives (templates only, no application) is not supported.  We use the repository service(superseded) to upload and manage templates that are invoked through the formsservice.  As a result one of our developers (we don't have java devs) modified previewArchive.jsp enough to make it work with all the items checked.  We then found the ear file to add it to. 

I still say if they broke it then they should fix it.  If they truly believe there is no use case for it then they should remove it. 

View solution in original post