在TeamRoom示例中,如果希望列出为新主题输入的所有输入数据错误消息,可以在app \views \subjects \ _ form . rhtml的顶部添加以下代码。
In our Team Room example, if we want to list all input data error messages entered for a new subject, then we can add the following to the top of app \ views \ subjects \ _form.rhtml.
服务操作能够被设计用作输入、输出、和错误消息,但是这并不是必须的,而且还将导致不合需要的邮戳数据耦合。
Service operations can be designed to use single input, output, and fault messages, but this is not necessary, and can result in undesirable stamp data coupling.
可重复性:自动数据收集可以使用类似的输入再三重复,而不用担心人为错误。
Repeatability: Automated data collections can be repeated over and over with similar inputs without fear of human error.
字符串函数的输入字符串数据可能拥有源字符串中的一些错误字符或无效字符。
The input string data to string functions may have wrong or invalid characters in the string that it is supplied with.
各种异常情况都可能发生;例如,因用户输入错误或缺少可用的业务数据均会造成异常。
Various exceptions can occur; for example, exceptions can result from faulty user input or lack of availability of business data.
在下一篇文章中,我将讨论与错误处理复杂的输入数据相关的错误模式。
In the next article, I will discuss bug patterns related to the mishandling of complex input data.
会实时地将随意输入(可能会包含错误)的文本客户名称动态地在重要主数据存储区进行匹配,并会返回一组候选名列表。
A casually entered (and potentially error prone) textual customer name is dynamically matched against the central master data store in real time, and a list of candidate names is returned.
有不少高级软件工程师冷静地提议说,用户输入错误的数据或错用应用程序都是咎由自取。
There are quite a few senior software engineers who soberly advise that "users get what they deserve" when they enter faulty data or otherwise misuse an application.
而自动化测试就能保证不会出现错误,而且运行时进程也不再需要测试人员去输入测试数据,所以效率更高并且操作更加快捷。
Automating testing makes it error-free, plus the process will not require the tester to enter test data, so it's more efficient and faster.
当客户或主管在指示程序应如何处理格式良好的输入数据时,抓住机会,对万一发生错误时程序的具体操作细节同他们达成共识。
When a client or supervisor dictates how a program should process well-formed input data, take the opportunity to agree in detail on how the program should act in case of error.
在发生错误的情况下,该事务可以通过回滚使数据库恢复到更改前的状态,并将MQ消息发送回输入队列中。
In case of errors the transaction can be rolled back leaving the database unchanged and the MQ message is sent back to the input queue.
为了理解这其中的原因,让我们以用户在屏幕上错误地输入数据后创建系统错误时的非故意用户错误的风险为例。
To understand why, let's consider the risk of unintentional user error when the user creates a system error after incorrectly entering the data on the screen.
如果任何用户输入了有问题的数据,我们希望显示错误消息列表,让用户可以纠正输入数据。
If any user enters problematic data, we want to ensure that the list of error messages is displayed so that the user can correct the input data.
在发生较大的系统错误前,由于用户在数据正确输入数据方面有良好的记录,因此会认为非故意用户错误的风险影响很低。
Prior to a major system error, the impact of the risk of an unintentional user error would be ranked low because of the user's excellent records of entering accurate data.
我已经两次被(议员)问到,“巴贝奇先生,请问加入您往这部机器里输入了错误的数据,还会不会运算出正确答案啊?”
On two occasions I have been asked [by Members of Parliament], "Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?"
这方面的政策还可以要求设定复杂的密码以及设置安全功能,如在多次密码输入错误后可自动抹除设备上的数据。
Policies can also force strong passwords and set security features such as the number of times a password attempt can fail before the device wipes its data.
如果输入的是错误密码,那么新棉就无法解开密钥,也就无法读取数据了。
Enter the wrong password and the chip won't enable the encryption keys, so the data remains unreadable.
简而言之,数据输入系统打消了B2B电子化联系所带来的大多数好处:它影响了价格、降低了速度、还可能带来更多错误。
In short, a data-entry package negates most of the benefits of a B2B electronic relationship: it may affect prices, it may slow things down, and it may cause more errors.
这支持接收节点验证输入数据,并在发现一个错误时请求重发数据。
This allows the receiving node to validate its incoming data and request retransmission when an error is found.
对用户来说这当然是好事,因为不需要输入完整的搜索项,而且还可以避免数据输入错误。
This is nice for users, as they don't have to type all of their search term and it helps prevents data-entry mistakes.
将数据库针对无效代码的输入结果(如空查询结果)转换为服务希望的错误。
Convert the database's result for an invalid symbol, such as an empty query result, into the error the service expects.
在AIX的早期,用户通常使用低级命令修改这个数据库,这给服务器带来了很大风险,一个输入错误就可能破坏操作系统。
In the older days of AIX, you would have modified this database using low-level commands that involved a high degree of risk to the server, where one typo could wreck the operating system.
如果测试人员不注意地输入了错误的数据或漏看了不匹配数据,测试结果就无效了。
If the tester inadvertently enters incorrect data or overlooks a data mismatch, the test results become invalid.
因为很容易错误地使用字段,所以随着时间的推移,输入的数据值逐渐偏离了数据模型中的定义。
Because it was often easier to misuse a field than to change the application, the data values as entered drifted over time away from the data models.
随着上周四令人猝不急防的股市大崩盘的更多细节逐渐清晰,没什么证据表明是交易员数据输入错误引发崩盘。
As more details of last Thursday's dizzying collapse become clear, there is less evidence to suggest a 'fat-finger' data-entry error caused the collapse.
您的目标是让MTK解析输入脚本,使源数据库基表的结构的错误尽可能地少。
Your goal is to get MTK to parse the input script with as few errors as possible about the basic table structures of the source database.
通过引入SOA而获得的业务领域的效率需要与额外的数据输入任务(从而增加了数据输入错误的风险)进行权衡。
Efficiencies gained in one business area by introduction of the SOA need to be balanced against extra data-entry tasks (and therefore increased risk of data-entry errors).
我已经两次被(议员)问到,“巴贝奇先生,请问加入您往这部机器里输入了错误的数据,还会不会运算出正确答案啊?”
On two occasions I have been asked [by Members of Parliament], “Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?”
通过为测试人员将数据输入和数据验证过程自动化,IBMRationalManualTester减少了人的错误。
By automating this data entry and data validation process for the tester, IBM Rational Manual tester reduces human error.
通过为测试人员将数据输入和数据验证过程自动化,IBMRationalManualTester减少了人的错误。
By automating this data entry and data validation process for the tester, IBM Rational Manual tester reduces human error.
应用推荐