Skip to content

[Bug] After updating 1.10.4, the collection form function cannot be used normally and will be stuck in the answer. #2857

@wendetaer

Description

@wendetaer

Contact Information

13949030967@163.com

MaxKB Version

v1.10.4-lts (build at 2025-04-10T15:20, commit: a4f2724)

Problem Description

https://bbs.fit2cloud.com/t/topic/12143/6
基础问题如帖子中所示。
正常来说,在我输入第一个表单后,应该会弹出第二个表单,但是一直处于在回复状态。

Image

然后我新建了一个简单测试程序

Image

此时是可以正常运行的,如测试结果如下图所示,说明表单收集功能是正常的。

Image

然后我经过对比,在我原来的程序中,在开始中,拥有一个客户输入的变量,这个变量在后面的课程查询模块用于实现查询该的课程。

Image

Image

此时的运行就是一直处于回答中状态。
Image

我将该变量删除后,直接将schoolnumber的数值直接在模块中赋予,

Image

此时修改后的调试中可以正常回答。
Image

此时在发布后的页面也可以正常进行问答。

Image

这是删除后的程序框架

Image

为什么刚开始的一个全局变量会让整个程序在第一个表单收集之后直接卡死?

Steps to Reproduce

The expected correct result

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions