Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000531 [Quercus] minor always 12-21-05 00:47 04-06-06 13:57
Reporter bago View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000531: $require should not be a reserved variable name
Description $require is a valid variable identifier in original php.
Additional Information /Programmi/Java/Resin-3.0.16/webapps/ROOT/modules/system.module:918: expected
identifier at require. in
system.module:917: $throttle_required = array_merge($required, array('throttle'));
system.module:918: foreach ($throttle_required as $require) {
system.module:919: $form['throttle'][$require] = array('#type' =>
'hidden', '#value' => 1, '#suffix' => t('required'));
Attached Files

- Relationships

- Notes
(0000568)
ferg
12-23-05 09:15

php/0267
 
(0000617)
bago
12-03-05 04:31

This is not fixed in latest trunk (2005-12-31)

/Programmi/Java/Resin-3.0.16/webapps/ROOT/modules/system.module:908: expected
identifier at require. in
system.module:907: $required = array('block', 'filter', 'system', 'user',
'watchdog');
system.module:908: foreach ($required as $require) {
system.module:909: $form['status'][$require] = array('#type' => 'hidden',
'#value' => 1, '#suffix' => t('required'));
com.caucho.quercus.parser.PhpParseException: /Programmi/Java/Resin-3.0.16/webapps/ROOT/modules/system.module:908:
expected identifier at require. in
system.module:907: $required = array('block', 'filter', 'system', 'user',
'watchdog');
system.module:908: foreach ($required as $require) {
system.module:909: $form['status'][$require] = array('#type' => 'hidden',
'#value' => 1, '#suffix' => t('required'));
    at com.caucho.quercus.parser.PhpParser.error(PhpParser.java:3739)
    at com.caucho.quercus.parser.PhpParser.parseIdentifier(PhpParser.java:2683)
 
(0000620)
bago
12-03-05 06:38

I deleted all the generated classes and now it worked fine!
Maybe you should add a quercus version check to the compiled class so that when a new version of quercus is uploaded the old generated classes are automatically deleted.
 

- Issue History
Date Modified Username Field Change
12-21-05 00:47 bago New Issue
12-23-05 09:15 ferg Status new => closed
12-23-05 09:15 ferg Note Added: 0000568
12-23-05 09:15 ferg Resolution open => fixed
12-23-05 09:15 ferg Fixed in Version  => 3.0.18
12-03-05 04:31 bago Status closed => feedback
12-03-05 04:31 bago Resolution fixed => reopened
12-03-05 04:31 bago Note Added: 0000617
12-03-05 06:38 bago Note Added: 0000620
04-06-06 13:57 ferg Assigned To  => ferg
04-06-06 13:57 ferg Status feedback => closed
04-06-06 13:57 ferg Resolution reopened => fixed
04-06-06 13:57 ferg Fixed in Version 3.0.18 => 3.0.19
04-06-06 13:57 ferg View Status @0@ => public


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker