Anonymous | Login | Signup for a new account | 11-21-2024 22:25 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005340 | [Quercus] | minor | always | 01-21-13 21:13 | 02-05-13 04:01 | |||||||
Reporter | ngoc | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.34 | ||||||||
Product Build | ||||||||||||
Summary | 0005340: Make QuercusCompiledScript Serializable | |||||||||||
Description |
My project need save QuercusCompiledScript to datastore-memcache (appengine). So I need QuercusCompiledScript implements Serializable . - I can extends or rewrite another version of it , but it have QuercusScriptEngine and QuercusProgram fields non Serializable too . - make transient it will cause null if reconstruct from datastore |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information |
Example my code in use : QuercusScriptEngine engine = new QuercusScriptEngine(new QuercusScriptEngineFactory(), quercus); String sayHelloVN ="<h1>hello <?php echo 'vietnam'; ?> </h1>" ; CompiledScript script = engine.compile(sayHelloVN); MemcacheService syncCache = MemcacheServiceFactory.getMemcacheService(); syncCache.put("test", script ); CompiledScript compiledscript = (CompiledScript)syncCache.get("test"); compiledscript.eval(); |
|||||||||||
Attached Files | ||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
01-21-13 21:13 | ngoc | New Issue | |
02-05-13 03:59 | ngoc | Note Added: 0006180 | |
02-05-13 04:01 | ngoc | Note Added: 0006181 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |