'Processing ...' don't disappear in web client (Tryton 4.3)

24 views
Skip to first unread message

Christophe

unread,
Apr 25, 2017, 3:22:38 AM4/25/17
to tryton-dev
Hello

When I create a new record (in all object) the 'Processing ...' information
does not disappear even when the record writing is ended. I don't see why this
behavior, is there anybody has an idea ?

Regards
--
Christophe

Cédric Krier

unread,
Apr 25, 2017, 3:45:06 AM4/25/17
to tryton-dev
On 2017-04-25 09:22, Christophe wrote:
> Hello
>
> When I create a new record (in all object) the 'Processing ...' information
> does not disappear even when the record writing is ended. I don't see why this
> behavior, is there anybody has an idea ?

This happens when an exception is raised in the JS. You should look at
the web console.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Christophe

unread,
Apr 25, 2017, 4:29:19 AM4/25/17
to tryton-dev
Le mardi 25 avril 2017, 09:40:23 Cédric Krier a écrit :
> This happens when an exception is raised in the JS. You should look at
> the web console.

Actually I have a mistake in the console, but it is not very clear to me :

TypeError: d.resolve is not a function
http://localhost:8000/dist/tryton-sao.min.js
Line 7

And for you ?

Regards
--
Christophe

Cédric Krier

unread,
Apr 25, 2017, 4:50:06 AM4/25/17
to tryton-dev
Neither, you should not use minified version for debugging.

Christophe

unread,
Apr 27, 2017, 1:52:17 AM4/27/17
to tryton-dev
Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> ...
> Neither, you should not use minified version for debugging.

Of course :-), how do I run the web client in normal mode?

Thanks

--
Christophe

Cédric Krier

unread,
Apr 27, 2017, 2:55:07 AM4/27/17
to tryton-dev
On 2017-04-27 07:52, Christophe wrote:
> Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> > ...
> > Neither, you should not use minified version for debugging.
>
> Of course :-), how do I run the web client in normal mode?

By building sao for dev:

$ grunt dev

Christophe

unread,
Apr 28, 2017, 3:18:51 AM4/28/17
to tryton-dev
Le jeudi 27 avril 2017, 08:53:30 Cédric Krier a écrit :
> On 2017-04-27 07:52, Christophe wrote:
> > Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> > > ...
> > > Neither, you should not use minified version for debugging.
> >
> > Of course :-), how do I run the web client in normal mode?
>
> By building sao for dev:
>
> $ grunt dev

Thank, it is done.
Now my error in console :

TypeError: prm.resolve is not a function
http://localhost:8000/dist/tryton-sao.js
Line 6538


Regards
--
Christophe

Sergi Almacellas Abellana

unread,
Apr 28, 2017, 3:45:48 AM4/28/17
to tryto...@googlegroups.com
El 28/04/17 a les 09:18, Christophe ha escrit:
Its seems a bug. Which sao version are you using?

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Christophe

unread,
Apr 28, 2017, 3:50:02 AM4/28/17
to tryto...@googlegroups.com
Le vendredi 28 avril 2017, 09:45:46 Sergi Almacellas Abellana a écrit :
> El 28/04/17 a les 09:18, Christophe ha escrit:
> > Le jeudi 27 avril 2017, 08:53:30 Cédric Krier a écrit :
> >> On 2017-04-27 07:52, Christophe wrote:
> >>> Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> >>>> ...
> >>>> Neither, you should not use minified version for debugging.
> >>>
> >>> Of course :-), how do I run the web client in normal mode?
> >>
> >> By building sao for dev:
> >> $ grunt dev
> >
> > Thank, it is done.
> > Now my error in console :
> >
> > TypeError: prm.resolve is not a function
> > http://localhost:8000/dist/tryton-sao.js
> > Line 6538
>
> Its seems a bug. Which sao version are you using?
4.3.0

Regards
--
Christophe

Sergi Almacellas Abellana

unread,
Apr 28, 2017, 3:52:23 AM4/28/17
to tryto...@googlegroups.com
El 28/04/17 a les 09:50, Christophe ha escrit:
Sorry, I wanted to know the mercurial changeset since 4.3.0 is
development version.

I tested on your first email and I was unable to reproduce it, but I'm
able to reproduce it on the latest trunk version. So I will try to
provide a fix for it.

Meanwhile: can you fill an issue on the bug tracker?


Thanks.

Cédric Krier

unread,
Apr 28, 2017, 4:05:06 AM4/28/17
to tryto...@googlegroups.com
On 2017-04-28 09:50, Christophe wrote:
> Le vendredi 28 avril 2017, 09:45:46 Sergi Almacellas Abellana a écrit :
> > El 28/04/17 a les 09:18, Christophe ha escrit:
> > > Le jeudi 27 avril 2017, 08:53:30 Cédric Krier a écrit :
> > >> On 2017-04-27 07:52, Christophe wrote:
> > >>> Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> > >>>> ...
> > >>>> Neither, you should not use minified version for debugging.
> > >>>
> > >>> Of course :-), how do I run the web client in normal mode?
> > >>
> > >> By building sao for dev:
> > >> $ grunt dev
> > >
> > > Thank, it is done.
> > > Now my error in console :
> > >
> > > TypeError: prm.resolve is not a function
> > > http://localhost:8000/dist/tryton-sao.js
> > > Line 6538

Indeed we need the corresponding line in sao source code or your
tryton-sao.js.

> > Its seems a bug. Which sao version are you using?
> 4.3.0

Can you fill an issue on https://bugs.tryton.org/ it is a better place
to talk about bugs.

Christophe

unread,
Apr 28, 2017, 4:31:15 AM4/28/17
to tryto...@googlegroups.com
Le vendredi 28 avril 2017, 10:01:29 Cédric Krier a écrit :
> On 2017-04-28 09:50, Christophe wrote:
> > Le vendredi 28 avril 2017, 09:45:46 Sergi Almacellas Abellana a écrit :
> > > El 28/04/17 a les 09:18, Christophe ha escrit:
> > > > Le jeudi 27 avril 2017, 08:53:30 Cédric Krier a écrit :
> > > >> On 2017-04-27 07:52, Christophe wrote:
> > > >>> Le mardi 25 avril 2017, 10:47:38 Cédric Krier a écrit :
> > > >>>> ...
> > > >>>> Neither, you should not use minified version for debugging.
> > > >>>
> > > >>> Of course :-), how do I run the web client in normal mode?
> > > >>
> > > >> By building sao for dev:
> > > >> $ grunt dev
> > > >
> > > > Thank, it is done.
> > > > Now my error in console :
> > > >
> > > > TypeError: prm.resolve is not a function
> > > > http://localhost:8000/dist/tryton-sao.js
> > > > Line 6538
>
> Indeed we need the corresponding line in sao source code or your
> tryton-sao.js.
>
> > > Its seems a bug. Which sao version are you using?
> >
> > 4.3.0
>
> Can you fill an issue on https://bugs.tryton.org/ it is a better place
> to talk about bugs.

Ok, it is done : https://bugs.tryton.org/issue6477

Regards
--
Christophe
Reply all
Reply to author
Forward
0 new messages