Ticket #774 (reopened Bugs)

Opened 12 months ago

Last modified 4 months ago

one function in file project build error

Reported by: ed_mann Owned by: ed_mann
Priority: 1 Milestone: 1.2.3
Component: PHP Editor Version: 1.2.3
Keywords: build function Cc: andrew.eddie@…

Description

I got this in an e-mail and am creating an ticket on it.

Please forgive the intrusion but I found it difficult to find a way to lodge an issue - this one, though, is rather nasty.

I just upgraded to Galileo today and also installed the latest phpEclipse (1.2.2.200909091335PRD). I was re-adding some Joomla sites to the workspace when the builder started hanging and Eclipse started pushing 100+% CPU. Long story short, a file with a single function in it seems to hang the project builder, eg:

<?php function one() {

return 1;

}

Two function is fine. A class is fine. One function and then a call to it is fine, eg:

<?php function one() {

return 1;

}

one();

It's not common but we do have files in some Joomla extensions that have only one function definition in them.

Once again, I apologise if this is the wrong channel and you are not quite the right person to contact. I know how that feels :) If there is another channel I should be using please let me know.

Change History

Changed 12 months ago by ed_mann

  • cc andrew.eddie@… added

Changed 12 months ago by ed_mann

  • status changed from new to closed
  • resolution set to fixed

(In [1659]) Merging code from trunk that fixes #774, this work was done by incastrix

Changed 4 months ago by ed_mann

  • status changed from closed to reopened
  • version changed from 1.2.2 to 1.2.3
  • resolution fixed deleted

This issue is again in 1.2.4 nightly build. I have checked both files and it looks like trunk does not have the fixes that were included in this build. However the code has changed since 1.2.3 so it may be something else as well.

Note: See TracTickets for help on using tickets.