Forum

Activity not displa...
 
Notifications
Retirer tout

Activity not displaying all three columns properly after attaching image

35 Posts
2 Utilisateurs
0 Reactions
15.4 K Vu
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 
[#6674]

One of my workers was trying to attach a few images on his activity and when he did this the whole activity began acting weird and now this activity can not be viewed correctly
How do I correct this?


 
Posté : 29/04/2020 2:44 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Never faced this.
I guess you'll find some error in log file.
Please post it here.


 
Posté : 30/04/2020 12:38 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

This is the latest log.


 
Posté : 30/04/2020 5:40 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

It seems what happened was one of my resources (workers) was attaching files. The first two of them attached properly and then the third one created the problem. Not sure if this helps.


 
Posté : 01/05/2020 5:27 am
(@babynus)
Posts: 14952
Membre Admin
 

It seems you are useing an old version of projeqtor.
Try and migate to latest stable release.


 
Posté : 01/05/2020 4:50 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

I am using the latest version of 8.4.3


 
Posté : 01/05/2020 5:34 pm
(@babynus)
Posts: 14952
Membre Admin
 

But the log is from very old version.
Log file now contains version number on each line, this one does not.
Looking at file name it seems is it log from december 2016...
so not the last one (difficult to find source of error here)


 
Posté : 02/05/2020 4:15 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

Please accept my apology, the reason why the log is very old is because I uploaded the wrong log. I have now uploaded the correct log of when the probably happened on the 29 April, 2020.

Please look at the correct log that I have uploaded relating to this problem and your assistance would be greatly appreciated of how to fix it.


 
Posté : 03/05/2020 11:55 am
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

The log file shows 2 errors, but none seem relative to your issue.

First can be fixed in /model/IndicatorValue.php, replacing line 312 from

$pe=get_class($obj).'PlanningElement';

to

$pe=(($obj)?get_class($obj):'').'PlanningElement';

Second can be fixed in /tool/projeqtor.php adding one line after line 5003, this way

function searchAllAttachmentMailable($objectClass,$idObj){
  if (!$objectClass or !$idObj) return array(array(),array());

Please try and apply these patches to see it it fixes your issue (I'm not very optimistic about this)


 
Posté : 04/05/2020 10:46 am
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

I did as explained and the problem for this activity is the same.

Is there a way I can delete the images that were attached to the activity in the database and see if that fixes it. If so where in the database would I search for the images.


 
Posté : 04/05/2020 11:09 am
(@babynus)
Posts: 14952
Membre Admin
 

you must search in table "attachment"
Before deleting, please post here content of the line (it may help solve the issue).


 
Posté : 04/05/2020 11:13 am
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

Here is the content of the four images from the database. Can you spot anything unusual.


 
Posté : 04/05/2020 11:56 am
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Nothing strange about these attachments


 
Posté : 04/05/2020 1:00 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

It has happened again on three other activities. It seems to happen with the same user who is using an ipad tablet.


 
Posté : 04/05/2020 1:39 pm
(@babynus)
Posts: 14952
Membre Admin
 

Can you check file name, on attachment table and in attachment directory.
It may include unexpected special characters.
Or possibly it is image format that is weird.
Could you please post here one of these images (it it does not contain confidential information)


 
Posté : 04/05/2020 2:00 pm
Page 1 / 3
Share:
Retour en haut