Forum

Cannot close cancel...
 
Notifications
Retirer tout

Cannot close cancelled project

5 Posts
2 Utilisateurs
0 Reactions
4,976 Vu
(@jean-luc)
Posts: 73
Estimable Member
Début du sujet
 
[#1945]

With a lot of imported projects (from other software via SQL), some are cancelled but were not closed.

When I check the checkbox (and nothing else, except that the 'done' checkbox is also automatic set) and want to register the update, Projeqtor runs several seconds then display this error message:

Erreur sur finalizeMessageDisplay('resultDiv') :
La destination n’est pas un 'node' ou pas un 'widget'
ou lastOperation or lastOperationStatus n’est pas un 'node'.

I have no idea of what means that!
Important: the project was empty, with only a planning element (with almost no data) and no other line in any table.

No data in projeqtor log file, but this (in loop!) in apache log :

PHP Notice:  ob_clean(): failed to delete buffer. No buffer to delete in *********/projeqtor/tool/projeqtor.php on line 6

Can you explain WTF?


 
Posté : 13/08/2014 2:48 pm
(@jean-luc)
Posts: 73
Estimable Member
Début du sujet
 

Some supplementary infos:
I did re-import, but without subprojects without change in data (except the generated id numbering of projects)… and the problem is no more present ! :blink:

I had so another problem with project, as nothing was displayed in list when "all projects" was the option (but it was still possible to choose a project in the upper left listbox and then the choosed project and its subprojects came in the list). This has also vanished, all projects are now listed !


 
Posté : 13/08/2014 7:05 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

The notice is not important : just a notice...
(ob_clean was added because some users reported some start_session issue, should not be necessary and notice just points out that it is not necessary)

With a lot of imported projects (from other software via SQL)

Problems come from here.
You should never import directly into database. So much rules will be excluded...

Either use import functions, or API, or design your own functtion with Object.save().


 
Posté : 13/08/2014 7:07 pm
(@jean-luc)
Posts: 73
Estimable Member
Début du sujet
 

Hi,

The notice is not important : just a notice...
(ob_clean was added because some users reported some start_session issue, should not be necessary and notice just points out that it is not necessary)

Just a notice, but which repeats by itself lot of times (mini is one per minute) while Projeqtor is open !

With a lot of imported projects (from other software via SQL)

Problems come from here.

I have no doubt on that, but with only 2 lines (1 project + 1 planningelement), references to 'nodes' and 'widgets' are as chinese or hebraic !

You should never import directly into database. So much rules will be excluded...

Either use import functions, or API, or design your own functtion with Object.save().

Easy to recommend, hard to do, documentation is very, very poor !

O.K., I will find ! It's a cross-references problem, there is not thousand per project. 😉

Thanks.


 
Posté : 13/08/2014 8:23 pm
(@babynus)
Posts: 14952
Membre Admin
 

About ob_clean issue, a fix is porposed in http://www.projeqtor.org/index.php/fr/forum-fr/2-submit-issues/5905-error-in-log-since-migrated-to-v4-4

Easy to recommend, hard to do, documentation is very, very poor !

Well, technical documentation is not poor, it just dos not exist 🙁
But it's not so hard to understant is you look at class files.


 
Posté : 13/08/2014 9:51 pm
Share:
Retour en haut