Pierre Goiffon
30b10d3b6b
Dict::S() PHPDoc modification
...
SVN:trunk[5087]
2017-10-26 08:57:54 +00:00
Guillaume Lajarige
1bde863124
N°1123.5 Typo
...
SVN:trunk[5061]
2017-10-20 13:25:28 +00:00
Guillaume Lajarige
5c34e3d988
N°1123.4 AttributeImage: Better UI when editing in console. Also, export was showing url for empty value.
...
SVN:trunk[5060]
2017-10-20 13:22:38 +00:00
Romain Quetiez
f4881d11c7
N.1100 Regression introduced in [r4943], aka 2.4 RC3, and causing error during MTP (accessing the wrong expression cache)
...
SVN:trunk[5054]
2017-10-19 19:06:40 +00:00
Eric Espié
bbde89e0f9
N°1109 - itop-object-copier Create ticket from CI was not adding the CI in the CI list of the newly created ticket.
...
* Fix 'add_to_list' command.
* Fix Adding a n-n link at the creation time.
SVN:trunk[5053]
2017-10-19 14:39:15 +00:00
Pierre Goiffon
fb22107be8
N.689 workaround on MySQL number of joins limit (61)
...
* change MySQLException to store initial exception code
* added a try/catch to launch query with full lazy load (no attr => only id)
* load finalClass field if needed (class is nor standalone nor a final leaf)
SVN:trunk[5051]
2017-10-19 13:43:06 +00:00
Pierre Goiffon
5ada93b46c
N.689 throw Exception if querying without needed finalClass attribute, plus some PHPDoc
...
SVN:trunk[5050]
2017-10-19 13:42:56 +00:00
Guillaume Lajarige
bc3d03c462
N°1123.2 AttributeImage: default_image is no longer mandatory.
...
SVN:trunk[5036]
2017-10-18 13:46:17 +00:00
Eric Espié
c94476b9a2
N.1065 Fix performance issues.
...
* Added the bGetCount flag into the cache to differentiate the cache entries for COUNT only.
SVN:trunk[5034]
2017-10-18 12:53:23 +00:00
Guillaume Lajarige
73812dc400
N°1123 AttributeImage: PHP notice when displaying an object without default_image on a AttributeImage attribute.
...
SVN:trunk[5031]
2017-10-18 09:34:50 +00:00
Pierre Goiffon
3fd7dae8f9
N.1108 return exception if $bMustBeFound and result is archived
...
SVN:trunk[5025]
2017-10-16 14:42:17 +00:00
Eric Espié
2f8062d296
N°454 - Check data validity during CSV import
...
* The controls are only done on database integrity for the different keys.
* If retrofit to branch 2.4 take also the revisions: 4999, 5000, 5005, 5006
SVN:trunk[5022]
2017-10-13 12:28:09 +00:00
Eric Espié
38796f9d0c
N.1065 Fix performance issues.
...
* Does not cache requests containing "id NOT IN ..." (too specific)
SVN:trunk[5019]
2017-10-12 15:31:14 +00:00
Eric Espié
79b887d189
N°1110 - DataSynchro: PHP Notice Undefined Index
...
* Fix access to REQUEST_URI when called by script
SVN:trunk[5017]
2017-10-12 13:54:28 +00:00
Eric Espié
e04e5913de
N.1065 Fix performance issues.
...
* Does not cache requests containing "id IN ..." (too specific)
SVN:trunk[5012]
2017-10-12 11:58:48 +00:00
Eric Espié
e179825896
N°1110 - DataSynchro: PHP Notice Undefined Index
...
* Fix access to REQUEST_URI when called by script
SVN:trunk[5007]
2017-10-12 07:52:39 +00:00
Eric Espié
94a561f0e4
N°454 - Check data validity during CSV import
...
* Cleanup expression construction
SVN:trunk[5006]
2017-10-12 07:43:36 +00:00
Eric Espié
56e14fc107
N°454 - Check data validity during CSV import
...
* "simulate" phase is more permissive on new hierarchical entries
* Better check during "apply" phase
SVN:trunk[5005]
2017-10-11 15:31:57 +00:00
Pierre Goiffon
29f0b74824
N.1108 Add PHPDoc
...
SVN:trunk[5004]
2017-10-11 13:20:42 +00:00
Pierre Goiffon
de682d5530
MetaModel code format
...
SVN:trunk[5003]
2017-10-11 13:20:24 +00:00
Eric Espié
5408545c07
N°454 - Check data validity during CSV import
...
* "simulate" phase is more permissive on new hierarchical entries
* Better check during "apply" phase
SVN:trunk[5000]
2017-10-11 09:28:23 +00:00
Eric Espié
d504fb209f
N°454 - Check data validity during CSV import
...
* Added additional checks for external keys (including hierarchical ones)
SVN:trunk[4999]
2017-10-10 10:00:05 +00:00
Eric Espié
bcf88d24f3
N°870: Bulk operation and obsolescence flag
...
* Avoid the hidden selection (and update) of obsolete data when the user does not want to see the obsolete data.
SVN:trunk[4997]
2017-10-09 11:58:10 +00:00
Romain Quetiez
635e7cfeec
Fixed integration issue (possibly a regression): if an extension implements iApplicationExtension::OnDBInsert, and it calls DBWrite, then a fatal error occurs (call a member function on a null value). The error occurs for several types of attributes such as ormCustomField, ormCaseLog, ormLinkSet. The fix consists in aligning the internal values of a DBObject as soon as it has been written into the Database.
...
SVN:trunk[4993]
2017-10-06 14:06:01 +00:00
Eric Espié
49b6c3bed7
N.1065 Fix performance issues.
...
Add statistics on query table join optimization.
SVN:trunk[4992]
2017-10-06 13:53:06 +00:00
Pierre Goiffon
df26833eb1
N.1065 When joining, reverse leaf-root order : now it's root first !
...
* decrease the amount of joins on obsolescence use cases
* should also improve other uses cases as most of the time we believe the attribute linked is in the root class !
* the root table join is done using expressions instead of OQL for perf reasons
* a where clause on finalclass is also added to avoid problems if the leaf table join is not used (would be removed during query optimization phase)
SVN:trunk[4983]
2017-10-05 15:53:44 +00:00
Guillaume Lajarige
df1ebaebf9
N°1104 DBObject::__toString() was way too verbose and returned all objects from linksets as string as well, causing memory limits.
...
SVN:trunk[4971]
2017-10-05 15:38:27 +00:00
Eric Espié
26bd04857d
N°1098 Fix CSV import by id.
...
Fix a regression introduced in rev 4885.
SVN:trunk[4969]
2017-10-05 13:30:43 +00:00
Eric Espié
4c4ed14af5
N°1100 - External field pointing to a magic attribute
...
* A specific pass has been added in MetaModel::InitClasses() to generate the magic attributes before the external fields.
SVN:trunk[4968]
2017-10-05 10:13:14 +00:00
Eric Espié
bfde101f6b
N.1065 Fix performance issues (unexpected objects reload).
...
* Fix regression in 2.4 into attribute optimization (archive_flag, obsolescence_flag).
* Fix attribute optimization (friendlyname for ExternalField pointing to ExternalKey)
SVN:trunk[4965]
2017-10-05 09:10:00 +00:00
Guillaume Lajarige
74111212a3
N°1065 Fixed a regression introduced in r4965.
...
SVN:trunk[4961]
2017-10-03 14:02:45 +00:00
Eric Espié
f86c1a87f9
N.1065 Fix performance issues.
...
Limit APC emulation cache entries to avoid disk saturation.
New configuration entry added: 'apc_cache_emulation.max_entries'.
SVN:trunk[4960]
2017-10-03 13:53:53 +00:00
Romain Quetiez
1f2493914f
N.1065 and #372 Query build cache not efficient with global search (each search generates about 80 new entries in the APCu cache)
...
SVN:trunk[4959]
2017-10-03 11:35:21 +00:00
Guillaume Lajarige
e3efa7dc3d
N°1065 Fixed a regression introduced in r4965.
...
SVN:trunk[4958]
2017-10-03 11:22:01 +00:00
Eric Espié
bdaabcea93
N.1065 Fix performance issues.
...
ormLinkSet creates the objects on demand.
SVN:trunk[4956]
2017-10-03 09:22:33 +00:00
Guillaume Lajarige
e6b6be2624
N°1034 New EventOnObject class to store explaination on object's updates
...
SVN:trunk[4955]
2017-10-03 08:19:05 +00:00
Eric Espié
b1f1c10878
APC emulation using files when APC or APCu is not installed.
...
SVN:trunk[4954]
2017-10-02 07:30:41 +00:00
Denis Flaven
d5b0bb021f
N°1806, N°1069: CSV and Excel export and import of documents (files) and images as URLs.
...
SVN:trunk[4952]
2017-09-30 09:23:06 +00:00
Guillaume Lajarige
6aa782bd8b
N°1082 Fixed a regression introduced with ormLinkSet rework: Modified links not updated.
...
SVN:trunk[4950]
2017-09-28 15:31:57 +00:00
Guillaume Lajarige
029545703f
N°1067 Rework on ormLinkSet BC with DBObjectSet.
...
- PHP notice are not thrown anymore, see PHPDoc instead.
- GetColumnAsArray() introduced.
SVN:trunk[4949]
2017-09-28 11:33:19 +00:00
Guillaume Lajarige
8183674fc6
Internal: Typo in PHPDoc
...
SVN:trunk[4948]
2017-09-27 12:51:36 +00:00
Romain Quetiez
7391f64776
N.1072 Localization for magic attributes archive_date (completed the existing implementation) and obsolescence_date (full implementation)
...
SVN:trunk[4946]
2017-09-27 12:26:44 +00:00
Pierre Goiffon
776385cdc9
Fix regression introduced in trunk[4943]
...
SVN:trunk[4945]
2017-09-27 10:00:48 +00:00
Eric Espié
17bafc037c
Code cleanup.
...
SVN:trunk[4944]
2017-09-27 09:44:19 +00:00
Eric Espié
e785352050
N.1065 Fix performance issues (caches added on query build)
...
SVN:trunk[4943]
2017-09-27 09:37:43 +00:00
Guillaume Lajarige
ec2a2d3505
Internal: Changed way AttributeLinkedSet check if two ormLinkSet are equal.
...
SVN:trunk[4939]
2017-09-26 08:05:04 +00:00
Romain Quetiez
3e61fd2452
N.707 Export of custom fields: improved the xlsx format and implemented the spreadsheet format (both are aligned)
...
SVN:trunk[4935]
2017-09-22 13:37:44 +00:00
Romain Quetiez
40360da454
N.1052 After a setup or MTP, the datamodel is not taken into account... until the web server gets restarted or the APC cache (user data) gets reset.
...
SVN:trunk[4922]
2017-09-20 14:41:45 +00:00
Guillaume Lajarige
4290d94841
N°1047.1 Internal: Modified some calls to the ITOP_XXX constants.
...
SVN:trunk[4915]
2017-09-15 15:46:03 +00:00
Guillaume Lajarige
8ff2151448
N°1006.2 Templates: $this->raw(attcode)$ can be used to display an date(time) attribute in the SQL format like before.
...
SVN:trunk[4914]
2017-09-15 14:26:15 +00:00