-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.txt
149 lines (95 loc) · 3.72 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
BIG ISSUE:
===============
Test case for order:
basic Collection
Embedded collection
Many TO Many Relelationhsip:
with Mapped By
without Mapped by
----------------module-------------
adjust the module (module name, schema, etc)n export module
--------------TODO-------------
GRANT permission test
refresh related instance when save/update/delete instance
separate system type from user type
============================module: common=========================
test case for guess property primitive type
TODO
Test birectional relationship marshal
check delete property before dleete
drop column when delete property
drop table when delete type
property ordering
checkCustomObject type
check unique property's value
===========================module: report=============================
Known issues:
excel format
csv format
entity filter does not work for embedded property
Nested property filter is only tested for one level.
relation ui: match property to query parameter for relation, consider type interitance
TODO
Relation editor depends on Embedded property value
//strange FetchGroup behavior
https://www.eclipse.org/forums/index.php/m/1347515/#msg_1347515
I found two ways to make this works
First, if I
[code]
readAllQuery.setCascadePolicy(ObjectLevelReadQuery.CascadeAllParts);
[/code]
The fetch group is applied to related attributes recursively. I found that the cache setting in ReadAllQuery did not apply to related ObjectReadyQuery when it is time to retrieve related entity. Related entities are still read from cache. If cascade is set as above, the cache is ignored.
Another approach: I set all related attributes as join attributes. The fetchGroup is applied recursively as expected.
Can someone give me insight how it behaves like this?
thanks
-jason
//fetch group does not work for embedded relation
My Code is like this
[code]
FetchGroup fetchGroup=new FetchGroup();
fetchGroup.addAttrbiute("singleembed.streetAddress");
fetchGroup.addAttribute( "multiembed.streetAddress");
readAllQuery.setFetchGroup(fetchGroup);
[/code]
I found attribute of embedded instance is pre-loaded or load-lazily.
I am using eclipselink 2.5.1
Anything I did wrong?
thanks
-jason
=================================module:security=========================
default permission for user, role
IT test case to demonstrate all permission scenario
query permission
AuthorizationException handling when save inst
TODO:
test javascript
Make sure end user has the permission to view and modify ACL
check permission for all action of one instance or type
judge whether user has admin role or not
========================module:urlctrl=======================
========================module: module=======================
When export a module,
The ID for inverse relationship is not changed. But these IDs are never used for import for database record insertion so
it is not a problem.
======================FUTURE FEATURE
http://schemacrawler.sourceforge.net/resources.html
Invesitgate How RememberMe works.
Administrator-monitored user verification
//--------------- ERROR case
error cases:
first page
log error
register error
error case:
genenal http error such as AuthorizationError : #/viewinst/FxConfig/120
view inst: inst does not exist #/viewinst/Basictype/20
server error(404): #/viewinst/Basictype/bad
Test Unique type to test unique:
File download error
Type edit:
checkName Error
//---------------------------------cache management:
Some objects are using AppCache Which is a local cache cahcing object by reference. Later we may need to implement clusterd cache for cluster environment.
1. cluster cache.
2. can receieve cache event and update local structure such as Configs
3. serialize FlexdmsDynamicEntity