Quentin Bonaventure
a3e048dcd3
Fix of the fix of base_class
8年前
Quentin Bonaventure
a3eb448093
Fix on base_classes
8年前
Quentin Bonaventure
819e9f62cf
Added check against primary_key and uniq
As a primary_key field has to be unique, added a check at DataHandler
instanciation to make sure a field set as a pk is not set as non-unique
8年前
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
8年前
prieto
4fb0c89ddb
Utilisation is_exist
8年前
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
8年前
prieto
e9a0b7a924
Small correction
8年前
prieto
084b2dd5f0
Corrects an error
8年前
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
8年前
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
8年前
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
8年前
Yann Weber
67bfa2152f
Implements new methods for reference datahandlers
get_referenced method were implemented for SingleReference and MultipleReference class
They are able to return LeObject instances refereced by them
8年前
Yann Weber
705c8f511c
Bugfix in lodel.leapi.query
Hook names were wrong
8年前
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
8年前
Yann Weber
62f92ff641
Bugfix in datahandlers/base_classes.py
Deleted old methods that are unused (one of them was triggerring an error will doing nothing)
8年前
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
8年前
Yann Weber
a21e0be25f
Fixing multisite loading process & dyncode bootstrapping
- a "normal" import was left in lefactory_common
- the hook triggering datasources init in dyncode was not called
- dyncode was not exposed in the loader (making hook call useless : the hook has to be called once the dyncode has been "seen" (imported) by python)
8年前
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
8年前
prieto
2d8a9811e6
Some adjustments and corresions
8年前
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
8年前
Yann Weber
2010fb29e8
empty method implementation for Reference objects
8年前
Yann Weber
949320298d
Another bugfix on get_from_uid LeObject method
When not found return None and do not try to run len() on None
8年前
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
8年前
Yann Weber
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
8年前
prieto
e4214a1705
Bugfixes
8年前
prieto
43bf90d1ca
Bugfixes
8年前
prieto
d7b2feb35a
Bugfixe
8年前
prieto
f9000bbc83
Bugfixes
8年前
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8年前
Yann Weber
a51e0a37cf
fix a comment
8年前
m.orban
556bea1f73
Added comment to bases_classes
8年前
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
8年前
m.orban
c270977e4e
Added test for multiple references
8年前
prieto
2f68c55f65
Bugfixes due to datahandler changes
8年前
m.orban
6edda9f5ba
Started to implement test for reference datahandler
8年前
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
8年前
m.orban
a6cc69294a
Modified test for datetime datahandler
8年前
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
8年前
Yann Weber
e602e009ad
Bugfixes in backref handling in mongodb datasrouce refs #131
Now backref seems to work at creation of a Person linked with a text the Person UID is appended to Text.linked_persons
8年前
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
8年前
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
8年前
Yann Weber
61e892fe61
Implements an empty() classmethod for multiref datahandlers
Return the value of this datahandler when empty
8年前
Yann Weber
0b443a6d93
Various bugfixes in DataHandlers
refs #131
8年前
Yann Weber
60acfd80f1
Dedeuplication bufix in prepare_filter
The dedup mechanism was using a cast of list to set. But sometimes, filters contains list, and list are not hashable...
8年前
Yann Weber
ae9829d31d
Bugfix in Reference abstract DataHandler class
refs #131
8年前
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
8年前
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
8年前
m.orban
120a8028d8
Added list error when check MultipleRef value
8年前
m.orban
1f4a822945
Added comment in datahandler class and derived class
8年前
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
8年前