Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S SobiPro
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Sigsiu.NET GmbH
  • SobiPro
  • Issues
  • #174

Closed
Open
Created Jul 17, 2020 by Sławek Sikora@SikorReporter

Not correct behaviour of the entries history logging

Looks like there appear some problems with correct history logging. For example there is no revision data for inputbox and textarea fields. I will update this report with some future test, in this moment I will add here tutorial for general re-creating of this issue.

Create a new section
======================
section settings -> default
section template -> default V5 B3
acl -> add to default acl: right to approve own entries
acl -> add to default acl: right to publish own entries
acl -> add to default acl: right to edit own entries
acl -> revoke from default acl: group guests

create a default category 
change default category field to a fix value (use ID from created default cat)

add this fields (all with default settings):
  - textarea (field_textarea)
  - gallery (field_gallery)
  - geomap (field_geomap)
  - radio (field_radio)
    - option-1 = "Option 1"
    - option-2 = "Option 2"
    - option-3 = "Option 3"


Test steps                          Result
===============================================================================
CREATION
--------------------------------------------------------------------------------
1. create an entry in frontend    | entry is created and accesible in frontend

2. goto backends entry history    | 2 records available ->  1x added, 1x changed

3. click to load first hist record| Revision not found (ok, no problem)

4. click 2nd hist record (change) | Revision is loaded
5. look at the field values now   | name and textarea ARE NOT marked as changed
                                  | gallery, geomap, radio ARE marked as changed
                                  | name and textarea show the entered values
                                  | gallery and geomap show the entered values
                                  | radio has NO option selected
                                  
FIRST EDIT
--------------------------------------------------------------------------------
1. edit the entry in frontend     | entry is changed and shows new values
   (change all field values)

2. goto backends entry history    | 3 records available -> 1x added, 2x changed

3. load 'add' history record      | Revision not found (ok, no problem)

4. load first change reccord      | Revision is loaded
5. look at the field values       | ALL Fields marked as changed now (!)
                                  | name, textarea and geomap have data
                                  | gallery and radio are empty (!) 
                                  | geomap shows NEW data, NOT those at creation

6. now load second change reccord | Revision is loaded
7. look at the field values       | name and textarea ARE NOT marked as changed!
                                  | gallery, geomap, radio ARE marked as changed
                                  | name, textarea and geomap showing NEW data!
                                  | radio shows the OLD value!      
Assignee
Assign to
2.0 Alpha 1
Milestone
2.0 Alpha 1 (Past due)
Assign milestone
Time tracking

footer

Legal Notice / Impressum | Data Protection / Datenschutzinformation