Orbeon表单编辑器:"oxf第32行错误:/forms/orbeon/builder/service/toolbox.xsl" [英] Orbeon forms editor: "Error at line 32 of oxf:/forms/orbeon/builder/service/toolbox.xsl"

查看:51
本文介绍了Orbeon表单编辑器:"oxf第32行错误:/forms/orbeon/builder/service/toolbox.xsl"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很长一段时间以来,他一直成功使用Orbeon 4.4CE,但是今天,表单编辑器似乎突然坏了.创建新表单(或编辑现有表单)会显示缺少大部分控件的部分工具箱.

Been successfully using Orbeon 4.4CE for a long time, but today the Form Editor seems to have suddenly broken. Creating a new form (or editing an existing form) shows a partial toolbox missing most of the controls.

日志文件显示了这一点:

Log file reveals this:

INFO ProcessorService - /fr/service/custom/orbeon/builder/toolbox - Received request ERROR XSLTTransformer - Error at line 32 of oxf:/forms/orbeon/builder/service/toolbox.xsl: An empty sequence is not allowed as the value of variable $resources-property ERROR PageFlowControllerProcessor - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/service/custom/orbeon/builder/toolbox"}

INFO ProcessorService - /fr/service/custom/orbeon/builder/toolbox - Received request ERROR XSLTTransformer - Error at line 32 of oxf:/forms/orbeon/builder/service/toolbox.xsl: An empty sequence is not allowed as the value of variable $resources-property ERROR PageFlowControllerProcessor - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/service/custom/orbeon/builder/toolbox"}

配置为Orbeon 4.4,带有MySQL 5.6,Java 1.7.67和Tomcat 7.0.52的MySQL持久层(在Ubuntu 14.04上).截至上周下旬,此方法运行良好,现在似乎一次在多个系统上均已损坏.几个月来,配置没有任何变化(通过扫描查找具有最近修改时间的文件进行了验证).

Configuration is Orbeon 4.4, MySQL persistence layer with MySQL 5.6, Java 1.7.67 and Tomcat 7.0.52 on Ubuntu 14.04. This was working fine as of late last week, and now seems broken on several systems all at once. Nothing in the configuration has changed in several months (as verified by a scan looking for files having recent modification times).

更新:问题实际上比我想象的要严重...我从MySQL orbeon_form_definition表中复制了一个现有的工作表到另一个Orbeon实例,但该表无法运行. Orbeon日志文件显示:不允许将空序列作为变量$ captcha的值"(该表单不以任何方式使用Captcha代码).

UPDATE: The problem is actually worse than I suspected...I copied an existing, working form from the MySQL orbeon_form_definition table to another Orbeon instance, and the form does not run. The Orbeon log file shows: "An empty sequence is not allowed as the value of variable $captcha" (the form does not use Captcha codes in any way).

我们还尝试安装Orbeon 4.7.0CE的副本,它似乎具有类似的症状.

We also tried installing a copy of Orbeon 4.7.0CE, and it appears to have similar symptoms.

现在,在三个完全独立(但配置类似)的系统上出现了相同的问题-我们没有办法使用Form Builder编辑或创建新表单,甚至无法通过更新数据库定义在系统之间移动现有表单.

The same problem is now occurring on three completely independent (but similarly configured) systems - we do not have a way to edit or create new forms using Form Builder, or even to move existing forms around between systems by updating the database definitions.

任何建议如何解决此问题,甚至诊断问题可能出在哪里?

Any suggestion how to fix this, or even to diagnose where the problem might be?

推荐答案

今天,我遇到了一个非常相似的问题. 我创建了一个新表单,但没有看到工具箱控件:

Today I had a very similar problem. I created a new form and didn't saw the toolbox controls:

在日志中发现以下错误:

Looking in the log there was the following error:

 2018-03-16 10:33:26,212 ERROR XSLTTransformer  - Error at line 32 of oxf:/forms/orbeon/builder/service/toolbox.xsl:
 An empty sequence is not allowed as the value of variable $resources-property
2018-03-16 10:33:26,239 ERROR PageFlowControllerProcessor  - error caught     {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/service  /custom/orbeon/builder/toolbox"}
2018-03-16 10:33:26,411 ERROR PageFlowControllerProcessor  - 

原因是我为表单选择的名称:重置密码.我用其他名称更改了名称,问题不再存在.
表单名称似乎不能包含字符串"password".

The reason was the name I had chosen for the form: reset-password. I changed the name in something else and the problem wasn't any more.
It seems that the form name must not contain the string "password".

这篇关于Orbeon表单编辑器:"oxf第32行错误:/forms/orbeon/builder/service/toolbox.xsl"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆