Skip to content
#

template-engine

Here are 1,036 public repositories matching this topic...

runyan
runyan commented Dec 22, 2017

Environment

  • blade: 2.0.5-RELEASE
  • jdk: 1.8.0_111
  • maven: 3.3.9
  • OS: Windows 7 Home Basic

Description

When I tried to upload a file, an java.lang.UnsupportedOperationException: direct buffer raised, so that the upload operation cannot be done. The full exception stack is as follows:

java.lang.UnsupportedOperationException: direct buffer
	at io.netty.buffer.Po
Ten0
Ten0 commented Jan 7, 2020

When rendering with an invalid template that refers to an Object instead of strings/integers/bools/arrays, the rendering silent fails by rendering "[object]", due to:
https://github.com/Keats/tera/blob/b91a985951fccf6896c7192ea7c78ba64608bb62/src/context.rs#L119
(by the way, this could be Cow::Borrowed)

This is does not match the rust philosophy of being explicit and quickly failing so

Manifold plugs into Java to supplement it with powerful features, from Type-safe Metaprogramming, Extension Methods, Operator Overloading, and Unit Expressions to an integrated Template Engine and a Preprocessor. All fully supported in IntelliJ IDEA and Android Studio. Simply add Manifold to your project and begin taking advantage of it.

  • Updated Aug 27, 2020
  • Java

Improve this page

Add a description, image, and links to the template-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the template-engine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.