Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[09:01:31 CDT(-0500)] <EricDalquist> so much has changed with data model I'm trying to figure out how to deal with some of the data upgrade stuff
[09:01:47 CDT(-0500)] <EricDalquist> like it is even reasonable to try and import .channel-type files from pre 4.0?
[09:02:03 CDT(-0500)] <EricDalquist> since really the only ones that will be valid are the few for portlets
[09:02:08 CDT(-0500)] <EricDalquist> and the .cpd syntax has changed
[09:19:07 CDT(-0500)] <EricDalquist> any thoughts on it athena?
[09:21:36 CDT(-0500)] <athena> hey EricDalquist
[09:21:54 CDT(-0500)] <EricDalquist> I'm going through the last bits of the data import/upgrade scripts
[09:21:56 CDT(-0500)] <athena> well, we do have to have some way to import .channel-type files
[09:22:05 CDT(-0500)] <athena> hmm.
[09:22:09 CDT(-0500)] <athena> i think i see your point
[09:22:16 CDT(-0500)] <EricDalquist> so we have support for all of the .portlet-type.xml files
[09:22:21 CDT(-0500)] <athena> in some ways what people really need probably is to drop what they have and replace it with the new set
[09:22:30 CDT(-0500)] <athena> few people have customized channel types, i'd guess
[09:22:31 CDT(-0500)] <EricDalquist> but I'm wondering how many people have a custom .channel-type file that is actually for a portlet?
[09:22:33 CDT(-0500)] <athena> yeah
[09:22:42 CDT(-0500)] <athena> and not that hard to create a few files
[09:22:42 CDT(-0500)] <EricDalquist> and even if they do their old CPD file won't work
[09:22:44 CDT(-0500)] <athena> yeah
[09:22:50 CDT(-0500)] <athena> that seems like a fair observation
[09:22:55 CDT(-0500)] <EricDalquist> so I'm thinking for .channel-type files we just don't import them
[09:22:57 CDT(-0500)] <athena> just something we need to document?
[09:23:00 CDT(-0500)] <EricDalquist> yeah
[09:23:06 CDT(-0500)] <EricDalquist> document how to manually convert them
[09:23:08 CDT(-0500)] <athena> i think that's reasonable
[09:23:08 CDT(-0500)] <athena> yes
[09:23:10 CDT(-0500)] <EricDalquist> ok
[09:23:34 CDT(-0500)] <EricDalquist> I'm also going to try and figure out a decent way to spit out an error message about importing .channel files for things that aren't portlets
[09:34:17 CDT(-0500)] <athena> oh, that sounds nice too (smile)
[09:34:25 CDT(-0500)] <EricDalquist> yeah
[09:34:33 CDT(-0500)] <EricDalquist> also ... I'm loving having XSDs for the data files
[09:34:40 CDT(-0500)] <EricDalquist> JAXB is doing XSD validation
[09:34:42 CDT(-0500)] <athena> totally awesome (smile)
[09:34:45 CDT(-0500)] <EricDalquist> so if you're data file doesn't validate
[09:34:54 CDT(-0500)] <EricDalquist> it fails to even parse the XML
[09:35:51 CDT(-0500)] <athena> yeah
[09:35:57 CDT(-0500)] <athena> i've definitely noticed and benefited from that
[09:35:59 CDT(-0500)] <athena> pretty cool (smile)
[09:36:25 CDT(-0500)] <athena> though i noticed if you have a file in a portlet it doesn't really know where the xsd is
[09:36:34 CDT(-0500)] <athena> unless you manually give it a path specific to you
[09:36:47 CDT(-0500)] <EricDalquist> oh
[09:36:48 CDT(-0500)] <EricDalquist> right
[09:37:13 CDT(-0500)] <athena> not sure what the best way to handle that is, though it's really just a small issue
[09:37:55 CDT(-0500)] <EricDalquist> that will get fixed with the GA release
[09:38:24 CDT(-0500)] <athena> cool (smile)
[09:40:10 CDT(-0500)] <EricDalquist> I'm going to copy the all the schemas to https://source.jasig.org/schemas/
[09:40:16 CDT(-0500)] <athena> hurray (smile)
[09:40:16 CDT(-0500)] <EricDalquist> before the GA
[09:40:20 CDT(-0500)] <athena> sounds terrific
[09:40:24 CDT(-0500)] <EricDalquist> and update the xml files with real XSD URLs
[09:40:27 CDT(-0500)] <athena> i need to cut a release of that portlet archetype today
[09:40:56 CDT(-0500)] <athena> document how to use it
[09:41:06 CDT(-0500)] <EricDalquist> figure it will be something like https://source.jasig.org/schemas/uPortal/4.0/io/portlet-type/portlet-type-4.0.xsd