You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Le Strat (JIRA)" <je...@portals.apache.org> on 2005/11/26 21:46:55 UTC

[jira] Created: (JS2-431) Remove PropertyManager for Preferences

Remove PropertyManager for Preferences
--------------------------------------

         Key: JS2-431
         URL: http://issues.apache.org/jira/browse/JS2-431
     Project: Jetspeed 2
        Type: Improvement
  Components: Portlet Entities and Preferences  
    Versions: 2.0-FINAL    
    Reporter: David Le Strat
 Assigned to: David Le Strat 
     Fix For: 2.0-FINAL


Remove the PropertyManager and PropertyKey from the Preferences implementation.  This simplifies the implementation a bit.  The PropertyManager was not used and was left as a configurable value of the PreferencesProvider.  As a result of this change, the configurable flag has been removed.

The database schema has also be changed to reflect the removal of PropertyManager:

* The PREFS_NODE_PROPERTY_KEY table has been removed.
* The PREFS_PROPERTY_KEY table has been removed.
* The PREFS_PROPERTY_VALUE table has been changed.  The following columns have been removed:
       - PROPERTY_KEY_ID INTEGER,
       - BOOLEAN_VALUE INTEGER,
       - DATETIME_VALUE TIMESTAMP,
       - LONG_VALUE INTEGER,
       - DOUBLE_VALUE DOUBLE,
       - TEXT_VALUE VARCHAR(254)
The following columns have been added:
       - PROPERTY_NAME VARCHAR(100),
       - PROPERTY_VALUE VARCHAR(254)

The foreign key FOREIGN KEY (NODE_ID) REFERENCES PREFS_NODE (NODE_ID) on PREFS_PROPERTY_VALUE  has not been added.  It still causes foreign key violations with OJB 1.0.3 for cascade deletes.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-431) Remove PropertyManager for Preferences

Posted by "David Le Strat (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-431?page=all ]
     
David Le Strat closed JS2-431:
------------------------------

    Resolution: Fixed

Changes have been implemented and committed.

> Remove PropertyManager for Preferences
> --------------------------------------
>
>          Key: JS2-431
>          URL: http://issues.apache.org/jira/browse/JS2-431
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-FINAL
>     Reporter: David Le Strat
>     Assignee: David Le Strat
>      Fix For: 2.0-FINAL

>
> Remove the PropertyManager and PropertyKey from the Preferences implementation.  This simplifies the implementation a bit.  The PropertyManager was not used and was left as a configurable value of the PreferencesProvider.  As a result of this change, the configurable flag has been removed.
> The database schema has also be changed to reflect the removal of PropertyManager:
> * The PREFS_NODE_PROPERTY_KEY table has been removed.
> * The PREFS_PROPERTY_KEY table has been removed.
> * The PREFS_PROPERTY_VALUE table has been changed.  The following columns have been removed:
>        - PROPERTY_KEY_ID INTEGER,
>        - BOOLEAN_VALUE INTEGER,
>        - DATETIME_VALUE TIMESTAMP,
>        - LONG_VALUE INTEGER,
>        - DOUBLE_VALUE DOUBLE,
>        - TEXT_VALUE VARCHAR(254)
> The following columns have been added:
>        - PROPERTY_NAME VARCHAR(100),
>        - PROPERTY_VALUE VARCHAR(254)
> The foreign key FOREIGN KEY (NODE_ID) REFERENCES PREFS_NODE (NODE_ID) on PREFS_PROPERTY_VALUE  has not been added.  It still causes foreign key violations with OJB 1.0.3 for cascade deletes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org