Skip to content

Instantly share code, notes, and snippets.

System exception!
The server has experienced an exception processing your last request. The exception has been logged, and system administrators will be notified of this problem. You may continue to use the site. We apologize for the inconvenience.
Hide error details
com.serotonin.ShouldNeverHappenException: freemarker.core.InvalidReferenceException: Expression instance is undefined on line 20, column 13 in orderNotification.ftl.
at com.serotonin.m2m2lic.email.OutgoingEmail.moduleSaveNotification(OutgoingEmail.java:156)
at com.serotonin.m2m2lic.http.controller.account.ModuleEditController.handleRequestInternal(ModuleEditController.java:88)
at com.serotonin.web.spring.CustomModelController.handleRequestImpl(CustomModelController.java:47)
at com.serotonin.web.spring.ExceptionLoggingController.handleRequestInternal(ExceptionLoggingController.java:20)
<div ng-hide="showSetInput">
<ma-point-value point="myPoint" ng-click="showSetInput=true; myValue=myPoint.value"></ma-point-value>
</div>
<div ng-show="showSetInput">
<input ng-blur="showSetInput=false" ng-model="myValue" ma-focus-on="showSetInput" ma-enter="myPoint.setValue(myValue); showSetInput=false">
<button ng-mousedown="myPoint.setValue(myValue)">Set</button>
</div>
scope.$watch('name', function(newValue, oldValue) {
if (newValue === undefined && newValue === oldValue) return;
scope.counter = scope.counter + 1;
});
[retention] 2016/05/05 16:44:50 retention policy shard deletion check commencing
[tsm1] 2016/05/05 16:46:01 beginning level 1 compaction of group 0, 2 TSM files
[tsm1] 2016/05/05 16:46:01 compacting level 1 group (0) /var/lib/influxdb/data/_internal/monitor/97/000000001-000000001.tsm (#0)
[tsm1] 2016/05/05 16:46:01 compacting level 1 group (0) /var/lib/influxdb/data/_internal/monitor/97/000000002-000000001.tsm (#1)
[tsm1] 2016/05/05 16:46:01 compacted level 1 group (0) into /var/lib/influxdb/data/_internal/monitor/97/000000002-000000002.tsm.tmp (#0)
[tsm1] 2016/05/05 16:46:01 compacted level 1 group 0 of 2 files into 1 files in 24.782551ms
[run] 2016/05/05 16:47:06 Signal received, initializing clean shutdown...
[run] 2016/05/05 16:47:06 Waiting for clean shutdown...
[copier] 2016/05/05 16:47:06 copier listener closed
[cluster] 2016/05/05 16:47:06 cluster service accept error: network connection closed
@jazdw
jazdw / app.js.diff
Created September 7, 2016 15:50
Changes in app.js between v3.1.1 and v3.2
diff --git a/Custom Dashboards/web/adminTemplate/app.js b/Custom Dashboards/web/adminTemplate/app.js
index f8bc020..3fb06b1 100644
--- a/Custom Dashboards/web/adminTemplate/app.js
+++ b/Custom Dashboards/web/adminTemplate/app.js
@@ -5,14 +5,15 @@
define([
'angular',
- './directives/menu/menuLink', // load directives from the directives folder
+ './directives/menu/dashboardMenu', // load directives from the directives folder
@jazdw
jazdw / i18n.properties
Created November 14, 2016 16:47
Dashboard translations
dashboards.description=Custom Mango Dashboards
dashboards.header.icontext=Custom Dashboards
dashboards.permission.view=Dashboard Permissions
dashboards.settings=Dashboard settings
dashboards.settings.saved=Dashboard settings saved
dashboards.settings.publicUrlPrefix=Public URL prefix
dashboards.settings.publicFilesLocation=Public files location
dashboards.settings.privateUrlPrefix=Private URL prefix
dashboards.settings.privateFilesLocation=Private files location
dashboards.settings.iconDestination=Icon link destination
@jazdw
jazdw / i18n.properties
Created November 14, 2016 16:48
Core translations
#
# Copyright (C) 2014 Infinite Automation Systems Inc. All rights reserved.
# @author Matthew Lohbihler
#
###############################################################################
# TO OVERRIDE VALUES IN THIS FILE...
#
# Do not change the values in this file, because when you upgrade your core
# your changes will be overwritten. Instead, create a new file called
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" comparisonMethod="maven" xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
<ignoreVersions>
<!-- Ignore Alpha's, Beta's, release candidates and milestones -->
<ignoreVersion type="regex">(?i).*Alpha(?:-?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*a(?:-?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*Beta(?:-?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*-B(?:-?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*RC(?:-?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*CR(?:-?\d+)?</ignoreVersion>
define(['angular'], function(angular) {
'use strict';
const userModule = angular.module('userModule', ['maUiApp']);
config.$inject = ['MA_UI_MENU_ITEMS'];
function config(MA_UI_MENU_ITEMS) {
const templateLocation = '/rest/v2/file-stores/default/';
MA_UI_MENU_ITEMS
.filter(m => m.name.startsWith('ui.help.') || m.name.startsWith('ui.examples.'))
3.6.5