The error messgae of a failed RCS ci is not very helpful, as seen in the example at
TWiki:Support/RcsErrorOnAttachmentSave
:
During save of BlueWiki.MiddleLayerArchitecture an error was found by the version control system. Please notify your TWiki administrator.
=/usr/local/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /apps/twiki-home/twiki/pub/BlueWiki/MiddleLayerArchitecture/2G-prod-setup.vsd failed: 1 =
Go back in your browser and save your changes locally.
Suggested fix:
- replace equal signs with
<code>...</code>
to avoid missing-space-not-nonospacing-text issue
- expand
%COMMENT|U%
, %USERNAME|S%
, %FILENAME|F%
This fix can be applied to other error messages of the store.
--
PTh
The = signs come from %TMPL:DEF{"save_error"}%. Because the message ends in a space, then TML formatting fails.
The error message should really be presented in a
verbatim
or
pre
.
Note that the full error message
is being presented in the example above. The error is "1". The full expanded command line is not printed to the browser because of the risk of reverse engineering paths. The full error with expanded command line is
supposed to be printed to the webserver error log (though the reporter suggests otherwise).
Changed to actioning; analysis is clear. Changed headline to reflect the problem.
CC