Loading...
 
Skip to main content

Survey: Adding heading "y,h4" causes pagination to fail

Status
Open
Subject
Survey: Adding heading "y,h4" causes pagination to fail
Version
18.x
Category
  • Bug
Feature
Admin Interface (UI)
Survey
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

If you add a headline to your survey (I do not find it very intuitive that headlines are to be entered as "questions", but so be it at the moment).

When you add a heading that is given in the help text/hint "y,h4" strange things happen.

h4 is understandable (at least to an admin...), headline size 4. But I wonder why the example list "y"? I don't recall a tiki syntax tag "y". From what it does it seems to be an undocumented newpage, introducing a new page afterwards. But the help text mentions ("newpage") (btw, missing translation - or the help text must be changed to indicate this is supposed to be English in all localizations)

BUT when you add a new headline exactly as written in the hint text "y, h4" you get nothing at all, all of the questions are seemingly gone once you take the survey! On the empty survey page, there is a pagination — but it is "0/0". If you nonetheless click on "previous" or "next" (if there really were 0 pages this should be meaningless) then you immediately get back all your questions and a correct pagination, too.

Newpage works well, but y,h4 yields this strange 0/0.

So "y,h4" somehow disturbs pagination.

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
7465
Created
Monday 03 August, 2020 13:02:44 UTC
by hman
LastModif
Monday 03 August, 2020 13:06:04 UTC


Collapse/expand modules below
Show PHP error messages