AEM Forms 6.5 previewArchive.jsp syntax error | Community
Skip to main content
January 3, 2020
Solved

AEM Forms 6.5 previewArchive.jsp syntax error

  • January 3, 2020
  • 3 replies
  • 3669 views

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by GPhillips58

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. 

3 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
January 6, 2020

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

 

Thanks,

Mayank

January 6, 2020
Adobe CQ Ticket : 201972
January 7, 2020
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.
GPhillips58AuthorAccepted solution
March 3, 2020

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.