U4-10590 - Saving a document with no tabs throws a javascript error

Created by Claus Jensen 25 Oct 2017, 09:50:45 Updated by Shannon Deminick 01 Nov 2017, 05:38:50

Subtask of: U4-9609

Saving a document with no tabs throws a javascript error in postSaveContent on this line:

data.tabs[activeTabIndex].active = true;

'''Reproduce:'''

  • Create a document type with no tabs.
  • Create a document using the document type.
  • Save document - check console.
  • Works fine if you have at least one tab defined on the document type.

Comments

Mads Rasmussen 31 Oct 2017, 13:13:38

Fixed in commit: 1f5c9d2e1b19f959b31c2d0abe2af22ccc9cf88d


Shannon Deminick 01 Nov 2017, 02:18:45

This should probably be due in the next patch release ?


Shannon Deminick 01 Nov 2017, 02:24:22

Ah, but is this because of changes made to 7.8 with the generic properties tab?


Claus Jensen 01 Nov 2017, 05:32:53

Yep this is not a bug until 7.8 :) no need for backporting


Shannon Deminick 01 Nov 2017, 05:38:43

ok cool, will close :)


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Very Easy

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.8.0

Due in version: 7.8.0

Sprint: Sprint 71

Story Points: 0.5

Cycle: 5