Bug #36290
closed
Markers (%s) are not replaced in TCEmain error messages
Added by Bart Dubelaar over 12 years ago.
Updated about 12 years ago.
Description
Try inserting a page in a place where you have no permissions. The backend will show a message with the %s markers still in place.
Holds for 4.5 and up.
This:
$this->errorLog[] = '[' . $type . '.' . $action . '.' . $details_nr . ']: ' . $details;
Should be changed to:
$this->errorLog[] = '[' . $type . '.' . $action . '.' . $details_nr . ']: ' . vsprintf($details,$data);
I push a fix anyway, but how do you drop a page to where you have no permission. Neither the page tree nor the list view lets me create or move pages to where I have no permission.
- Status changed from New to Under Review
Philipp Gampe wrote:
I push a fix anyway, but how do you drop a page to where you have no permission. Neither the page tree nor the list view lets me create or move pages to where I have no permission.
You can in a draft workspace, at least under some circumstances. Anyway, it is just an example.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
Please close this issue. All affected branches are up to date.
- Status changed from Under Review to Closed
Also available in: Atom
PDF