Giter Club home page Giter Club logo

typo3cms-exceptions's Issues

Error page displayed for exception 1639821269 (valid exception)

Problem

When an exceptions is thrown, the link to the exception page is displayed. When I followed it, i got a page with misleading text:

An Error occurred.
Most likely the exception you are trying to access is not a valid TYPO3 Core exception but rather caused by a 3rd-party extension.
...

https://docs.typo3.org/typo3cms/exceptions/main/en-us/Exceptions/Index.html

but it is a valid TYPO3 exception for TYPO3 v12 (see below).

The URL for the exception is: https://docs.typo3.org/typo3cms/exceptions/main/en-us/Exceptions/1639821269.html

Context of exception

vendor/typo3/cms-fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php line 142:

// Throw if not an extbase request
                throw new \RuntimeException(
                    'ViewHelper f:flashMessages needs an extbase Request object to resolve the Queue identifier magically.'
                    . ' When not in extbase context, set attribute "queueIdentifier".',
                    1639821269
                );

Production pages are not updated anymore

Even when running the GitHub action CI manually, the current state of reST documents is not reflected as HTML pages in the TYPO3 documentation.

For example:

  1. The build status on the production server shows many outdated warnings that have been fixed some days ago: .
  2. The page 1278450972.rst has been updated today, but the published page 1278450972.html shows "Last updated: Nov 29, 2021 09:37" and does not contain the updated lines.

Someone with access to both GitHub workflows and the production server should have a look here, to find out, where the freshly rendered pages get lost.

Improve TYPO3 Exception 1436717322 or restore original text and improve this?

https://docs.typo3.org/typo3cms/exceptions/main/en-us/Exceptions/1436717322.html

This exception text provides misleading information:


Also, I noticed the original text contained more context which had been removed, see: https://github.com/TYPO3-Documentation/TYPO3CMS-Exceptions/blame/d23df932963463949139656542de5f17a212d712/Documentation/Exceptions/1436717322.rst

The context might have been helpful here, it shows that it is a very specific suggestion for one specific usecase.

Do we have a proposed structure for the exception pages?

It would probably be too much work to change them all right away, but if we have a proposed structure (and a link to it in the help bannner for each exception page), at least some of the existing and new messages might comply.

For example, have some subheaders which are always the same, e.g.

  • cause of error (reason)
  • fix / workaround
  • references (e.g. issues)

There may be several reasons, e.g. see https://docs.typo3.org/typo3cms/exceptions/master/en-us/Exceptions/1375955684.html

Should you add the TYPO3 version where this occured?

I currently get this message:

image

[TASK] Implement automatic exception code determination and page creation

The repository https://github.com/TYPO3-Documentation/t3docs-exception-pages
provided a application to create missing exception code pages in this repository,
wrapped around a emulated web application simulating core exception code pages.

No current active contributor really knows the deployment ways, and it seams that
the web application kickof is not used by contributors directly.

Therefore, the logic to scan TYPO3 core releases for exception codes and than ensure
that corresponding exception code pages are created based on an template should be
added directly to this repository.

That eleminates a (under) documented system no one really understands and a complex,
splitted workflow.

The tool should be usable locally but also as a automatic GitHub Action workflow in
a scheduled fashion to remove the human interaction requirement after TYPO3 releases.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.