[TYPO3-workspace] FYI48: #10831 - New preview window shows wrong behavior for new page in LIVE WS
François Suter
fsu-lists at cobweb.ch
Mon Nov 29 11:53:03 CET 2010
Hi,
Sorry for not testing earlier, I was away for a week.
> Problem:
> In workspace preview the "Live-view" should show a "nice" info if the
> previewed page is a new page. At a TYPO3 "broken rootline" error is shown.
>
> Solution:
> The attached patch checks if the previewed pages and displays a
> info-flashMessage in these cases.
Nice, but it doesn't work when previewing translations. The Live tab
shows a "404" exception in this case. Attached is a modified version of
the isNewPage() method. I think it's a bit rough around the edges, but
it works (i.e. the "no live version" message appears also for a new
translation).
A minor thing: I would change the message to something that sounds a bit
less confusing. My suggestion:
"The previewed page has been created in a workspace and has no live
counterpart."
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: is_new_page.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-workspace/attachments/20101129/288cb187/attachment.asc>
More information about the TYPO3-team-workspace
mailing list