Project

General

Profile

Bug #2098

CRUDView strange behavior on title

Added by Maurício Dos Santos over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Target version:
Start date:
08/22/2016
Due date:
% Done:

0%

Complexity:

Description

The title on crudview is being set throw schema like bellow.

...
    ],
    title: doc => doc && doc.id ? __('cases.prevtreat.edt') : __('cases.prevtreat.new')
};

When editing and clicking ons ave button, while the form is fetching, the title changes from "edit" to "new" state.

History

#1 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from New to In Progress

#2 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to New

#3 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from New to In Progress

#4 Updated by Maurício Dos Santos over 8 years ago

  • Assignee set to Ricardo Memoria

#5 Updated by Maurício Dos Santos over 8 years ago

Tentei avaliar seguindo a linha de acrescentar mais um parametro no form-utils.propEval.

Achei que fica inviável. As chamadas ao propEval vão se ramificando atraves de varias outras funções.

me parece mais simples e prático colocar o id dentro do doc.

Talvez nao precise tirar o outro parametro, apenas incluir o id no doc. Não sei se isso causaria outros efeitos no código.

#6 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to Feedback

#7 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from Feedback to In Progress

#8 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to New

#9 Updated by Ricardo Memoria over 8 years ago

  • Target version changed from 2.9.4 - Oct 10th, 2016 to No version defined

Also available in: Atom PDF